Relative Content

Tag Archive for development

How to refactor a chain of asynchronous callbacks in Javascript

It’s a a fact that callbacks in Javascript are widely used for asynchronous code. Thus, it’s quite common the following scenario: The complexity comes when we need to chain on success another asynchronous function which will also received another callback, and so on. In this case, we can end up making our code more and […]