2 ms·
> Aims to support top-level await. As a node developer: yum.
by nailer 8y ago
> Aims to support top-level await.
As a node developer: yum.
- andrewstuart 8y agotop level await is not important. The easiest solution to this is just put one single line of code at the top of your application, then you can have as many awaits as you like under that.
- nailer 8y agoIt's more complex than just adding an IIFE, which is why Ryan mentioned it. You can't await an import, for example.