- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 15 Apr 2015 20:50:22 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 16 April 2015 03:50:49 UTC
> TransformStream: transform() is never invoked via pull() Unclear how to relate the issue title to the text... > Maybe what we want to do is not to start transform while there's back-pressure on readable. Yes, this seems like a clear win. > Since underlying sink write() method takes only one signal, i.e. fulfillment of the promise returned, we cannot exert back-pressure and success/fail of the transform separately. I don't quite follow the reasoning here. If we want to exert back-pressure we can change `transform.writable.state`. If we want to signal success/failure of the transform, we use the return value of `transform.writable.write()`. What am I missing? Code might help :) --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/330#issuecomment-93631616
Received on Thursday, 16 April 2015 03:50:49 UTC