IAdapterWrapperPipelineBuilder

StockSharp.Algo.Basket

Interface for building adapter wrapper pipeline.

Methods

BuildAsync
public ValueTask<IMessageAdapter> BuildAsync(IMessageAdapter adapter, AdapterWrapperConfiguration config, CancellationToken cancellationToken)
result = iAdapterWrapperPipelineBuilder.BuildAsync(adapter, config, cancellationToken)

Creates wrapper pipeline around the specified adapter.

adapter
The inner adapter to wrap.
config
Configuration for building the pipeline.
cancellationToken
CancellationToken

Returns: The outermost adapter in the pipeline (may be the original adapter if no wrappers applied).