-
Notifications
You must be signed in to change notification settings - Fork 280
Split streams into more features #2491
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
Merged
captainbrosset
merged 23 commits into
web-platform-dx:main
from
MattiasBuelens:streams-subfeatures
Mar 6, 2025
Merged
Changes from 7 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
2157c01
Move ReadableStream.values from streams to async-iterable-streams
MattiasBuelens 79d84ce
Add transferable-streams feature
MattiasBuelens f532853
Add readablestream-from feature
MattiasBuelens 85c7740
Add readablestreambyobreader-read-min feature
MattiasBuelens 8df8499
Add transformstream-transformer-cancel feature
MattiasBuelens fb4d357
Update to BCD 5.6.27
MattiasBuelens eaa23a5
Assign transformer_cancel BCD feature to transformstream-transformer-…
MattiasBuelens eedf8a5
Update feature descriptions
MattiasBuelens d1c049d
Merge branch 'main' into streams-subfeatures
MattiasBuelens 4daeb7c
Update dist
MattiasBuelens 34a89a5
Revert changes in package-lock.json
MattiasBuelens 7b046e8
Run Prettier
MattiasBuelens 234f440
Merge branch 'main' into streams-subfeatures
captainbrosset cc1c178
Merge branch 'main' into streams-subfeatures
MattiasBuelens 39e208e
Add readable-byte-streams feature
MattiasBuelens 4e97b25
Update dist
MattiasBuelens a29ca3e
Update note about status change
MattiasBuelens 3f34c8a
Apply suggestions from code review
MattiasBuelens 9b00d49
Merge branch 'main' into streams-subfeatures
MattiasBuelens fc6b630
Escape quotes
MattiasBuelens 76b44c6
Merge min option into readable-byte-streams
MattiasBuelens 7a73f3f
Run Prettier
MattiasBuelens 9fa5c4c
Merge branch 'main' into streams-subfeatures
captainbrosset File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: ReadableStream.from() | ||
| description: The `ReadableStream.from()` static method allows you to wrap iterable and async iterable objects (for example, arrays or async generators) as a readable stream. | ||
| spec: https://streams.spec.whatwg.org/#rs-from | ||
| group: streams | ||
| compat_features: | ||
| - api.ReadableStream.from_static | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Generated from: readablestream-from.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| firefox: "117" | ||
| firefox_android: "117" | ||
| compat_features: | ||
| - api.ReadableStream.from_static |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: "ReadableStreamBYOBReader.read(): min option" | ||
|
MattiasBuelens marked this conversation as resolved.
Outdated
|
||
| description: The `min` option for `ReadableStreamBYOBReader.read(view, options)` allows you to specify the minimum number of elements that must be available before the read request will fulfill. | ||
|
MattiasBuelens marked this conversation as resolved.
Outdated
|
||
| spec: https://streams.spec.whatwg.org/#ref-for-dom-readablestreambyobreaderreadoptions-min%E2%91%A0 | ||
| group: streams | ||
| compat_features: | ||
| - api.ReadableStreamBYOBReader.read.options_min_parameter | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Generated from: readablestreambyobreader-read-min.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: {} | ||
| compat_features: | ||
| - api.ReadableStreamBYOBReader.read.options_min_parameter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| name: Transferable streams | ||
| description: Streams are transferable objects, allowing you to move them from one context to another (for example, to a worker). | ||
|
MattiasBuelens marked this conversation as resolved.
Outdated
|
||
| spec: https://streams.spec.whatwg.org/#rs-transfer | ||
| group: streams | ||
| compat_features: | ||
| - api.ReadableStream.transferable | ||
| - api.TransformStream.transferable | ||
| - api.WritableStream.transferable | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Generated from: transferable-streams.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "87" | ||
| chrome_android: "87" | ||
| edge: "87" | ||
| firefox: "103" | ||
| firefox_android: "103" | ||
| compat_features: | ||
| - api.ReadableStream.transferable | ||
| - api.TransformStream.transferable | ||
| - api.WritableStream.transferable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: "TransformStream: transformer.cancel method" | ||
|
MattiasBuelens marked this conversation as resolved.
Outdated
|
||
| description: The `cancel` method of a `TransformStream` transformer allows you to clean up resources when the readable side is cancelled or the writable side is aborted. | ||
|
MattiasBuelens marked this conversation as resolved.
Outdated
|
||
| spec: https://streams.spec.whatwg.org/#dom-transformer-cancel | ||
| group: streams | ||
| compat_features: | ||
| - api.TransformStream.TransformStream.transformer_cancel | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Generated from: transformstream-transformer-cancel.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: {} | ||
| compat_features: | ||
| - api.TransformStream.TransformStream.transformer_cancel |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.