Closed travellingprog closed 7 years ago
Right now, if the tasks array is empty, then Throttle.all() will just hang. Promise.all() would resolve instead. I can get past this in my code easily enough, but for compatibility with Promise.all(), it should have the same behaviour.
Throttle.all()
Promise.all()
Good catch will fix this this evening. Thnx!
Fixed in v2.3.0
Cheers!
Right now, if the tasks array is empty, then
Throttle.all()
will just hang.Promise.all()
would resolve instead. I can get past this in my code easily enough, but for compatibility with Promise.all(), it should have the same behaviour.