Skip to content

Extend EventEmitter if we want event-style interfaces #79

@tmcw

Description

@tmcw

Right now we manually keep track of an array of exit events. I think we should use EventEmitter instead, which will have all the familiar semantics of Node.js events and useful extra methods (in particular .once).

Though maybe we should use EventTarget, the web-standard one, instead. Actually, seems kind of meh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions