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

I think @MattiasBuelens analysis is correct. I see 4 major concerns:
1. Can we implement it?
2. Can we write the standard text for it?
3. Is the behaviour reasonable in edge cases?
4. Is it worth the extra complexity?

@MattiasBuelens has convinced me we can implement it. If we can implement it then in principle we can standardise it.

It will take a lot of work (specifically writing tests) to convince me that the edge cases are okay.

I think the complexity is *probably* worth it, because optimised implementations of transferable streams will naturally want to bypass intermediate steps. The fact that this issue has been discovered before we've even shipped it also indicates that it may be an important use case.

-- 
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/276#issuecomment-483084764

Received on Monday, 15 April 2019 02:12:55 UTC