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 Uglifydrop_console.
When.js 是 cujojs 的轻量级的 Promises/A 和 when() 实现,从 wire.js 的异步核心和 cujojs 的 IOC 容器派生而来。包含很多其他有用的 Promiss 相关概念,例如联合多个 promiss、mapping 和减少 promises 集合以及 timed promises 等。
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-10/108665.htm
