You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Set the code evaluation state of _genContext_ such that when evaluation is resumed for that execution context, _closure_ will be called with no arguments.
48117
48119
1. Set _generator_.[[GeneratorContext]] to _genContext_.
48118
-
1. Set _generator_.[[GeneratorState]] to ~suspended-start~.
48119
48120
1. Return ~unused~.
48120
48121
</emu-alg>
48121
48122
</emu-clause>
@@ -48389,7 +48390,7 @@ <h1>Properties of AsyncGenerator Instances</h1>
48389
48390
</thead>
48390
48391
<tr>
48391
48392
<td>[[AsyncGeneratorState]]</td>
48392
-
<td>*undefined*, ~suspended-start~, ~suspended-yield~, ~executing~, ~draining-queue~, or ~completed~</td>
48393
+
<td>~suspended-start~, ~suspended-yield~, ~executing~, ~draining-queue~, or ~completed~</td>
48393
48394
<td>The current execution state of the async generator.</td>
48394
48395
</tr>
48395
48396
<tr>
@@ -48451,7 +48452,7 @@ <h1>
48451
48452
<dl class="header">
48452
48453
</dl>
48453
48454
<emu-alg>
48454
-
1. Assert: _generator_.[[AsyncGeneratorState]] is *undefined*.
48455
+
1. Assert: _generator_.[[AsyncGeneratorState]] is ~suspended-start~.
48455
48456
1. Let _genContext_ be the running execution context.
48456
48457
1. Set the Generator component of _genContext_ to _generator_.
48457
48458
1. Let _closure_ be a new Abstract Closure with no parameters that captures _generatorBody_ and performs the following steps when called:
@@ -48472,7 +48473,6 @@ <h1>
48472
48473
1. Return *undefined*.
48473
48474
1. Set the code evaluation state of _genContext_ such that when evaluation is resumed for that execution context, _closure_ will be called with no arguments.
48474
48475
1. Set _generator_.[[AsyncGeneratorContext]] to _genContext_.
48475
-
1. Set _generator_.[[AsyncGeneratorState]] to ~suspended-start~.
48476
48476
1. Set _generator_.[[AsyncGeneratorQueue]] to a new empty List.
0 commit comments