andyfleming

andyfleming/interval-promise

setInterval with setTimeout semantics for promises and async/await

JavaScript
105
16
MIT License

This is a Node.js library that provides an `interval()` function for running asynchronous operations at fixed time intervals, similar to `setInterval` but with promise support and proper error handling. It's designed for developers who need to repeatedly execute async tasks (like API polling or batch processing) while maintaining control over timing, iteration count, and error behavior.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of andyfleming/interval-promise

Account's avatar
Node.js test runner that lets you develop with confidence.
Account's avatar
takes json-cov output into stdin and POSTs to coveralls.io
Account's avatar
the Istanbul command line interface

Support the repos that depend on this repository

Top contributors

andyfleming's profile
andyfleming
71 contributions
duartepatriani's profile
duartepatriani
2 contributions
leoj3n's profile
leoj3n
1 contributions
mitchellbusby's profile
mitchellbusby
1 contributions
dependabot[bot]'s profile
dependabot[bot]
1 contributions
aulisius's profile
aulisius
1 contributions

Recent events

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

No events yet