Method ExecuteAsync
ExecuteAsync(CancellationToken)
Executes the action with support for parent cancellation. The action can be cancelled (if supported) by calling the Cancel method either on the action itself or on the parent.
Declaration
Task ExecuteAsync(CancellationToken parentToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | parentToken | The cancellation token of the parent. |
Returns
Type | Description |
---|---|
Task |