Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix closed getter note (fixes #912) #914

Merged
merged 3 commits into from
Mar 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1300,8 +1300,9 @@ lt="ReadableStreamDefaultReader(stream)">new ReadableStreamDefaultReader(<var>st
<h5 id="default-reader-closed" attribute for="ReadableStreamDefaultReader" 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 Expand Up @@ -1442,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