Skip to content

Commit

Permalink
Editorial: Call out async-from-sync iterators as internal (#3313)
Browse files Browse the repository at this point in the history
  • Loading branch information
syg authored and ljharb committed Apr 25, 2024
1 parent ed82ebb commit 2485715
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -45963,7 +45963,7 @@ <h1>%AsyncIteratorPrototype% [ @@asyncIterator ] ( )</h1>

<emu-clause id="sec-async-from-sync-iterator-objects">
<h1>Async-from-Sync Iterator Objects</h1>
<p>An Async-from-Sync Iterator object is an async iterator that adapts a specific synchronous iterator. There is not a named constructor for Async-from-Sync Iterator objects. Instead, Async-from-Sync iterator objects are created by the CreateAsyncFromSyncIterator abstract operation as needed.</p>
<p>An Async-from-Sync Iterator object is an async iterator that adapts a specific synchronous iterator. Async-from-Sync Iterator objects are never directly accessible to ECMAScript code. There is not a named constructor for Async-from-Sync Iterator objects. Instead, Async-from-Sync iterator objects are created by the CreateAsyncFromSyncIterator abstract operation as needed.</p>

<emu-clause id="sec-createasyncfromsynciterator" type="abstract operation">
<h1>
Expand Down Expand Up @@ -45991,6 +45991,7 @@ <h1>The %AsyncFromSyncIteratorPrototype% Object</h1>
<li>has properties that are inherited by all Async-from-Sync Iterator Objects.</li>
<li>is an ordinary object.</li>
<li>has a [[Prototype]] internal slot whose value is %AsyncIteratorPrototype%.</li>
<li>is never directly accessible to ECMAScript code.</li>
<li>has the following properties:</li>
</ul>

Expand Down Expand Up @@ -46065,7 +46066,7 @@ <h1>%AsyncFromSyncIteratorPrototype%.throw ( [ _value_ ] )</h1>

<emu-clause id="sec-properties-of-async-from-sync-iterator-instances">
<h1>Properties of Async-from-Sync Iterator Instances</h1>
<p>Async-from-Sync Iterator instances are ordinary objects that inherit properties from the %AsyncFromSyncIteratorPrototype% intrinsic object. Async-from-Sync Iterator instances are initially created with the internal slots listed in <emu-xref href="#table-async-from-sync-iterator-internal-slots"></emu-xref>. Async-from-Sync Iterator instances are not directly observable from ECMAScript code.</p>
<p>Async-from-Sync Iterator instances are ordinary objects that inherit properties from the %AsyncFromSyncIteratorPrototype% intrinsic object. Async-from-Sync Iterator instances are initially created with the internal slots listed in <emu-xref href="#table-async-from-sync-iterator-internal-slots"></emu-xref>.</p>
<emu-table id="table-async-from-sync-iterator-internal-slots" caption="Internal Slots of Async-from-Sync Iterator Instances">
<table>
<thead>
Expand Down

0 comments on commit 2485715

Please sign in to comment.