Re: [whatwg/streams] Cancelling a pipe (#576)

The plan is, once [cancelable promises](https://github.com/tc39/proposal-cancelable-promises) are ready, pipeTo will return a cancelable promise you can use. Until then, setting up a pipe is irreversable until the source/dest close/error.

As such, I'm going to close this as a dupe of https://github.com/whatwg/streams/issues/446, but I'm happy to discuss in the closed thread or over there.

> Calling controller.close() will also throw errors ("Reader was released and can no longer be used to monitor the stream's closedness" and "Writer was released and can no longer be used to monitor the stream's closedness" multiple times).

These errors should not occur, but are probably an artifact of using a not-yet-specced pipeTo implementation.

-- 
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/576#issuecomment-256919672

Received on Friday, 28 October 2016 13:29:40 UTC