function
TaskRetries
func TaskRetries(
maxAttempts int,
delay,
maxDelay time.Duration,
backoff TaskBackoff,
) TaskOptionPersist retry count, delay, maximum delay, and backoff policy.
Persisted policy prevents deployments from silently changing already-admitted work.
Related types
TaskBackoffFixed, linear, or exponential durable retry schedule.
TaskOptionOne typed task policy option.