X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=16a9c96d53e8ebc56ccfaf4b08f53cd8aacc3745;hb=6c4fa3e1bd11a23fd83b8492ad941a323853de06;hp=229f4633ae2a24448b6f2944b6dc6e44c60c0460;hpb=fddf9cc424b3ace38fd414899c666c76a03c3aff;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 229f4633..16a9c96d 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enableGenerated using TypeDoc
Generated using TypeDoc
Pool events emission.
+Pool events integrated with async resource emission.
Default Value
true
+Default Value
-- Defined in src/pools/pool.ts:136
Optional
enablePool worker tasks queue.
+Pool worker node tasks queue.
Default Value
false
+Default Value
-- Defined in src/pools/pool.ts:142
Optional
errorA function that will listen for error event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:108
Optional
exitA function that will listen for exit event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:116
Optional
messageA function that will listen for message event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:104
Optional
onlineA function that will listen for online event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:112
Optional
restart-- Defined in src/pools/pool.ts:130
Workers
+Optional
startWhether to start the minimum number of workers at pool initialization.
+Default Value
++- Defined in src/pools/pool.ts:161
Optional
tasksPool worker tasks queue options.
+Pool worker node tasks queue options.
-- Defined in src/pools/pool.ts:146
Choice Strategy
-Optional
workerThe worker choice strategy to use in this pool.
Default Value
WorkerChoiceStrategies.ROUND_ROBIN
+Default Value
-- Defined in src/pools/pool.ts:122
Optional
worker-- Defined in src/pools/pool.ts:126