•  

Syncing Async

A session at OSCON 2014

Tuesday 22nd July, 2014

4:10pm to 4:40pm (PST)

I bet you think “callback hell” is about function nesting and levels of indentation. Not so much. I bet you’ve heard that Promises replace callbacks. Nope.

We need some clarity on what async flow control is all about in JavaScript. We’ll explore the perils of “Inversion of Control”, and see just what hell that leads us to. Then we’ll talk about promises as “continuation events” for function calls, and abstractions on top of promises that clean up our code. Finally, we’ll see how generators give us synchronous-looking async, and even how we can create cooperative concurrency with coroutines.

Yield those confused async notions and control your flow. I promise we’ll get your thoughts in order.

About the speaker

This person is speaking at this event.
getify

JavaScript is still pretty cool.

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 4:10pm4:40pm PST

Date Tue 22nd July 2014

Short URL

lanyrd.com/sddfpr

View the schedule

Share

Books by speaker

  • You Don't Know JS: ES6 & Beyond
  • You Don't Know JS: Up & Going
  • You Don't Know JS: Async & Performance

See something wrong?

Report an issue with this session