Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Cancellation #162

@benjamingr

Description

@benjamingr

Hey, @ronag and myself are looking at implementing this proposal (or a similar API) on Node.js streams and one thing we are missing is cancellation support.

Given the current state of things I think it would be useful to accept an options object as the second parameter (so we can pass an AbortSignal).

If this is complicated right now, it would be great if the spec was future-proofed for when cancellation has language level-support/integration.

Also - this is a good example of a language-level API that would benefit from cancellation at the language level.

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