Skip to content

Add a method to get the number of listeners associated to an event #2

Description

@gil0mendes

emitter.listenerCount(type)

  • type Value The type of event

Returns the number of listeners listening to the type of event.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions