When.js 3.5.0 發布,改進了 race 的性能
When.js 是 cujojs 的輕量級的 Promises/A 和 when() 實現,從 wire.js 的異步核心和 cujojs 的 IOC 容器派生而來。包含很多其他有用的 Promiss 相關概念,例如聯合多個 promiss、mapping 和減少 promises 集合以及 timed promises 等。
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
andwhen.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.
</ul>
項目地址:https://github.com/cujojs/when
來自:http://www.oschina.net/news/55784/whenjs-3-5-0
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!