effect-io-ai

Package: effect
Module: Effect

Effect.Retry.Options

Options that control whether and how a failing effect is retried.

Signature

export interface Options<E> {
    while?: ((error: E) => boolean | Effect<boolean, any, any>) | undefined
    until?: ((error: E) => boolean | Effect<boolean, any, any>) | undefined
    times?: number | undefined
    schedule?: Schedule<any, E, any, any> | undefined
  }

Source

Since v2.0.0