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

Add once and preemptOnce methods#24

Open
rahatarmanahmed wants to merge 1 commit intoatom:masterfrom
rahatarmanahmed:once
Open

Add once and preemptOnce methods#24
rahatarmanahmed wants to merge 1 commit intoatom:masterfrom
rahatarmanahmed:once

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

Comments