Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Jul 23, 2024
1 parent 6f284c1 commit dcbe738
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6239,9 +6239,9 @@ Async iterators, unlike sequences, do not have a fixed length and can be infinit
asynchronously produced as the async iterator is iterated over.

Async iterators are values, not types, and thus cannot be used as a type in IDL. They can only be
created from [=async iterables=]. Thus, async iterators can not be used as the type of an IDL
created from [=async iterable types=]. Thus, async iterators can not be used as the type of an IDL
operation parameter, an IDL interface attribute, or an IDL dictionary member. Instead an
[=async iterable=] should be used.
[=async iterable type=] should be used.

<h4 id="idl-record" lt="record" dfn export>Record types — record&lt;|K|, |V|&gt;</h4>

Expand Down Expand Up @@ -8214,7 +8214,7 @@ object, a JavaScript method, and a flag indicating whether the method is expecte
IDL <a lt="async iterator">async iterator</a> values are represented by JavaScript [=Iterator=]
records.

Async iterators can only be created from an [=async iterable=] object.
Async iterators can only be created from an [=async iterable type=].

<h5 id="js-async-iterator-iteration">Iterating async iterator</h5>

Expand Down

0 comments on commit dcbe738

Please sign in to comment.