When using async callback we need to consider scope. Especially if inside a loop. This simple article shows what not to do and a simple working example.
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0