Bug 264731 - Streams: add ReadableStreamBYOBReader.prototype.read(view, { min })
Summary: Streams: add ReadableStreamBYOBReader.prototype.read(view, { min })
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-13 03:38 PST by Mattias Buelens
Modified: 2023-11-20 03:39 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mattias Buelens 2023-11-13 03:38:50 PST
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.

Specification: https://github.com/whatwg/streams/pull/1145
Tests: https://github.com/web-platform-tests/wpt/pull/29723
Comment 1 Radar WebKit Bug Importer 2023-11-20 03:39:12 PST
<rdar://problem/118646139>