- From: Jan-Ivar Bruaroey <notifications@github.com>
- Date: Fri, 25 Mar 2022 10:27:17 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 25 March 2022 17:27:29 UTC
The above is my picture (which could be off) of how the pipe is filled in response to requests for new data that propagate up the pipe chain based on _transforms_ resolving their pending `writer.ready` promise, which * for HWM=0: would be from `markReady()` in response to a downstream pull, and * for HWM=1: would be from `desiredSize` dipping above zero, effectively also in response to a downstream pull I suppose one difference is that during this propagation (is it async?), no work is happening in parallel in the former case for a brief moment, while in the latter case we know each transform has at least one item to chew on? In either case downstream is driving this. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/1190#issuecomment-1079245173 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/pull/1190/c1079245173@github.com>
Received on Friday, 25 March 2022 17:27:29 UTC