Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add once and preemptOnce methods #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rahatarmanahmed
Copy link

Makes it easier to port over code that used to depend on EventEmitter::once. Added ::preemptOnce because it basically came free.

Also added tests for both new methods.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant