CommandExecutionToken<(Of <(<'TCommand, TParameter>)>)>..::..ExecuteAsync Method
Executes the specified implementation asynchronously.
Namespace:
Tortuga.Chain.CoreAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public Task<Nullable<int>> ExecuteAsync( CommandImplementationAsync<TCommand> implementation, CancellationToken cancellationToken, Nullable<Object> state )
Public Function ExecuteAsync ( _ implementation As CommandImplementationAsync(Of TCommand), _ cancellationToken As CancellationToken, _ state As Nullable(Of Object) _ ) As Task(Of Nullable(Of Integer))
public: Task<Nullable<int^>>^ ExecuteAsync( CommandImplementationAsync<TCommand>^ implementation, CancellationToken^ cancellationToken, Nullable<Object^> state )
Parameters
- implementation
- Type: Tortuga.Chain.Core..::..CommandImplementationAsync<(Of <(<'TCommand>)>)>
The implementation.
- cancellationToken
- Type: CancellationToken
The cancellation token.