shystruk

shystruk/setintervaljs

⏰ start and clear interval without setting a variable, clear interval anywhere you want

JavaScript
33
5
MIT License

SetIntervalJS is a lightweight JavaScript utility that simplifies interval management by using string keys instead of variables to reference and clear intervals. It allows developers to start intervals with `SetInterval.start()` and clear them from anywhere in the code via `SetInterval.clear(key)`, eliminating the need to track interval IDs across modules. This is particularly useful for organizing code in larger applications where intervals are initiated and terminated in separate files.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of shystruk/setintervaljs

Account's avatar
Node.js test runner that lets you develop with confidence.
Account's avatar
lcov posting to codecov.io
Account's avatar
the Istanbul command line interface

Support the repos that depend on shystruk/setintervaljs

Top contributors

No contributors yet

Recent events

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

No events yet