Skip to content

Typescript SDK: Both 'onerror' and 'onclose' call the same error function, making client code unable to distinguish a clean close vs connection error #3151

@natebot13

Description

@natebot13

ws.onclose = this.#handleOnError.bind(this);

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