Click or drag to resize

OrchestratorConfigIntakeSupplier Property

A function that supplies a tuple containing a ExternalLine object (an input line to be fed into Data Conveyer) and the source number (1-based) (Func<IGlobalCache, Tuple<string,int>>). Data Conveyer calls this function when AsyncIntake is false (providing a single parameter - IGlobalCache) in succession until null is received. When end of data is reached (i.e. all intake sources are depleted), the function must return null (end of data mark), which will initiate processing shutdown with a status of IntakeDepleted. Note the difference between null tuples (end of data marks) and tuples containing null ExternalLine objects (ignored by Data Conveyer). Any returned tuples that contain null ExternalLine objects are ignored by Data Conveyer; to send an empty line, a tuple containing an empty object (e.g. an empty string) needs to be returned. If not defined, Data Conveyer assumes default IntakeSupplier function that returns no data, but only the end of data mark, i.e.:
gc => null
This function is called on a dedicated thread to prevent possible deadlocks in situations, such as UI updates made during progress changes. Any exception thrown by this function will cause the process shutdown with a completion status of Failed.

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

Property Value

Type: FuncIGlobalCache, TupleExternalLine, Int32
Remarks
See Also