阅读背景:

在承诺解决之前,您如何等待返回值?

来源:互联网 

I'm trying to write a function that doesn't return it's value until a Promise inside the function has resolved. Here's a simplified example of what I'm trying to do. I'm trying to write a function that doesn't ret




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: