import { retry, exponentialBackoff } from 'light-retry'
function main() {
const result = await retry(() => fetch('/todos'), {
retries: 3,
retryStrategy: exponentialBackoff
})
}-
Notifications
You must be signed in to change notification settings - Fork 0
vitormarkis/light-retry
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
A lightweight retry function helper for TypeScript.
Resources
Stars
Watchers
Forks
Packages 0
No packages published