— data type of the current chain link
— type of the initial transfer (must be InputTransfer)
Completes the pipeline construction and creates a composite transfer.
Mechanics:
Options:
— trigger type (TriggerableInterface | undefined)
— gate type (GateInterface | undefined)
— final input transfer
Optionaloptions: { gate?: TGate; owned?: boolean; triggerable?: TTriggerable }
— completion options (triggerable, gate, owned)
InputCompositeTransfer with computed types
Adds an intermediate duplex transfer to the pipeline chain.
Mechanics:
— data type of the next transfer
— duplex transfer to add to the chain
Optionalowned: boolean
— if true, nextTransfer will be destroyed on composite destroy()
A new builder with the updated TNext type
StaticstartStatic method to create a builder with an initial duplex transfer.
— data type of the initial transfer
— type of the initial transfer (must be DuplexTransfer)
— initial duplex transfer
A new InputPipelineBuilder instance
Deprecated
Use
CompositeTransferBuilderinstead. Will be removed in the next major release.Builder for constructing input pipelines (InputPipeline).
Purpose: Creates a composite transfer with an input interface (InputCompositeTransfer), which accepts data from outside and passes it through a chain of intermediate duplex transfers to the final input transfer.
Pipeline structure: TStartTransfer [-> DuplexTransfer -> ... ->] -> InputTransfer │ │ │ └─ start() └─ to() └─ finish()
Where:
Mechanics:
finish() options:
The owned parameter in to():
Data types:
Use cases:
Example