Tag: serial data

Home / serial data
Serial Promises vs Parallel Promises
Post

Serial Promises vs Parallel Promises

In javascript we often need to do multiple asynchronous things. I’d like to use this post to show a few examples of doing things serially, and in parallel with promises. Example 1: “Wait a second” x 3 First example, lets define a function where we “wait a second”, three times in a row. This function...