- From: Takeshi Yoshino <notifications@github.com>
- Date: Wed, 09 Mar 2016 00:41:51 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Wednesday, 9 March 2016 08:42:23 UTC
We need to provide a concrete example of how to implement such a controller representing a passive data source and reacting to both BYOB and default read adaptively. The controller can know that there's a BYOB reader and it's receiving a BYOB read request by looking at `controller.byobRequest`, but there's no such API for checking read requests from a default reader. I think HWM needs to be set to 0 (we've changed the default from 1 to use 0 for BYOB controller at some point. Maybe for the same reason? I don't remember...) to expose the default-read signal (pull is invoked only when there's at least one default-read request). --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/commit/b430f330000bc4bd8f982074bdc11439e0f36c2d#commitcomment-16582970
Received on Wednesday, 9 March 2016 08:42:23 UTC