InstantTask
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
A task that will run immediately.Implements
InstantTask<T, U>
implements the following interfaces:
ISequenceTask<T, U>
Constructors
new<T, U>(actorConsumer as function(t as T) as void)
Parameters:
actorConsumer: function(t as T) as void
Type: function(t as T) as void
new<T, U>(actorConsumer as BiConsumer<T, SequenceContext<T, U>>)
Parameters:
actorConsumer: BiConsumer<T, SequenceContext<T, U>>
Type: BiConsumer<T, SequenceContext<T, U>>