Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the return from events.on the same as Node.js? #266

Open
brentonhouse opened this issue Aug 21, 2020 · 1 comment
Open

Is the return from events.on the same as Node.js? #266

brentonhouse opened this issue Aug 21, 2020 · 1 comment

Comments

@brentonhouse
Copy link

brentonhouse commented Aug 21, 2020

In Node.js, on() returns: <AsyncIterator> that iterates eventName events emitted by the emitter

https://nodejs.org/api/events.html#events_events_on_emitter_eventname

@DigitalBrainJS
Copy link
Collaborator

Unfortunately EventEmitter2 does not currently support this static method. Its api corresponds to v11.

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

No branches or pull requests

2 participants