Click or drag to resize

IDataEnricherApiQueueAllAsync Method

Enrich the whole data collection asynchronously. The workflow will be continue and finish without waiting all the jobs are queued.

Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntax
C#
void QueueAllAsync(
	string dataClassName,
	TimeSpan? timeout = null,
	int batchSize = 100
)

Parameters

dataClassName  String
The data class name.
timeout  NullableTimeSpan  (Optional)
The timeout.
batchSize  Int32  (Optional)
The batch size.
Example
C#
var dataApi = ctx.Use<IDataEnricherApi>();
dataApi.QueueAllAsync("Employee", TimeSpan.FromSeconds(30));
See Also