Show / Hide Table of Contents

Interface IFrameworkCommandExecuter

Implementations of this interface execute commands immediately using the registered set of actors

Namespace: AzureFromTheTrenches.Commanding.Abstractions
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public interface IFrameworkCommandExecuter

Methods

| Improve this Doc View Source

ExecuteAsync<TResult>(ICommand<TResult>, CancellationToken)

Executes the given command

Declaration
Task<TResult> ExecuteAsync<TResult>(ICommand<TResult> command, CancellationToken cancellationToken = null)
Parameters
Type Name Description
ICommand<TResult> command

The command to execute

CancellationToken cancellationToken

Optional cancellation token

Returns
Type Description
Task<TResult>

Awaitable task

Type Parameters
Name Description
TResult

The type of the result

  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall