await-all
npm install await-all
const all = { // using await all with an object var res = await resfast // result of fast() resslow // result of slow() // using await all with an array res = await res0 // result of fast() res1 // result of slow() // using await all with multiple arguments is just like passing a big array res = await res0 // result of fast() res20 // guess what this is}
Credit
I literally copied parts of co to make this library.
License
MIT