Get An Array Outside of Promises

后端 未结 0 1730
小鲜肉
小鲜肉 2021-01-21 15:36

I am connected to websocket. So the websocket gives out an object every 1 second. The idea is to push all the objects returning every 1 second to an trade array. This is my code

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