Skip to content

Commit

Permalink
Also fix note on BYOB reader
Browse files Browse the repository at this point in the history
  • Loading branch information
surma committed Mar 28, 2018
1 parent 981da37 commit 39d2595
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,6 @@ lt="ReadableStreamDefaultReader(stream)">new ReadableStreamDefaultReader(<var>st
closing.
</div>


<emu-alg>
1. If ! IsReadableStreamDefaultReader(*this*) is *false*, return <a>a promise rejected with</a> a *TypeError* exception.
1. Return *this*.[[closedPromise]].
Expand Down Expand Up @@ -1444,8 +1443,9 @@ ReadableStreamBYOBReader(<var>stream</var>)</h4>
<h5 id="byob-reader-closed" attribute for="ReadableStreamBYOBReader" lt="closed">get closed</h5>

<div class="note">
The <code>closed</code> getter returns a promise that will be fulfilled when the stream becomes closed or the
reader's lock is <a lt="release a read lock">released</a>, or rejected if the stream ever errors.
The <code>closed</code> getter returns a promise that will be fulfilled when the stream becomes closed, or rejected if
the stream ever errors or the reader's lock is <a lt="release a read lock">released</a> before the stream finishes
closing.
</div>

<emu-alg>
Expand Down

0 comments on commit 39d2595

Please sign in to comment.