Why catch of promise was error? Why node.js asynchronous is not timeout?

后端 未结 0 429
一向
一向 2021-01-27 23:29

First

I am try promise of node.js.

function testpromise(data, ms) {
    return new Promise((resolve, reject) =>         


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