Click or drag to resize

IDataEnricherApiQueueAll Method

Enrich the whole data collection. The workflow will be blocked until all the data enriching jobs are queued.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
void QueueAll(
	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.QueueAll("Employee", TimeSpan.FromSeconds(30));
See Also