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

10 lines (9 loc) 877 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.retryUntilTruthyDecorator = exports.retryAsyncUntilTruthyDecorator = exports.retryUntilTruthy = exports.retryAsyncUntilTruthy = void 0; var retry_1 = require("./retry"); Object.defineProperty(exports, "retryAsyncUntilTruthy", { enumerable: true, get: function () { return retry_1.retryAsyncUntilTruthy; } }); Object.defineProperty(exports, "retryUntilTruthy", { enumerable: true, get: function () { return retry_1.retryUntilTruthy; } }); var decorator_1 = require("./decorator"); Object.defineProperty(exports, "retryAsyncUntilTruthyDecorator", { enumerable: true, get: function () { return decorator_1.retryAsyncUntilTruthyDecorator; } }); Object.defineProperty(exports, "retryUntilTruthyDecorator", { enumerable: true, get: function () { return decorator_1.retryUntilTruthyDecorator; } });