-
Notifications
You must be signed in to change notification settings - Fork 161
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://streams.spec.whatwg.org/#byob-reader-prototype needs to be updated too.
index.bs
Outdated
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 or the stream errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or the stream errors.
I don't think you need to say this, as you've already made it clear that the promise rejects on error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
index.bs
Outdated
@@ -3531,7 +3533,7 @@ lt="WritableStreamDefaultWriter(stream)">new WritableStreamDefaultWriter(<var>st | |||
<div class="note"> | |||
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 writer's lock is <a lt="release a write lock">released</a> before the stream finishes | |||
closing. | |||
closing or the stream errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
Travis CI doesn't seem to be happy. Since this isn't urgent, I (or someone else) can merge it once Travis CI is feeling better. |
I re-pushed my last commit to restart Travis. Seems like it worked :) |
Took some inspiration from the writer’s
closed
getter :)Preview | Diff