Skip to content

Support AbortController #449

@sindresorhus

Description

@sindresorhus

Node.js is adopting it for everything, so I think we should support it too.

https://developer.mozilla.org/en-US/docs/Web/API/AbortController

Node.js just added support for it in .spawn(): https://nodejs.org/en/blog/release/v15.5.0/

This would not replace the current .cancel() function, in the near-term at least.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions