Interface IFlowSource<TOutput>
Defines a source that can connect its output to a downstream flow destination.
public interface IFlowSource<TOutput>
Type Parameters
TOutputThe type of messages produced by the source.
Methods
ConnectTo(IFlowDestination<TOutput>, DataflowLinkOptions?)
Connects the source to a downstream destination.
IDisposable ConnectTo(IFlowDestination<TOutput> target, DataflowLinkOptions? options = null)
Parameters
targetIFlowDestination<TOutput>The destination that should receive published output.
optionsDataflowLinkOptionsOptional Dataflow link options applied to the connection.
Returns
- IDisposable
A disposable link handle that can be used to disconnect the source from the destination.