- From: Adam Rice <notifications@github.com>
- Date: Thu, 09 Feb 2017 02:47:26 -0800
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 9 February 2017 10:47:57 UTC
@jakearchibald Imagine that `doSomethingWith()` looks like this: ```javascript async function doSomethingWith(readable) { let writable = getAwesomeNativeStream(); await readable.pipeTo(writable, {preventCancel: true}); return; } ``` `writable` closes after accepting zero or more chunks of text, and `readable` is unlocked and can be reused. -- 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/encoding/issues/72#issuecomment-278607926
Received on Thursday, 9 February 2017 10:47:57 UTC