Click or drag to resize

ICancelableAsyncInitTArgInitAsync Method

Asynchronously initializes an instance.

Namespace:  Ditto.AsyncInit
Assembly:  Ditto.AsyncInit (in Ditto.AsyncInit.dll) Version: 1.5.0.2281
Syntax
Task InitAsync(
	TArg arg,
	CancellationToken cancellationToken
)

Parameters

arg
Type: TArg
The initialization argument.
cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: Task
A Task capturing the initialization.
See Also