Table of Contents

Interface IFlowSource<TOutput>

Namespace
Pipelinez.Core.Flow
Assembly
Pipelinez.dll

Defines a source that can connect its output to a downstream flow destination.

public interface IFlowSource<TOutput>

Type Parameters

TOutput

The 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

target IFlowDestination<TOutput>

The destination that should receive published output.

options DataflowLinkOptions

Optional Dataflow link options applied to the connection.

Returns

IDisposable

A disposable link handle that can be used to disconnect the source from the destination.