image

timestore is a lightweight library which replaces native setTimeout / setInterval methods. It allows you to create a store, set timers which belong to that store, and then run, clear, pause and resume them either one by one, or altogether.

That makes it very useful to integrate timestore with game states by creating a store for each state and switching between them without losing timers from other stores.

Read More