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 asynchronous, jstut, narscribblus, promises