Skip to content

feature request: EventEmitter#off() alias for EventEmitter#removeListener() #1064

@jokeyrhyme

Description

@jokeyrhyme
  • makes the API more symmetrical: we already have an EventEmitter#on() alias for EventEmitter#addListener()
  • Wolfy87/EventEmitter has #off()
  • Backbone.js has #off()
  • this seems to be a fairly common pattern of convenience elsewhere in the ecosystem

Is this the sort of thing you'd welcome a PR for? Or is this not something you're interested having in core?

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions