Optional
backoffPolicy?: BackoffPolicyOptional
maxAttempts?: numberYou can decide maximal times you can retry.
Optional
onExecutionAttempt?: OnExecutionAttempt<TParameters, TContext>Callback function that will be called before execution attempt.
Optional
onRetryEnd?: OnRetry<TParameters, TContext>Callback function that will be called when the retry delay ends and before the next execution attempt.
Optional
onRetryStart?: OnRetry<TParameters, TContext>Callback function that will be called when the retry delay starts.
Optional
retryPolicy?: RetryPolicyYou can choose what errors you want to retry. By default all erros will be retried.
IMPORT_PATH:
"@daiso-tech/core/async"