| 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
)
Function InitAsync (
arg As TArg,
cancellationToken As CancellationToken
) As Task
Task^ InitAsync(
TArg arg,
CancellationToken cancellationToken
)
abstract InitAsync :
arg : 'TArg *
cancellationToken : CancellationToken -> Task
Parameters
- arg
- Type: TArg
The initialization argument. - cancellationToken
- Type: System.ThreadingCancellationToken
Cancellation token.
Return Value
Type:
TaskA
Task capturing the initialization.
See Also