0.1.0 • Published 5 months ago

light-retry v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

How to use

import { retry, exponentialBackoff } from 'light-retry'

function main() {
  const result = await retry(() => fetch('/todos'), {
    retries: 3,
    retryStrategy: exponentialBackoff
  })
}
0.1.0

5 months ago

0.0.3

5 months ago