X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FThreadPoolOptions.html;h=b507c18abcd1086c30069c44fb105b40d9be6668;hb=ae036c3e73796126b7f1138129b6b18ef6bcef8c;hp=7ccbe719cc503d47b6b85d9966289e81469427be;hpb=e905ea64c054a25ef73885e41fc063279bc599ca;p=poolifier.git diff --git a/docs/interfaces/ThreadPoolOptions.html b/docs/interfaces/ThreadPoolOptions.html index 7ccbe719..b507c18a 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.