@lucid-softworks/promise-retry
v0.1.0
Published
Retry a promise-producing operation.
Maintainers
Readme
@lucid-softworks/promise-retry
A promise-specific entry point for the shared retry policy: numbered attempts, fixed inter-attempt delay, and optional error filtering.
import { retryPromise } from "@lucid-softworks/promise-retry";
await retryPromise((attempt) => request({ attempt }), { attempts: 4 });