4 ms·
You can always move it to a variadic function and do await parallel(first, two) If your concern is clunkiness, I'm curious about callbacks, they're defini
by furstenheim 6y ago
You can always move it to a variadic function and do
await parallel(first, two)
If your concern is clunkiness, I'm curious about callbacks, they're definitely more complex to use.
I understand your point that not knowing how promises work can lead to not optimizing them, but going from one to the second can easily done on another iteration. On the other hand, not being capable with callbacks can easily lead to (callback) hell, then you need to first fix the mess, then optimize.