Callbacks, Promises, and Coroutines (oh my!): Asynchronous Programming Patterns in JavaScript
by Domenic Denicola on Oct 30, 2011
- 23,905 views
This talk takes a deep dive into asynchronous programming patterns and practices, with an emphasis on the promise pattern. ...
This talk takes a deep dive into asynchronous programming patterns and practices, with an emphasis on the promise pattern.
We go through the basics of the event loop, highlighting the drawbacks of asynchronous programming in a naive callback style. Fortunately, we can use the magic of promises to escape from callback hell with a powerful and unified interface for async APIs. Finally, we take a quick look at the possibilities for using coroutines both in current and future (ECMAScript Harmony) JavaScript.
Accessibility
Categories
Upload Details
Uploaded via SlideShare as Microsoft PowerPoint
Usage Rights
© All Rights Reserved
Statistics
- Likes
- 53
- Downloads
- 287
- Comments
- 2
- Embed Views
- Views on SlideShare
- 22,361
- Total Views
- 23,905
1–2 of 2 previous next