Skip to content

Conversation

@grifotv
Copy link

@grifotv grifotv commented Oct 19, 2017

So it's consistent with on shortcut

So it's consistent with `on` shortcut
@goto-bus-stop
Copy link
Member

thanks, but events is supposed to be an implementation of the Node events API, which doesn't have an off function. adding one would be a breaking change and would make it difficult to use events as a drop in replacement for the Node core module in the browser.

@goto-bus-stop
Copy link
Member

nodejs/node#17156 missed this!

@goto-bus-stop
Copy link
Member

goto-bus-stop commented Apr 25, 2018

@grifotv Node 10 was released yesterday with the EventEmitter.prototype.off method. Would you mind rebasing this PR? :)

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.

2 participants