- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Fri, 31 Mar 2023 01:24:21 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 31 March 2023 08:24:34 UTC
Another issue: ```js await Promise.resolve().then(async () => { let synchronous = false; let readable = new ReadableStream({ pull() { synchronous = true; } }, { highWaterMark: 0 }); await new Promise(setTimeout); // make sure the stream is started readable.pipeTo(new WritableStream()); console.log(synchronous); }); ``` This logs true on Gecko/Blink but false on WebKit. Maybe it's more natural to be synchronous here as `getReader().read()` pulls synchronously, except I'm not a fan of synchronous JS call... -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/1243#issuecomment-1491518049 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/issues/1243/1491518049@github.com>
Received on Friday, 31 March 2023 08:24:34 UTC