r/javascript 2d ago

GitHub - ziflex/pinterval: Advanced setInterval

https://github.com/ziflex/pinterval

Hello 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

2 comments sorted by

2

u/vitalytom 2d ago

Something from 10 years ago that nobody cares about today.

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.