feat(codemode): support bounded async iteration (#38040)
This commit is contained in:
parent
e770415fd5
commit
7111f93836
3 changed files with 154 additions and 8 deletions
|
|
@ -70,7 +70,9 @@ ultimate source of truth.
|
|||
- [x] `try`, `catch`, optional catch bindings, and `finally`.
|
||||
- [x] `throw` with arbitrary values.
|
||||
- [x] Labeled statements, labeled `break`, and labeled `continue`.
|
||||
- [ ] `for await...of` and async iteration.
|
||||
- [x] `for await...of` over the supported synchronous collections, awaiting each yielded CodeMode promise or plain
|
||||
value before binding it. Custom sync/async iterator objects, `Symbol.asyncIterator`, and async generators remain
|
||||
outside the supported subset.
|
||||
|
||||
## Functions and callbacks
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue