- From: Takeshi Yoshino <notifications@github.com>
- Date: Thu, 05 Feb 2015 00:57:56 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 5 February 2015 08:58:26 UTC
> + size() {
> + return 1;
> + },
> + shouldApplyBackpressure() {
> + return false;
> + }
> + }
> + });
> +
> + t.equal(rs.state, 'readable', 'since start() synchronously enqueued chunks, the stream is readable');
> +
> + // Wait for start to finish
> + rs.ready.then(() => {
> + t.equal(rs.read(), 'a', 'first chunk should be as expected');
> + t.equal(rs.read(), 'b', 'second chunk should be as expected');
> + t.equal(rs.read(), 'c', 'second chunk should be as expected');
third
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/272/files#r24150170
Received on Thursday, 5 February 2015 08:58:26 UTC