Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

EventEmitter docs should indicate that the emitter must be instantiated via util.inherits() and EventEmitter.call(this) #7646

@yunong

Description

@yunong

The current EventEmitter docs: http://nodejs.org/api/events.html do not indicate how one should instantiate an instance of the emitter.

The blessed procedure is:

[email protected]
11:53 you should util.inherits and EventEmitter.call(this)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions