Stage
module StageStages defined from what they consume.
Functions and values
consumes<'D> (dependencies: DependencySpec<'D>) (execute: 'D -> Operation<unit>) (stage: StageContext) : StageContext
consumes<'D> (dependencies: DependencySpec<'D>) (execute: 'D -> Operation<unit>) (stage: StageContext) : StageContextThe stage with dependencies added to what it requires, and execute added as one more step over the values its scope has published.
The step runs the operation over the values the invocation has published, or fails naming the first unavailable prerequisite.
Every setting already on the stage is kept, so a consumer written through the consumes operation of a stage builder carries that builder's retry and conditions.
| Parameter | |
|---|---|
dependencies | |
execute | |
stage |
consuming<'D> (name: string) (dependencies: DependencySpec<'D>) (execute: 'D -> Operation<unit>) : StageContext
consuming<'D> (name: string) (dependencies: DependencySpec<'D>) (execute: 'D -> Operation<unit>) : StageContextA stage whose work consumes producer results and returns unit.
consumingWith<'I, 'D> (name: string) (inputs: InputSpec<'I>) (dependencies: DependencySpec<'D>) (execute: 'I -> 'D -> Operation<unit>) : InputSpec<StageContext>
consumingWith<'I, 'D> (name: string) (inputs: InputSpec<'I>) (dependencies: DependencySpec<'D>) (execute: 'I -> 'D -> Operation<unit>) : InputSpec<StageContext>A stage that consumes CLI inputs of its own alongside producer results.