few issues with the .await expression i found immediately:
- it doesn't work inside awaited expressions. this is intended looking at the code, but this means i can't do this:
const foo = await getFoo(getBaz().await<tab>)
- it doesn't wrap the awaited expression in parens. i.e.:
const foo = getFoo().await|<tab>
becomes
const foo = await getFoo()|
and i can't chain anything to that awaited value (e.g. (await getFoo()).bar bc it would chain on the getFoo() call instead of the actual awaited value
few issues with the
.awaitexpression i found immediately:becomes
and i can't chain anything to that awaited value (e.g.
(await getFoo()).barbc it would chain on the getFoo() call instead of the actual awaited value