Skip to content

Commit

Permalink
fixes #190: make wrapped async iterators more efficient (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Jul 7, 2022
1 parent c5ab151 commit 3a41899
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec.html
Expand Up @@ -324,8 +324,7 @@ <h1>%WrapForValidAsyncIteratorPrototype%.next ( )</h1>
1. IfAbruptRejectPromise(_check_, _promiseCapability_).
1. Let _result_ be Completion(IteratorNext(_O_.[[AsyncIterated]])).
1. IfAbruptRejectPromise(_result_, _promiseCapability_).
1. Perform ! Call(_promiseCapability_.[[Resolve]], *undefined*, &laquo; _result_ &raquo;).
1. Return _promiseCapability_.[[Promise]].
1. Return ? PromiseResolve(%Promise%, _result_).
</emu-alg>
</emu-clause>

Expand Down

0 comments on commit 3a41899

Please sign in to comment.