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.1.0
Syntax
C#
void QueueAllAsync(
	string dataClassName,
	TimeSpan? timeout = null,
	int batchSize = 100
)

Parameters

dataClassName
Type: SystemString
The data class name.
timeout (Optional)
Type: SystemNullableTimeSpan
The timeout.
batchSize (Optional)
Type: SystemInt32
The batch size.
Examples
var dataApi = ctx.Use<IDataEnricherApi>();
dataApi.QueueAllAsync("Employee", TimeSpan.FromSeconds(30));
See Also