Skip to content

Use native EventTarget instead of a custom implementation #191

@kevinhikaruevans

Description

@kevinhikaruevans

Is there a reason that this library is using its own implementation of EventTarget, here: https://github.com/pladaria/reconnecting-websocket/blob/master/reconnecting-websocket.ts#L268? Why not just extend from EventTarget?

It would be nice to not be confined to the events in events.ts, so I could dispatch other events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions