- From: Mattias Buelens <notifications@github.com>
- Date: Wed, 10 Oct 2018 04:44:04 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 10 October 2018 11:44:26 UTC
This sounds great! 😄 After a `ReadableStream` or `WritableStream` is transferred, the original thread must no longer be able to use it. I guess that means it should be considered "locked" from the perspective of that thread? That is: `locked` equals `true`, and `getReader()` and `getWriter()` throw an "already locked" error? > It's possible to emulate this behaviour by using postMessage() directly. Existing techniques for moving work off the main thread often resemble a subset of this functionality. However, it is clumsy and hard to work with. Can confirm, very clumsy. That didn't stop me from trying though: [remote-web-streams](https://github.com/MattiasBuelens/remote-web-streams). 😛 -- 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/pull/956#issuecomment-428540655
Received on Wednesday, 10 October 2018 11:44:26 UTC