- From: Mattias Buelens <notifications@github.com>
- Date: Tue, 27 Aug 2019 06:35:05 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 27 August 2019 13:35:27 UTC
You could create an `AbortController` and pass its `signal` to `a.pipeTo(b)` and `b.pipeTo(c)`, allowing you to abort both pipes. You should set `preventAbort = true` and `preventCancel = true` to prevent `a`/`c` from becoming canceled/aborted when you do this. See [this comment](https://github.com/whatwg/streams/issues/1004#issuecomment-508271679) for an example. -- 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/1012#issuecomment-525303855
Received on Tuesday, 27 August 2019 13:35:27 UTC