|
|
|
|
|
by WolfOliver
1630 days ago
|
|
> Assuming the first request is done much faster than the second request, we can already utilize the CPU and doSomeCalculation while waiting for the second request to finish. In this case, the shown code is better than Promise.all([request1, request2]). |
|