Type Alias RetrySettings<TParameters, TContext, TReturn>

RetrySettings: RetryCallbacks<TParameters, TContext> & ErrorPolicySettings<
    InferResultError<TReturn>,
> & { backoffPolicy?: BackoffPolicy; maxAttempts?: number }

IMPORT_PATH: "@daiso-tech/core/async"

Type Parameters

Type declaration

  • OptionalbackoffPolicy?: BackoffPolicy
    import { exponentialBackoffPolicy } from "@daiso-tech/core/async";

    exponentialBackoffPolicy();
  • OptionalmaxAttempts?: number

    You can decide maximal times you can retry.

    {4}