A retryable task defines its backoff period (the period between delays) and its timeout (the total period of the task)
A collection of known aliases.
Execute the business logic of the task, using the provided stage execution state.
TODO(rz): Use Duration.
Behavior to be called on Task cancellation.
This method should be used if you need to perform cleanup in response to the task being cancelled before it was able to complete.
Behavior to be called on Task timeout.
This method should be used if you need to perform any cleanup operations in response to the task being aborted after taking too long to complete.