Refactoring Promise code to remove async/await in new promise constructor

前端 未结 0 1287
梦如初夏
梦如初夏 2021-01-21 18:06

I had been reading and saw that it is an anti pattern to use async/await in the promise constructor.

I had the following code in my current project and I wish to refactor

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