Interjecting a promise into a pre-existing function

后端 未结 0 1252
伪装坚强ぢ
伪装坚强ぢ 2021-01-15 04:45

I\'m looking at https://guides.codepath.com/nodejs/Control-flow#1-introduction:

// Consuming a promise API
let promise = fs.promise.readFile(__filename)
promi         


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