Re: [whatwg/encoding] Add Streams support (#72)

@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