Daniel Parker is a software developer focused on web and mobile applications. He writes JavaScript for Evernote in Austin, Texas and is the organizer of the Austin Google Developer Group.
If you're a developer moving to an environments that make heavy use of asynchronous APIs, such as Node, WinRT, or Chrome packaged apps, this book how to make use of promise constructs. JavaScript routinely supports asynchronous code, setting something up with no expectation of when a response might come back. Unfortunately, writing code in that style is difficult for humans, and promises are a key set of tools for bridging that gap. This book shows you how to use these tools, and also demonstrates techniques that enable you to use features like IndexedDB or WebRTC.
引用书中的一段话,让你彻底理解Promise. =========================================================== "A promise is an object that serves as a placeholder for a value. That value is usually the result of an async operation such as an HTTP request or reading a...
評分引用书中的一段话,让你彻底理解Promise. =========================================================== "A promise is an object that serves as a placeholder for a value. That value is usually the result of an async operation such as an HTTP request or reading a...
評分引用书中的一段话,让你彻底理解Promise. =========================================================== "A promise is an object that serves as a placeholder for a value. That value is usually the result of an async operation such as an HTTP request or reading a...
評分引用书中的一段话,让你彻底理解Promise. =========================================================== "A promise is an object that serves as a placeholder for a value. That value is usually the result of an async operation such as an HTTP request or reading a...
評分引用书中的一段话,让你彻底理解Promise. =========================================================== "A promise is an object that serves as a placeholder for a value. That value is usually the result of an async operation such as an HTTP request or reading a...
還不錯,像我這樣總是對Promise一知半解的人算是一個很大的幫助。
评分promise的書和教程都看過不少,要麼就解釋的不清楚,要麼就過分追究細節。這本不厚的小書卻平衡的很好,第一章關於event loop和run to completion更是精彩。這應該是目前讀過關於promise最好的材料瞭。奇怪的是這麼好的書居然沒幾個人讀過,實在是暴斂天物啊。
评分working with promise這一節很有啓發
评分promise的書和教程都看過不少,要麼就解釋的不清楚,要麼就過分追究細節。這本不厚的小書卻平衡的很好,第一章關於event loop和run to completion更是精彩。這應該是目前讀過關於promise最好的材料瞭。奇怪的是這麼好的書居然沒幾個人讀過,實在是暴斂天物啊。
评分開年第一本好書。對 Promise 及延伸的種種你能想到的各種知識都有一個很清晰的介紹,可以說是市麵上介紹 Promise 最好的一本書瞭。比較遺憾的是 Promise.race 詳細的使用場景 與 Promise 的穿透好像沒講到,如果能再加一些 async 的知識可以值 6星瞭。
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有