JavaScript Meetup - From Callbacks to Promises to Async to ...?

coloradoSprings.js (JavaScript User Group)
coloradoSprings.js (JavaScript User Group)
Public group

Every last Wednesday of the month


415 North Tejon Street · Colorado Springs, CO

How to find us

Come on in the front doors. We'll gather in the main space.

Location image of event venue


The first part of this talk will cover the history of asynchrony in JavaScript from the event dispatcher at the heart of it all and the bad old days in Callback Hell to generators and async functions. In particular, we’ll take a careful look at how exceptional control flow and local state are handled differently in each of the asynchrony patterns.

In the second part, we’ll look at an issue that has increased in importance as asynchrony has gotten easier: atomicity. Using async/await syntax it is easy to write asynchronous code that looks like conventional sequential code. But as more and more libraries transition to asynchronous interfaces, the potential for atomicity violations (and other concurrency bugs) increases.