File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4301,8 +4301,8 @@ Prose accompanying an [=interface=] with an [=asynchronously iterable declaratio
4301
4301
<dfn id="dfn-get-the-next-iteration-result">get the next iteration result</dfn> algorithm.
4302
4302
This algorithm receives the instance of the [=interface=] that is being iterated, as well as the
4303
4303
async iterator itself (which can be useful for storing state).
4304
- It must return a {{Promise}} that either resolves with undefined – to signal the end of the
4305
- iteration – or a tuple with two elements:
4304
+ It must return a {{Promise}} that either rejects, resolves with undefined to signal the end of the
4305
+ iteration, or resolves with a tuple containing two elements:
4306
4306
4307
4307
1. a value of the first type given in the declaration;
4308
4308
1. a value of the second type given in the declaration.
You can’t perform that action at this time.
0 commit comments