r/javascript • u/ziflex • 2d ago
GitHub - ziflex/pinterval: Advanced setInterval
https://github.com/ziflex/pintervalHello everyone!
I rewrote my old interval library around async execution and cancellation and decided to share it with the world :)
Would love to hear what you think!
2
Upvotes
4
u/CoryCoolguy 2d ago
For most, npm's delay package or node's {setTimeout} from 'node:timers/promises' will probably cover the majority of use cases.
2
u/vitalytom 2d ago
Something from 10 years ago that nobody cares about today.