Re: [whatwg/streams] Latency-bounded reads (Issue #1270)

I don't think this can be solved in the underlying source. Your example adds a 10ms delay between each chunk, whereas the OP wants to add a 10ms delay between each `read(view)`. That single `read(view)` could be populated with bytes from *multiple* chunks, if the view is large enough and the deadline has not been hit yet.

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

Message ID: <whatwg/streams/issues/1270/1617817240@github.com>

Received on Monday, 3 July 2023 10:17:07 UTC