- From: Brad Schick <notifications@github.com>
- Date: Sat, 10 Aug 2024 20:04:06 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 11 August 2024 03:04:10 UTC
I was also thinking that the current approach seem susceptible to race conditions unless the implementation ensures there is either never and `await` between a `respond()` and a `close()` or always a `respond(0)` after `close()`. For example if a pull function responds, then awaits on something, then calls `close()` you may end up with period BYOB reader hangs -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/1321#issuecomment-2282367021 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/issues/1321/2282367021@github.com>
Received on Sunday, 11 August 2024 03:04:10 UTC