- From: Adam Rice <notifications@github.com>
- Date: Tue, 04 Apr 2023 23:07:13 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 5 April 2023 06:07:18 UTC
I was hoping that we could just require the underlying source to do cleanup in this case. But the underlying source doesn't know it is being used in async iteration. If it was being read from by a normal reader or a pipe then the rejected promise would not trigger cancellation. So my current impression is that your solution is correct. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/1266#issuecomment-1496966032 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/issues/1266/1496966032@github.com>
Received on Wednesday, 5 April 2023 06:07:18 UTC