eiriklv / event-clock

Create timed event callbacks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

release 1.1.0 and 1.2.0

smhg opened this issue · comments

@eiriklv I've tagged 2 more releases which keep backward compatibility.

It would be great if you can also put them on npm with:

git checkout v1.1.0
npm publish

git checkout v1.2.0
npm publish

I've also set up a GitHub action (CI) to run tests on push. You might have received some messages about this.

Some possible future steps:

  • Use modern JS syntax and drop old node support.
  • Only start the clock when callbacks are registered and stop when all callbacks are removed.
  • Handle objects that implement the Iterator protocol and schedule them with setTimeout instead (related to #2 and #4).

This would however change things considerably.

That worked wonderfully! Thank you!