SequenceContext
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 SequenceContext provides more data toSequence
s and allows a sequence to be stopped from inside a task. Constructors
Members
Getter
Gets the data provided to the sequence.
Note, this can never return null, if the data is null then it will throw an error.
Return Type:
U
data() as U
Gets the data provided to the sequence.
Note, this can never return null, if the data is null then it will throw an error.
Returns: The data provided to the sequence or an error if null was provided.
Return Type:
U
stop()
Stop the sequence.