timeable promise:具有超时支持的异步操作的Promise对象 源码
适时的承诺 具有超时支持的异步操作的对象。 安装 $ npm install --save timeable-promise API参考 具有超时支持的异步操作的Promise对象。 参见:例 const { untilSettledOrTimedOut } = require ( 'timeable-promise' ) ; const response = await untilSettledOrTimedOut ( ( resolve , reject , pending ) => { // Promise executor with extra `pending` param t
下载地址
用户评论