- Bug fix: Some outdated transpiled files were published as
v0.8.0
- Support for async thread functions
- Job class now emits 'progress' events #56, credits to https://github.com/mmcardle
- Trigger worker error event on unhandled promise rejection in worker #49
- Merged lost commits stuck in the
develop
branch #51
- Fixes another memory leak. Credit goes to https://github.com/ChiperSoft
- Depedencies have been updated. threads.js will cannot be built and tested anymore on node 0.12. Node >= 4.0 is from now on required. The lib will still work on Node 0.12, though.
- The
lib/
directory and the transpiled unit test files are now gitignored.lib/
will of course still be published to npm.
Pool.prototype.run()
now accepts more than one parameter. See #31.- Credit goes to https://github.com/DatenMetzgerX
- Fixes a critical issue that prevented thread pools from running all jobs.
- Also brings some major performance improvements for browser (web worker) - based setups.
- Added alias for threads: Event
done
as alias formessage
. Updated README example code. - Credit goes to https://github.com/andrakis
- Fixes promise and async issues.
Job.clone()
has been dropped. - Credit goes to https://github.com/maysale01