Click or drag to resize

OrchestratorConfigAsyncTextOutputConsumer Property

An asynchronous action (Task returning function) that consumes a single line of text received from Data Conveyer. (Func<string, Task>). The last line sent by Data Conveyer is always null (end of data mark). The AsyncTextOutputConsumer action is a simplified version of the AsyncOutputConsumer action where the following restrictions apply:
  • Output data kind is textual such as Delimited, Flat, etc. (and not for example XML).
  • All lines are sent to a single target (regardless of the target determined by the ClusterRouter function).
  • No access to global cache.

Namespace:  Mavidian.DataConveyer.Orchestrators
Assembly:  DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax
public Func<string, Task> AsyncTextOutputConsumer { get; set; }

Property Value

Type: FuncString, Task
Remarks
Use of this setting to designate the output consumer is discouraged. It is recommended to instead call the SetAsyncOutputConsumer(FuncString, Task) method, which is functionally equivalent. There are additional overloads of the SetAsyncOutputConsumer method that better suit many output scenarios.
See Also