workerpool
Advanced tools
Changelog
2023-10-25, version 8.0.0
BREAKING CHANGE: the library now throws an Error when passing unknown or
inherited properties for workerOpts
, workerThreadOpts
and forkOpts
.
workerOpts
, workerThreadOpts
and forkOpts
to protect against
security issues related to prototype pollution
(see ea5368c5e53d97120b952ffad151a318c1ff073c).Changelog
2023-10-25, version 7.0.0
BREAKING CHANGE: The setup to bundle workerpool
has been replaced. This should
be a drop-in replacement, but it may have impact depending on your setup.
Changelog
2023-10-11, version 6.5.1
workerThreadOpts
not working when workerType: auto
, see #357.Changelog
2023-09-13, version 6.5.0
Changelog
2023-08-21, version 6.4.2
Changelog
2023-08-17, version 6.4.1
Changelog
2023-02-24, version 6.4.0
onTerminate
at the worker side, which can be used
to clean up resources, and an option workerTerminateTimeout
which forcefully
terminates a worker if it doesn't finish in time (#353, #377).
Thanks @Michsior14.workerThreadOpts
to the onTerminateWorker
callback (#376).
Thanks @Michsior14.Changelog
2022-11-07, version 6.3.1
Changelog
2022-10-24, version 6.3.0
workerThreadOpts
to pass options to a worker of type
thread
, a worker_thread
(#357, fixes #356). Thanks @galElmalah.