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
public Task ExecuteAsync(CancellationToken parentToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | parentToken | The cancellation token of the parent. |
Returns
Type | Description |
---|---|
Task |