Skip to content

Event Listener on Client Disconnect #1770

Open
@HeyITGuyFixIt

Description

@HeyITGuyFixIt

What is the feature you are proposing?

As mentioned in Discord, could we have the ability to create event listeners for client disconnect or abort events? I would expect to be able to use them like c.addListener('abort', () => { ...} and optionally c.on('abort', () => { ...}. Of course, we need the removeListener and off functions as well for completeness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions