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

8 lines (7 loc) 549 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.retryAsyncUntilResponseDecorator = exports.retryAsyncUntilResponse = void 0; var retry_1 = require("./retry"); Object.defineProperty(exports, "retryAsyncUntilResponse", { enumerable: true, get: function () { return retry_1.retryAsyncUntilResponse; } }); var decorators_1 = require("./decorators"); Object.defineProperty(exports, "retryAsyncUntilResponseDecorator", { enumerable: true, get: function () { return decorators_1.retryAsyncUntilResponseDecorator; } });