Books & Videos

Table of Contents

  1. Chapter 1 Asynchronous JavaScript

    1. Callbacks

    2. Asynchronous JavaScript

    3. Run to Completion and the Event Loop

    4. Summary

  2. Chapter 2 Introducing Promises

    1. Basic Usage

    2. Multiple Consumers

    3. Promise States

    4. Chaining Promises

    5. Callback Execution Order

    6. Basic Error Propagation

    7. The Promise API

    8. Summary

  3. Chapter 3 Working with Standard Promises

    1. The Async Ripple Effect

    2. Conditional Logic

    3. Parallel Execution

    4. Sequential Execution Using Loops or Recursion

    5. Managing Latency

    6. Functional Composition

    7. Summary

  4. Chapter 4 Using Libraries and Frameworks

    1. Promise Interoperability and Thenables

    2. The Bluebird Promise Library

    3. Promises in jQuery

    4. Summary

  5. Chapter 5 Error Handling

    1. Rejecting Promises

    2. Passing Errors

    3. Unhandled Rejections

    4. Implementing try/catch/finally

    5. Using the Call Stack

    6. Summary

  6. Chapter 6 Combining ECMAScript 6 Features with Promises

    1. Destructuring

    2. Arrow Functions

    3. Iterables and Iterators

    4. Generators

    5. Summary