- From: Takeshi Yoshino <notifications@github.com>
- Date: Mon, 09 Feb 2015 03:42:00 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 9 February 2015 11:42:31 UTC
One more point to consider about `.peek()` is that if the underlying byte source doesn't support precise flow-control, we cannot peek data from the source without draining data. E.g. we need to `read(2)` from a socket to build an ArrayBuffer for `.peek()`, and the `read(2)` would replenish the TCP window. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/275#issuecomment-73495694
Received on Monday, 9 February 2015 11:42:31 UTC