Skip to content

Commit 9be7fb3

Browse files
committed
fixup! more refactor
1 parent d063694 commit 9be7fb3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

spec.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -48676,10 +48676,7 @@ <h1>
4867648676
<emu-alg>
4867748677
1. Assert: _generator_.[[AsyncGeneratorState]] is ~draining-queue~.
4867848678
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,
4868348680
1. Let _next_ be the first element of _queue_.
4868448681
1. Let _completion_ be Completion(_next_.[[Completion]]).
4868548682
1. If _completion_ is a return completion, then
@@ -48689,6 +48686,8 @@ <h1>
4868948686
1. If _completion_ is a normal completion, then
4869048687
1. Set _completion_ to NormalCompletion(*undefined*).
4869148688
1. Perform AsyncGeneratorCompleteStep(_generator_, _completion_, *true*).
48689+
1. Set _generator_.[[AsyncGeneratorState]] to ~completed~.
48690+
1. Return ~unused~.
4869248691
</emu-alg>
4869348692
</emu-clause>
4869448693

0 commit comments

Comments
 (0)