`for async` loops
rictic opened this issue · 2 comments
rictic commented
New syntax for consuming async iterators! It looks like clang-format wants to create a block after for
and before await
.
input:
async function f() {
for await (const val of makeAsyncIter()) {
}
}
output:
async function f() {
for
await(const val of makeAsyncIter()) {}
}
I wasn't sure where the best place to file this is, so I also filed this bug at https://issuetracker.google.com/38267829 feel free to close either.
mprobst commented
Let's use the inner one to track.
mprobst commented
This has been released in 1.0.51.