Re: [fetch] Add "Streams" section. (#119)

> +    <li><p>When <var title>read</var> is fulfilled with an object whose <code title>done</code>
> +           property is true, resolve <var title>promise</var> with <var title>bytes</var>.
> +    <li><p>When <var title>read</var> is fulfilled with a value that matches with neither of the
> +           above patterns, reject <var title>promise</var> with a <code title>TypeError</code>.
> +    <li><p>When <var title>read</var> is rejected with an error, reject <var title>promise</var>
> +           with that error.
> +  </ul>
> +  <li><p>Return <var title>promise</var>.
> +</ol></p>
> +
> +<p class="note no-backref">Because the reader grants exclusive access, the actual mechanism of how
> +to read cannot be observed. Implementations could use more direct mechanism if convenient.</p>
> +
> +<p>To <dfn title=concept-tee-readable-stream>tee</dfn> a
> +<span title=concept-readable-stream>ReadableStream</span> <var title>stream</var>, run the following
> +step.

Use ":" and follow by a newline.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/119/files#r38843841

Received on Monday, 7 September 2015 08:49:27 UTC