Skip to content

AbortController Support #269

@Bas950

Description

@Bas950

Would support for AbortController be considered? (in the addEventListener, on, and once functions)

Supported in all browsers and node, you can pass a signal option parameter to the native addEventListener function.

The listener will be removed when the given AbortSignal object's abort() method is called. If not specified, no AbortSignal is associated with the listener.

Links:
https://developer.mozilla.org/en-US/docs/Web/API/AbortController
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#signal

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