DEP0174:在返回 Promise 的函数上调用 promisify
¥DEP0174: calling promisify
on a function that returns a Promise
类型:运行时
¥Type: Runtime
在返回 Promise
的函数上调用 util.promisify
将忽略所述 promise 的结果,这可能导致未处理的 promise 拒绝。
¥Calling util.promisify
on a function that returns a Promise
will ignore
the result of said promise, which can lead to unhandled promise rejections.