@@ -50732,35 +50732,6 @@ <h1>
5073250732          1. Return ~unused~.
5073350733        </emu-alg>
5073450734      </emu-clause>
50735- 
50736-       <emu-clause id="sec-createasynciteratorfromclosure" type="abstract operation">
50737-         <h1>
50738-           CreateAsyncIteratorFromClosure (
50739-             _closure_: an Abstract Closure with no parameters,
50740-             _generatorBrand_: a String or ~empty~,
50741-             _generatorPrototype_: an Object,
50742-           ): an AsyncGenerator
50743-         </h1>
50744-         <dl class="header">
50745-         </dl>
50746-         <emu-alg>
50747-           1. NOTE: _closure_ can contain uses of the Await operation and uses of the Yield operation to yield an IteratorResult object.
50748-           1. Let _internalSlotsList_ be « [[AsyncGeneratorState]], [[AsyncGeneratorContext]], [[AsyncGeneratorQueue]], [[GeneratorBrand]] ».
50749-           1. Let _generator_ be OrdinaryObjectCreate(_generatorPrototype_, _internalSlotsList_).
50750-           1. Set _generator_.[[GeneratorBrand]] to _generatorBrand_.
50751-           1. Set _generator_.[[AsyncGeneratorState]] to ~suspended-start~.
50752-           1. Let _callerContext_ be the running execution context.
50753-           1. Let _calleeContext_ be a new execution context.
50754-           1. Set the Function of _calleeContext_ to *null*.
50755-           1. Set the Realm of _calleeContext_ to the current Realm Record.
50756-           1. Set the ScriptOrModule of _calleeContext_ to _callerContext_'s ScriptOrModule.
50757-           1. If _callerContext_ is not already suspended, suspend _callerContext_.
50758-           1. Push _calleeContext_ onto the execution context stack; _calleeContext_ is now the running execution context.
50759-           1. Perform AsyncGeneratorStart(_generator_, _closure_).
50760-           1. Remove _calleeContext_ from the execution context stack and restore _callerContext_ as the running execution context.
50761-           1. Return _generator_.
50762-         </emu-alg>
50763-       </emu-clause>
5076450735    </emu-clause>
5076550736  </emu-clause>
5076650737
0 commit comments