Wednesday, 27 November 2019

How to wait on an async.timeseries()?

Here is my code:function myFunction() { // do stuff } async.timesSeries(100, myFunction); doSomethingElse(); The problem is that doSomethingElse() is executing before every execution in async.timesSeries() has finished. Sorry for my ineptitude at NodeJS, but does anyone know a quick and easy fix for this? Thanks!

Submitted November 27, 2019 at 10:03PM by thatcsguy1

No comments:

Post a Comment