Executes a single task in waterfall with cancellation support.
Executes a single task in waterfall with cancellation support.
Executes two tasks in waterfall, passing the output of the first as input to the second.
Executes a single task in waterfall with cancellation support.
Executes a single task in waterfall with cancellation support.
Executes a single task in waterfall with cancellation support.
Runs tasks in series, passing each result to the next task as input. Similar to series but with a clearer semantic focus on data flow through a pipeline.
Each task receives:
Param: task1
The first task to execute (receives undefined as input)
Param: args
Additional tasks and optional options
Returns
A cancellable handle that resolves to the last task's output
Example
Example