AggregatedPipeline <Ctx, Input, Output>
Hierarchy
- ParallelPipeline<{}, Ctx, Input, Output>
- AggregatedPipeline
Index
Events
readonlyonAfterRun
readonlyonBeforeRun
Called before the pipeline executes work units.
readonlyonRunWorkUnit
Called before a single work unit is executed.
Other
constructor
Type parameters
- Ctx: Context
- Input = unknown
- Output = Input
readonlycontext
readonlydebug
depth
index
readonlyoptions
Validated and configured options.
readonlyvalue
id
Return a unique hierarchical ID.
add
Add a work unit to the list of items to process.
blueprint
configure
Set an options object by merging the new partial and existing options with the defined blueprint, while running all validation checks. Freeze and return the options object.
object.configure({ name: 'Boost' });
object.configure((prevOptions) => ({
nestedObject: {
...prevOptions.nestedObject,
some: 'value',
},
}));
getWorkUnits
Return a list of registered work units for the current pipeline.
monitor
Monitor all hierarchical pipelines, routines, and tasks being executed, by listening to all applicable events.
run
Execute all work units in parallel with a value being passed to each work unit. Work units will synchronize regardless of race conditions and errors.
Called after the pipeline executes work units.