你好,游客 登录 注册 搜索
背景:
阅读新闻

When.js 1.8.0 发布,Promises/A 的实现

[日期:2013-02-15] 来源:oschina.net  作者:Linux [字体:大 中 小]

When.js 1.8.0 发布了. When.js 是 cujojs 的轻量级的 Promises/A 和 when() 实现,从 wire.js 的异步核心和 cujojs 的 IOC 容器派生而来。包含很多其他有用的 Promiss 相关概念,例如联合多个 promiss、mapping 和减少 promises 集合以及 timed promises 等。

该版本改进内容:

  • New when/function, when/node/function, and when/callbacks with functional programming goodness, and adapters for turning callback-based APIs into promise-based APIs. Kudos @riccieri!
  • New when/unfold, and when/unfold/list promise-aware anamorphic unfolds that can be used to generate and/or process unbounded lists.
  • New when/poll promise-based periodic polling and task execution. Kudos @scothis!

下载地址:https://github.com/cujojs/when/archive/1.8.0.tar.gz

linux
相关资讯       When.js 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款