Waiting for async call to finish so I can use the result, its not working?

前端 未结 0 1610
走了就别回头了
走了就别回头了 2021-01-03 09:15

I am able to query Firestore and fetch a collection using onSnapshot, but I need to perform some calculations on the result.

When I use onSnapshot, I cannot use .then

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