Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document new min option in ReadableStreamBYOBReader.prototype.read(view, { min }) #478

Open
MattiasBuelens opened this issue Nov 13, 2023 · 0 comments
Labels
involves: Content Requires the attention of the Content team. proposal Auto label for new proposals added via the suggestion form

Comments

@MattiasBuelens
Copy link

Proposal

The Streams specification has been updated to add an optional min option to byobReader.read(view). When the min option is given, the read will only be fulfilled as soon as min number of elements are available in the stream.

Browser support

This feature was only just added to the Streams specification, so there aren't any browsers that support this yet. The following browser implementation bugs have been filed as part of whatwg/streams#1145:

Tasks

No response

Dependencies

No response

Additional information

The specification change is whatwg/streams#1145

The specification text already has some documentation for the new min option in the "for web developers section". This can serve as a good starting point for MDN.

Are you willing to support this work?

I can support with reviews and feedback.

@MattiasBuelens MattiasBuelens added needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. proposal Auto label for new proposals added via the suggestion form labels Nov 13, 2023
@Rumyra Rumyra added involves: Content Requires the attention of the Content team. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
involves: Content Requires the attention of the Content team. proposal Auto label for new proposals added via the suggestion form
Projects
Status: Backlog
Development

No branches or pull requests

2 participants