Contrast it with async in JS/ES as an example... now combine it with the using statement for disposeAsync instances.
await using db = await sqlite.connect(await ctx.getConfig("DB_CONN"));
It's not so bad when you have one `await foo` vs `foo.await`, it's when you have several of them on a line in different scopes/contexts.Another one I've seen a lot is...
const v = await (await fetch(...)).json();
Though that could also be... const v = await fetch(...).then(r => r.json());
In any case, it still gets ugly very quickly.
I’ve never in my life used JS, so I’ll have to take your word for it.
It's a language I'm familiar with that uses the `await foo` syntax and often will see more than one in a line, per the examples given. C# is the most prominent language that has similar semantics that I know well, but is usually less of an issue there.