Re: [streams] can streams be transferred via postMessage()? (#276)

I don't know if there are plans for this, but one thought I had:

1) Transferred stream is locked and drained by the UA.  The values are effectively piped to the new environment.
2) If a stream value is not a transferrable DOM object or structured clonable JS object, then the stream aborts.
3) If content wants to use the stream in two environments then it can call clone() before transferring.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/276#issuecomment-73057055

Received on Thursday, 5 February 2015 14:45:51 UTC