Skip to content

Commit

Permalink
an
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Jul 30, 2024
1 parent dc07972 commit dd56f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -8212,7 +8212,7 @@ a [=struct=] with the following [=struct/items=]:

<dfn lt="async iterator" export>Async iterator</dfn> values are represented by a [=struct=] with the following [=struct/items=]:

* <dfn for="JS async iterator">underlying record</dfn>, a [=Iterator=] record
* <dfn for="JS async iterator">underlying record</dfn>, an [=Iterator=] record
* <dfn for="JS async iterator">type parameter</dfn>, an IDL type representing the type of values produced by the async iterator

An [=async iterable=] is not directly iterated over. Instead, it is first opened to create
Expand All @@ -8232,7 +8232,7 @@ a [=async iterator=]. The [=async iterator=] can be asynchronously iterated over
[=JS async iterable/object=], |iterable|'s [=JS async iterable/method=]).
1. If |iterable|'s [=JS async iterable/type=] is "<code>sync</code>", set |iterator| to
<a abstract-op>CreateAsyncFromSyncIterator</a>(|iterator|).
1. Return a [=async iterator=] value with [=JS async iterator/underlying record=] set to |iterator| and
1. Return an [=async iterator=] value with [=JS async iterator/underlying record=] set to |iterator| and
[=JS async iterator/type parameter=] set to |T|.

</div>
Expand Down

0 comments on commit dd56f97

Please sign in to comment.