@cbnsndwch/zero-sources

PipelineStage type

Home > @cbnsndwch/zero-contracts > PipelineStage

PipelineStage type

Supported pipeline stages (extensible via union type).

New stage types can be added to this union without breaking existing code, following the Open-Closed Principle.

Signature:

type PipelineStage<T = Dict> =
    | MatchStage<T>
    | UnwindStage
    | SetStage
    | ProjectStage<T>;

References: Dict, MatchStage, UnwindStage, SetStage, ProjectStage

How was this page?

On this page