Package: effect
Module: Effect
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
}
Since v2.0.0