Method ListenAndLogAsync
ListenAndLogAsync(Command, CancellationToken)
Declaration
public static IAsyncEnumerable<CommandEvent> ListenAndLogAsync(this Command command, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Command | command | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
IAsyncEnumerable<CommandEvent> |