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

I almost think it would be better for everyone if there were no `Symbol.asyncIterator()` method on `ReadableStream`, and instead you have to call a method that requires an `AbortSignal` argument to get an async iterator.

But maybe I'm in the minority for wrapping event streams that can wait indefinitely without timing out in `ReadableStream`s.  If that's a common case though, then async iteration is a widespread pitfall

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

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

Received on Tuesday, 29 October 2024 16:14:21 UTC