• Kyle Simpson
  • Open Web Evangelist Getify Solutions, Inc.
  • Twitter
Kyle Simpson is an Open Web Evangelist from Austin, TX. He's passionate about JavaScript, HTML5, real-time/peer-to-peer communications, and web performance. Otherwise, he's probably bored by it. Kyle is an author, workshop trainer, tech speaker, and avid OSS community member.

Session

  • Syncing Async
  • Time: 10:40am - 11:30am | Room: Grand B

I bet you've heard that "callback hell" is about function nesting and levels of indentation. Nope.

I bet you've heard that Promises take away the nightmares of callbacks. Not so much.

I bet you think the event loop is *the* model for concurrency in JS. Meh.

Clearly, we need some clarity on what async flow control is all about in JavaScript. We'll explore the perils of "Inversion of Control" patterns, 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 reveal generators for 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.

Media

Video
Slides
Sponsors