How to make a exported function wait until the async function above is done loading?

前端 未结 0 1216
無奈伤痛
無奈伤痛 2020-12-06 17:41

I have a foo.js file that is exporting a synchronous function like so:

/* foo.js */
let db;
(async functio         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题