Optional
enablePool events emission.
true
Optional
enablePool worker tasks queue.
false
Optional
envKey/value pairs to add to worker process environment.
https://nodejs.org/api/cluster.html#cluster_cluster_fork_env
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
settingsOptional
tasksPool worker 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 cluster pool.