Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Once and scoping

Compare
Choose a tag to compare
@Olical Olical released this 15 Jul 20:29
· 183 commits to master since this release

This release has added support for the addOnceListener method and it's alias, once. You can also now set the return value that is checked for when auto removing listeners with setOnceReturnValue.

There are also a few scoping improvements so listeners will now be executed in the context of the EventEmitter instance, not null.