Re: [whatwg/streams] Allow aborting an ongoing pipe operation using AbortSignals (#744)

I noticed a couple more issues while writing tests:
* It doesn't work if the AbortSignal is already signalled when pipeTo() is called.
* What happens when there are other shutdown conditions is not defined; eg. calling `rs.pipeTo(ws, { signal })` where `rs` is already closed and `signal` is already signalled.

If we figure out the answer to the second question then I can solve the first.

-- 
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/744#issuecomment-425087886

Received on Thursday, 27 September 2018 13:19:19 UTC