[webkit-dev] Request for position on transferable streams
Adam Rice
ricea at chromium.org
Thu Aug 13 19:56:53 PDT 2020
Transferable streams permit you to run code like worker.postMessage(stream,
[stream]) where stream is a ReadableStream, WritableStream or
TransformStream and have it do what you'd expect. The explainer
<https://github.com/whatwg/streams/blob/master/transferable-streams-explainer.md>
goes into more detail of why you'd want to do this, but briefly it provides
a convenient way to do thread-offloading for streams-using code.
The pull-request for the standard is at
https://github.com/whatwg/streams/issues/276 and the web platform tests are
at https://github.com/web-platform-tests/wpt/pull/24546.
Any and all feedback is welcome!
Thanks,
Adam Rice, Chromium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20200814/ab0b1211/attachment.htm>
More information about the webkit-dev
mailing list