The type of the task result
The async task to execute
Retry configuration (maxAttempts, delay, backOff, retryIf)
Optionaloptions: CancellableOptions<T>Additional cancellable configuration options
A cancellable handle that resolves to the task result
Wraps an async task with retry logic. The task will be retried according to the specified retry options if it fails.