return only fulfilled promises

后端 未结 0 609
野的像风
野的像风 2021-01-25 23:17

I do a lot of requests to api. What i need is to return only fulfilled promises, so i can use them after, with json() function. After some googling i have this code right now an

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