X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FThreadPoolOptions.html;h=0f190f39329e232e76a0dc13bee093354903325d;hb=3e9ac5c983766ff74aeedfe5c9ac43096550487a;hp=a57cace2faf8cf137d421b123cf97a0e406ab4d5;hpb=0e502832d98443e291ea5558423ca0de86b96e13;p=poolifier.git diff --git a/docs/interfaces/ThreadPoolOptions.html b/docs/interfaces/ThreadPoolOptions.html index a57cace2..0f190f39 100644 --- a/docs/interfaces/ThreadPoolOptions.html +++ b/docs/interfaces/ThreadPoolOptions.html @@ -1,4 +1,4 @@ -
Optional
enableOptional
errorOptional
exitA function that will listen for exit event on each worker.
() => {}
Inherited from PoolOptions.exitHandler
Optional
messageA function that will listen for message event on each worker.
() => {}
Inherited from PoolOptions.messageHandler
Optional
onlineA function that will listen for online event on each worker.
() => {}
Inherited from PoolOptions.onlineHandler
Optional
restartInherited from PoolOptions.restartWorkerOnError
Optional
startWhether to start the minimum number of workers at pool initialization.
+true
+
+Inherited from PoolOptions.startWorkers
+Optional
tasksInherited from PoolOptions.tasksQueueOptions
Optional
workerInherited from PoolOptions.workerChoiceStrategy
Optional
workerInherited from PoolOptions.workerChoiceStrategyOptions
Optional
workerhttps://nodejs.org/api/worker_threads.html#new-workerfilename-options
A function that will listen for error event on each worker.