X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FThreadPoolOptions.html;h=eeaffcc4c9c693576c5d2b0be4f6e4bc59fdefd6;hb=5543cb1ca8011b99a67fcd5fd3a7a5c2b1c4a85e;hp=f8f63a3393fdb32648fd916c09dd74b7c2b55d13;hpb=c7e01b67847217903200f2453a4ffd4ba6bb191a;p=poolifier.git diff --git a/docs/interfaces/ThreadPoolOptions.html b/docs/interfaces/ThreadPoolOptions.html index f8f63a33..eeaffcc4 100644 --- a/docs/interfaces/ThreadPoolOptions.html +++ b/docs/interfaces/ThreadPoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enabletrue
+true
+
Optional
enablePool worker tasks queue.
+Pool worker node tasks queue.
false
+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.
() => {}
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
tasksPool worker tasks queue options.
+Pool worker node tasks queue options.
Inherited from PoolOptions.tasksQueueOptions
Optional
workerThe worker choice strategy to use in this pool.
WorkerChoiceStrategies.ROUND_ROBIN
+WorkerChoiceStrategies.ROUND_ROBIN
+
Inherited from PoolOptions.workerChoiceStrategy
Optional
workerInherited from PoolOptions.workerChoiceStrategyOptions
Optional
workerhttps://nodejs.org/api/worker_threads.html#new-workerfilename-options
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Pool events emission.