How to save the results of node-fetch request without using await
怪我咯
怪我咯 2017-06-30 09:57:11
0
1
704

How to assign the result of the request to a variable?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
刘奇

I don’t quite understand what you mean and the function you want to implement. Since it is an asynchronous request, it is obviously impossible to get the “result of the request” you call immediately. No matter how you implement it, you are indirectly implementing await

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template