Small minor release, shipping a new way to wait for pool tasks to complete.
The new pool.settled()
method now allows you to await
the completion of all pool tasks. The difference to pool.completed()
is that the promise won't be rejected if a task fails – the returned promise will always successfully resolve to an array of errors as thrown by failing tasks.
New features
- Add
pool.settled()
(#208)