Chapter 8. Going Asynchronous

Asynchronous operations are an important part of JavaScript application development, for both server-side and client-side code. It's time to dig in and learn what exactly they are, how they work, when they might surprise us, and how CoffeeScript can help us make the best of it.

We will:

  • Understand what makes asynchronous operations special
  • Fetch information from a remote API to use in our application
  • Make multiple requests to the API at the same time
  • Use a third-party library to make these requests easier

Understanding asynchronous operations

It's a word you've probably heard before, but may not understand exactly what it means or why we care. Asynchronous operations are operations that do not block while completing. What ...

Get CoffeeScript Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.