X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FThreadPoolOptions.html;h=14e1f036d8a6f1cccdb86c842643ede9951ba567;hb=c6c8dcf68b2d4e21215ce421c5632fe93e1e8a3e;hp=7a33aec5801bfa516e0c4e89e268fc0a68009db3;hpb=912e1dfaa2988c8337b3410e7acbaf859afd2212;p=poolifier.git diff --git a/docs/interfaces/ThreadPoolOptions.html b/docs/interfaces/ThreadPoolOptions.html index 7a33aec5..14e1f036 100644 --- a/docs/interfaces/ThreadPoolOptions.html +++ b/docs/interfaces/ThreadPoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enableGenerated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Pool events emission.
+Pool events integrated with async resource emission.
Default Value
true
+Default Value
Optional
enablePool worker tasks queue.
+Pool worker node tasks queue.
Default Value
false
+Default Value
Optional
errorA function that will listen for error event on each worker.
Optional
exitA function that will listen for exit event on each worker.
Default Value
+() => {}
Inherited from PoolOptions.exitHandler
-- Defined in src/pools/pool.ts:136
Optional
messageA function that will listen for message event on each worker.
Default Value
+() => {}
Inherited from PoolOptions.messageHandler
-- Defined in src/pools/pool.ts:124
Optional
onlineA function that will listen for online event on each worker.
Default Value
+() => {}
Inherited from PoolOptions.onlineHandler
-- Defined in src/pools/pool.ts:132
Optional
restartInherited from PoolOptions.restartWorkerOnError
-- Defined in src/pools/pool.ts:150
Workers
+Optional
startWhether to start the minimum number of workers at pool initialization.
+Default Value
+Inherited from PoolOptions.startWorkers
++- Defined in src/pools/pool.ts:161
Optional
tasksPool worker tasks queue options.
+Pool worker node tasks queue options.
Inherited from PoolOptions.tasksQueueOptions
-- Defined in src/pools/pool.ts:166
Optional
workerThe worker choice strategy to use in this pool.
Default Value
WorkerChoiceStrategies.ROUND_ROBIN
+Default Value
Inherited from PoolOptions.workerChoiceStrategy
-- Defined in src/pools/pool.ts:142
Optional
workerInherited from PoolOptions.workerChoiceStrategyOptions
-- Defined in src/pools/pool.ts:146
Optional
workerSee
https://nodejs.org/api/worker_threads.html#new-workerfilename-options
-- Defined in src/pools/thread/fixed.ts:26