github andywer/threads.js v1.2.0

latest releases: v1.7.0, v1.6.5, v1.6.4...
4 years ago

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)

Don't miss a new threads.js release

NewReleases is sending notifications on new releases.