24.17 深入阅读

[1] “ Promises/A+ ”,编辑者: Brian Cavalier 和 Domenic Denicola ( JavaScript Promise 的实际标准)

[2] “ JavaScript Promises: There and back again ”,作者: Jake Archibald (很好的 Promise 介绍文)

[3] “ Promise Anti-Patterns ”,作者: Tao of Code (技巧和技术)

[4] “ Promise Patterns ”,作者: Forbes Lindesay

[5] “ The Revealing Constructor Pattern ”,作者: Domenic Denicola ( Promise 构造器使用了此种模式)

这是一个略微的简化。实际上,元素通过 C.resolve() 转换, C 又由种模式决定。

results matching ""

    No results matching ""