Mixing sequential and parallel promises in JavaScript
medium.com