You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proposal is to make Response.body be a readable byte stream instead of a "default" readable stream. This enables it to be used with bring-your-own-buffer (BYOB) readers, reducing garbage collection overhead and copies. The spec PR for this was landed at whatwg/fetch#1593.
WebKittens
@annevk
Title of the spec
BYOB support for Fetch
URL to the spec
https://fetch.spec.whatwg.org/#http-network-fetch
URL to the spec's repository
https://github.com/whatwg/fetch
Issue Tracker URL
No response
Explainer URL
No response
TAG Design Review URL
No response
Mozilla standards-positions issue URL
No response
WebKit Bugzilla URL
No response
Radar URL
No response
Description
The proposal is to make Response.body be a readable byte stream instead of a "default" readable stream. This enables it to be used with bring-your-own-buffer (BYOB) readers, reducing garbage collection overhead and copies. The spec PR for this was landed at whatwg/fetch#1593.
Firefox has already shipped this in 2022 (see whatwg/fetch#267 (comment)), and implementation is in progress for Chrome. The corresponding ChromeStatus entry for this feature is at https://chromestatus.com/feature/5192003450568704.
The text was updated successfully, but these errors were encountered: