没有合适的资源?快使用搜索试试~ 我知道了~
defer-until:将函数调用推迟到以后的实用程序
共19个文件
js:14个
jshintrc:1个
gitignore:1个
需积分: 8 0 下载量 54 浏览量
2021-05-12
11:37:17
上传
评论
收藏 11KB ZIP 举报
温馨提示
推迟到 推迟方法调用的实用程序 安装 从npm安装软件包 npm install defer-until --save 并在您的项目中需要该模块 var defer = require ( 'defer-until' ) ; 对于急躁的人 // lets imagine 'socket.send' throws if used before it's ready var defer = require ( 'defer-until' ) ; // Waiting for a signal to be emitted defer ( socket , 'send' ) . until ( socket ) . emits ( 'ready' ) ; socket . send ( 'Hello' ) ; // deferred until 'ready' is emitted // Tes
资源推荐
资源详情
资源评论
收起资源包目录
defer-until-master.zip (19个子文件)
defer-until-master
.gitignore 14B
README.md 5KB
.jscsrc 3KB
test
returns-condition.spec.js 1KB
test-util.js 675B
is-condition.spec.js 1KB
isnt-condition.spec.js 1KB
emits-condition.spec.js 1KB
.jshintrc 2KB
package.json 825B
src
conditions
isnt-condition.js 315B
is-condition.js 312B
index.js 322B
emits-condition.js 319B
returns-condition.js 321B
condition.js 2KB
spy.js 1KB
index.js 366B
index.js 279B
共 19 条
- 1
资源评论
笨猫猪
- 粉丝: 30
- 资源: 4732
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功