adrai

adrai/tolerance

This module wraps a function with retry functionality by passing a timeout. So the function will be more tolerant.

JavaScript
5
0
MIT License

Tolerance is a Node.js module that wraps a function with retry functionality by passing a timeout, making the function more tolerant to failures. It's particularly useful for scenarios like connecting to a database that may not be immediately available, as it retries the operation until the timeout is reached. This module is designed for developers working with Node.js who need to handle asynchronous operations that may fail initially but could succeed after a short delay.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of adrai/tolerance

Account's avatar
Abstraction for exponential and custom retry strategies for failed operations.
Account's avatar
simple, flexible, fun test framework
Account's avatar
BDD style assertions for node and the browser.

Support the repos that depend on this repository

Top contributors

adrai's profile
adrai
25 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet