红联Linux门户
Linux帮助

When.js 3.5.2发布,Promises/A和when()实现

发布时间:2014-10-30 09:05:31来源:红联作者:empast
When.js 3.5.2 发布,此版本能接收 when/function 参数对象,现已提供下载。

更新内容:

when/function.apply 现在能直接处理通过一个参数对象,e.g. fn.apply(f, arguments);.

Prevent minifiers from clobbering unhandled rejection reporting if they remove console.* calls. For example, unhandled rejections will be reported even when using Uglify drop_console.

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

软件详情:https://github.com/cujojs/when/

下载地址:https://github.com/cujojs/when/releases/tag/3.5.2

来自:开源中国社区
文章评论

共有 0 条评论