Using awaits with fs.watch() in node.js

前端 未结 0 889
面向向阳花
面向向阳花 2021-01-24 20:20

I have some code that talks connects to a redis and returns a promise like:

async connectionToRedisClient() {
    return await this.connect(\'connect\')
    .then         


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