UNPKG

ts-retry

Version:

A little retry tool to execute a function until the function is successful. Can also bind a timeout to a function. This lib is usable in typescript, in javascript, in node, in SPA tools (rest, Vue, Svelte...) and browser (available in ESM and common js fo

6 lines (5 loc) 526 B
export { retryAsyncUntilDefined, retryAsyncUntilDefinedDecorator, retryUntilDefined, retryUntilDefinedDecorator, } from "./untilDefined"; export { retryAsyncUntilTruthy, retryAsyncUntilTruthyDecorator, retryUntilTruthy, retryUntilTruthyDecorator, } from "./untilTruthy"; export { retryAsyncUntilResponse, retryAsyncUntilResponseDecorator, } from "./untilResponse"; export { retryAsyncDecorator, retryDecorator } from './decorators'; export { createExponetialDelay, createMutiplicableDelay, createRandomDelay } from './delay';