await on promise

basically

await Promise.all ([PromiseA, PromiseB..])

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await

View at Medium.com

Advertisements