File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -48676,10 +48676,7 @@ <h1>
48676
48676
<emu-alg>
48677
48677
1. Assert: _generator_.[[AsyncGeneratorState]] is ~draining-queue~.
48678
48678
1. Let _queue_ be _generator_.[[AsyncGeneratorQueue]].
48679
- 1. Repeat,
48680
- 1. If _queue_ is empty, then
48681
- 1. Set _generator_.[[AsyncGeneratorState]] to ~completed~.
48682
- 1. Return ~unused~.
48679
+ 1. Repeat, while _queue_ is not empty,
48683
48680
1. Let _next_ be the first element of _queue_.
48684
48681
1. Let _completion_ be Completion(_next_.[[Completion]]).
48685
48682
1. If _completion_ is a return completion, then
@@ -48689,6 +48686,8 @@ <h1>
48689
48686
1. If _completion_ is a normal completion, then
48690
48687
1. Set _completion_ to NormalCompletion(*undefined*).
48691
48688
1. Perform AsyncGeneratorCompleteStep(_generator_, _completion_, *true*).
48689
+ 1. Set _generator_.[[AsyncGeneratorState]] to ~completed~.
48690
+ 1. Return ~unused~.
48692
48691
</emu-alg>
48693
48692
</emu-clause>
48694
48693
You can’t perform that action at this time.
0 commit comments