- From: Takeshi Yoshino <notifications@github.com>
- Date: Mon, 31 Aug 2015 04:10:14 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 31 August 2015 11:10:43 UTC
> Maybe one fix is that if n > highWaterMark, we notify you anyway, when desiredSize = highWaterMark. Ah, yeah. That works. Notification threshold would be set to min(hightWaterMark, n) > Hmm, what do you think of making it work like (1) or (2)? (1) and (2) would work but changed signal is more flexible (yeah, HWM=0 would behave as them). What's the reason you preferred them than changed signal? Simplicity? I understand that the name "ready" isn't good name for "changed" signal, though. > UA created streams Yeah. When HWM of 0 is used, desiredSize would be 0 or negative. The problem is that pipeTo() should be designed to (possibly by having some mode to) be able to push data to such a writable stream. "Push only when non-negative" would work? --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/318#issuecomment-136336642
Received on Monday, 31 August 2015 11:10:43 UTC