How to forgo promises when using async in a function?

后端 未结 0 853
轮回少年
轮回少年 2020-12-09 04:51

The following code makes use of a simple promise and works perfectly.

ipToDomain = (ip) => {
  return new Promise((resolve, reject) => {  
    dns.rever         


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