Click or drag to resize

OrchestratorConfigOutputConsumer Property

An action (void function) that consumes a tuple containing a ExternalLine object (a single output line received from Data Conveyer) and the target number (1-based). (Action<Tuple<string, int>>). Reference to global cache (IGlobalCache is passed as the second parameter. Data Conveyer calls this action (when AsyncOutput is false) in succession passing (tuples with) the output lines one at a time. The last tuple sent by Data Conveyer is always null (end of data mark). If not defined, Data Conveyer assumes default OutputConsumer action that ignores data passed to it, i.e.:
(tpl, gc) => { }
Any exception thrown by this action will cause the process shutdown with a CompletionStatus of Failed.

Namespace:  Mavidian.DataConveyer.Orchestrators
Assembly:  DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax
public Action<Tuple<ExternalLine, int>, IGlobalCache> OutputConsumer { get; set; }

Property Value

Type: ActionTupleExternalLine, Int32, IGlobalCache
Remarks
See Also