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