File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,30 @@ <h1>Introduction</h1>
21
21
22
22
<emu-clause id =" sec-control-abstraction-objects" >
23
23
<h1 >Control Abstraction Objects</h1 >
24
+
25
+ <emu-clause id =" sec-iteration" >
26
+ <h1 >Iteration</h1 >
27
+
28
+ <emu-clause id =" sec-iterator-abstract-operations" >
29
+ <h1 >Iterator Abstract Operations</h1 >
30
+
31
+ <emu-clause id =" sec-ifabruptcloseasynciterator" aoid =" IfAbruptCloseAsyncIterator" >
32
+ <h1 >IfAbruptCloseAsyncIterator ( _value_ , _iteratorRecord_ )</h1 >
33
+ <p ><dfn >IfAbruptCloseAsyncIterator</dfn > is a shorthand for a sequence of algorithm steps that use an Iterator Record. An algorithm step of the form:</p >
34
+ <emu-alg >
35
+ 1. IfAbruptCloseAsyncIterator(_value_ , _iteratorRecord_ ).
36
+ </emu-alg >
37
+ <p >means the same thing as:</p >
38
+ <emu-alg >
39
+ 1. If _value_ is an abrupt completion, then
40
+ 1. Perform ? AsyncIteratorClose(_iteratorRecord_ , _value_ ).
41
+ 1. Return _value_ .
42
+ 1. Else if _value_ is a Completion Record, set _value_ to _value_ .[[Value]].
43
+ </emu-alg >
44
+ </emu-clause >
45
+ </emu-clause >
46
+ </emu-clause >
47
+
24
48
<emu-clause id =" sec-async-function-objects" >
25
49
<h1 >AsyncFunction Objects</h1 >
26
50
<emu-clause id =" sec-async-functions-abstract-operations" >
63
87
</emu-alg >
64
88
</emu-clause >
65
89
</emu-clause >
66
- </emu-clause >
67
-
68
90
</emu-clause >
69
-
91
+ </ emu-clause >
70
92
71
93
<emu-clause id =" sec-indexed-collections" >
72
94
<h1 >Indexed Collections</h1 >
You can’t perform that action at this time.
0 commit comments