Type of worker.
Optional
enablePool events integrated with async resource emission.
true
Optional
enablePool worker node tasks queue.
false
Optional
errorA function that will listen for error event on each worker.
() => {}
Optional
exitA function that will listen for exit event on each worker.
() => {}
Optional
messageA function that will listen for message event on each worker.
() => {}
Optional
onlineA function that will listen for online event on each worker.
() => {}
Optional
restartRestart worker on error.
Optional
startWhether to start the minimum number of workers at pool initialization.
true
Optional
tasksPool worker node tasks queue options.
Optional
workerThe worker choice strategy to use in this pool.
WorkerChoiceStrategies.ROUND_ROBIN
Optional
workerThe worker choice strategy options.
Generated using TypeDoc
Options for a poolifier pool.