SleepUntilTask
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 sleep until its condition is met.Implements
SleepUntilTask<T, U>
implements the following interfaces:
ISequenceTask<T, U>
Constructors
new<T, U>(condition as function(t as T) as bool)
Parameters:
condition: function(t as T) as bool
Type: function(t as T) as bool
new<T, U>(condition as BiPredicate<T, SequenceContext<T, U>>)
Parameters:
condition: BiPredicate<T, SequenceContext<T, U>>
Type: BiPredicate<T, SequenceContext<T, U>>