Are nested promises normal in node.js?

前端 未结 7 1954
说谎
说谎 2020-12-12 13:12

The problem I have been struggling with for two weeks now while learning node.js is how to do synchronous programming using node. I found that no matter how I try to do thin

7条回答
  •  情歌与酒
    2020-12-12 13:35

    Yeah like @TateThurston said, we chain them. It's even more aesthetically pleasing when you use es6 arrow functions

提交回复
热议问题