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