Skip to content

Repository files navigation

How to use

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

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

About

A lightweight retry function helper for TypeScript.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages