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

时间:2021-02-06 07:49:53
【文件属性】:
文件名称:timeable-promise:具有超时支持的异步操作的Promise对象
文件大小:23KB
文件格式:ZIP
更新时间:2021-02-06 07:49:53
support utility helper time asynchronous 适时的承诺 具有超时支持的异步操作的对象。 安装 $ 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
【文件预览】:
timeable-promise-master
----.readme.hbs(3KB)
----.eslintrc.js(1KB)
----example.js(1KB)
----.npmignore(897B)
----CONTRIBUTING.md(225B)
----.travis.yml(140B)
----LICENSE(34KB)
----__tests__()
--------index.test.js(3KB)
----README.md(6KB)
----.editorconfig(985B)
----.gitignore(829B)
----index.js(4KB)
----CHANGELOG.md(504B)
----package.json(1KB)

网友评论