timeable promise:具有超时支持的异步操作的Promise对象 源码

qqmuscle36329 7 0 ZIP 2021-02-22 15:02:20

适时的承诺 具有超时支持的异步操作的对象。 安装 $ 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

用户评论
请输入评论内容
评分:
暂无评论