Releases: okTurtles/okTurtles.events
Releases · okTurtles/okTurtles.events
v1.0.0
Changes
okTurtles.events/once
used to return a function that would call the listener that was registered and then unregister the listener. Now it returns a function that simply unregisters the listener.
All Changes
emit
will now catch exceptions thrown by synchronous listeners. This means an exception in one listener won't prevent other listeners from being called. (PR #6)on
andonce
will return a function to clear the event listener (PR #6)- New selector
'okTurtles.events/setErrorHandler'
to set the error handler for errors caught byemit
(PR #6) - Misc changes: rewritten in TypeScript, use
node:test
instead ofmocha
, enable Github Actions to run tests
New Contributors
- @corrideat made their first contribution in #6
Full Changelog: v0.1.6...v1.0.0