Skip to content

add wait method#3

Open
Octodillo wants to merge 3 commits intodenosaurs:mainfrom
Octodillo:master
Open

add wait method#3
Octodillo wants to merge 3 commits intodenosaurs:mainfrom
Octodillo:master

Conversation

@Octodillo
Copy link
Copy Markdown

Adds a method to EventEmitter called wait that awaits the completion of each listener. Note: awaiting this method does not work the same way as awaiting emit.

@crowlKats crowlKats self-requested a review June 28, 2022 09:37
Copy link
Copy Markdown
Member

@eliassjogreen eliassjogreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @crowlKats any comments?

@crowlKats
Copy link
Copy Markdown
Member

I dont see much need for this; maybe this should be emit's behaviour? it just seems confusing to have such similar methods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants