Visualizing asynchronous JavaScript promises (Q-style Promises/B)

Asynchronous JS can be unwieldy and confusing. ┬áSpecifically, callbacks can be unwieldy, especially when you introduce error handling and start chaining asynchronous operations. ┬áSo, people frequently turn to something like Python’s Twisted‘s deferreds which provide for explicit error handling and the ability for ‘callbacks’ to return yet another asynchronous operation. In CommonJS-land, there are proposals […]

Also tagged , , ,