JavaScript with Promises
- Length: 88 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2015-06-23
- ISBN-10: 1449373216
- ISBN-13: 9781449373214
- Sales Rank: #860021 (See Top 100 Books)
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 teaches you how to make use of promise constructs. JavaScript routinely supports asynchronous code, calling a function 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 tool for bridging that gap. This book shows you how to use these tools, and also demonstrates techniques that enable you to use features like ?WebRTC.
Table of Contents
Chapter 1. Asynchronous JavaScript
Chapter 2. Introducing Promises
Chapter 3. Working with Standard Promises
Chapter 4. Using Libraries and Frameworks
Chapter 5. Error Handling
Chapter 6. Combining ECMAScript 6 Features with Promises