When.js 3.5.0 发布了,改进内容包括:
Improve when.race & Promise.race performance.
Internal changes to start paving the way toward 4.0.0.
Deprecate when.iterate and when.unfold. Use cujoJS/most for streaming asynchronous values.
Deprecate progress events. See the docs for more information and tips on refactoring code that uses promise progress.
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
来自:开源中国社区

