Re: [whatwg/streams] Cancelling and exception handling async iteration of ReadableStreams (Issue #1255)

Thanks @MattiasBuelens - it is really helpful that you have confirmed the current behaviour. I'm interested to see the further result of this discussion on whether the API needs to change.

W.r.t. the other part of my post about catching errors, you are right that putting the try/catch around the `for await ...` does work! Putting it around the function `logChunks()` that does the iteration does not work - any thoughts why (hope this is not some blindingly obvious JavaScript thing.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1255#issuecomment-1425110622
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1255/1425110622@github.com>

Received on Friday, 10 February 2023 03:03:08 UTC