<div dir="ltr">Sorry, the link to the pull request should have been <a href="https://github.com/whatwg/streams/pull/1053">https://github.com/whatwg/streams/pull/1053</a>.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 14 Aug 2020 at 11:56, Adam Rice <<a href="mailto:ricea@chromium.org">ricea@chromium.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Transferable streams permit you to run code like <font face="monospace">worker.postMessage(stream, [stream])</font> where stream is a ReadableStream, WritableStream or TransformStream and have it do what you'd expect. <a href="https://github.com/whatwg/streams/blob/master/transferable-streams-explainer.md" target="_blank">The explainer</a> 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.<div><br></div><div>The pull-request for the standard is at <a href="https://github.com/whatwg/streams/issues/276" target="_blank">https://github.com/whatwg/streams/issues/276</a> and the web platform tests are at <a href="https://github.com/web-platform-tests/wpt/pull/24546" target="_blank">https://github.com/web-platform-tests/wpt/pull/24546</a>.</div><div><br></div><div>Any and all feedback is welcome!</div><div><br></div><div>Thanks,</div><div>Adam Rice, Chromium</div></div>
</blockquote></div>