Click or drag to resize

AsyncInitializerTFrom, TToAsTask Method (CancellationToken)

Gets a cancelable task capturing the initialization.

Namespace:  Ditto.AsyncInit.Services
Assembly:  Ditto.AsyncInit.Services (in Ditto.AsyncInit.Services.dll) Version: 1.5.0.2468
Syntax
public virtual Task<TFrom> AsTask(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: TaskTFrom
Cancelable task capturing the initialization.

Implements

IAsyncInitializerTAsTask(CancellationToken)
See Also