run async operations one by one, serially
and return the result array
if any operation raise error, the following operations will not be executed
async operations
5.14.0
const [res1, res2, res3] = await series( () => fetch(1), () => fetch(2), () => fetch(3)) Copy
const [res1, res2, res3] = await series( () => fetch(1), () => fetch(2), () => fetch(3))
run async operations one by one, serially
and return the result array
if any operation raise error, the following operations will not be executed