Re: [whatwg/streams] Permitting transferable stream optimisation (#1124)

> Note: Non-native (shimmed) streams are, as far as I understand, impossible to make transferable

Sure, but it's [trivial](https://jsfiddle.net/jib1/z3ept1am/) to transfer a TransformStream for all your JS needs. I phrased it poorly, I should have said:

 1. Surprising semantic difference between all-native pipes/streams vs pipes with non-native parts.

The semantics here appear to be are those of establishing a data tunnel. The tunnel closes when either side seizes to exist.

I don't have a strong position, other than if the optimization changes the semantics, it is no longer an optimization.

Happy to have either conversation if you can tell me which one it is.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1124#issuecomment-832042083

Received on Tuesday, 4 May 2021 15:43:22 UTC