没有合适的资源?快使用搜索试试~ 我知道了~
timerClass:明智的流程超时管理器
共29个文件
js:20个
md:3个
yml:2个
需积分: 9 0 下载量 168 浏览量
2021-03-20
01:02:35
上传
评论
收藏 23KB ZIP 举报
温馨提示
计时器v ^ 1.0.5 通过包装将计时器添加到承诺中。 安装 $ npm i @anlerandy/timer 用法 承诺 const task = require ( './my_asynchronous_function' ) ; const Timer = require ( '@anlerandy/timer' ) ; const promise = task ( ) ; const result = await new Timer ( 60000 ) . launchTimer ( promise ) ; 而不是使用`setTimeout`代码。 const task = require ( './my_asynchronous_function' ) ; const promise = task ( ) ; const result = await new Pro
资源推荐
资源详情
资源评论
收起资源包目录
timerClass-master.zip (29个子文件)
timerClass-master
unit_tests
helpers
wait.js 721B
sleep.js 180B
tests
get_id.js 3KB
verbose.js 2KB
memory.js 1KB
getters.js 2KB
promises.js 3KB
update.js 1KB
advanced
verbose.js 2KB
this.js 1KB
prototypes.js 1KB
index.js 263B
common.js 2KB
errors.js 4KB
save_destroy.js 2KB
index.js 513B
.github
workflows
npm-publish.yml 1KB
ci.yml 613B
.babelrc 164B
.npmignore 140B
time_class
helpers
log.js 3KB
index.js 463B
index.js 10KB
README.md 4KB
.gitignore 81B
index.js 34B
CHANGELOG.md 886B
documentations
OPTIONS.md 2KB
package.json 2KB
共 29 条
- 1
资源评论
DeepIndaba
- 粉丝: 27
- 资源: 4657
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功