Click or drag to resize

IGlobalCacheAwaitConditionAsync Method

Asynchronously wait for a given condition to be satisfied. The returned task will not complete until the provided function evaluates to true. When called from an asynchronous method, this method allows synchronization of DataConveyer processing without thread blocking.

Namespace:  Mavidian.DataConveyer.Orchestrators
Assembly:  DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax
Task AwaitConditionAsync(
	Func<IGlobalCache, bool> condition
)

Parameters

condition
Type: SystemFuncIGlobalCache, Boolean
A predicate expected to return true once the condition is met.

Return Value

Type: Task
A task intended to be awaited for in the client code.
See Also