X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=16a9c96d53e8ebc56ccfaf4b08f53cd8aacc3745;hb=d52e380bba8c00e3a20a5ad79564a95056af62f7;hp=1a7f27265bf3e27f2e36664dbe4be119c6bcd1e2;hpb=f33c2d55c063a50c0025bf707fa4faf7a5e25f6e;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 1a7f2726..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
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
+() => {}
-- Defined in src/pools/pool.ts:127
Optional
messageA function that will listen for message event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:115
Optional
onlineA function that will listen for online event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:123
Optional
restart-- Defined in src/pools/pool.ts:141
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:157
Optional
workerThe worker choice strategy to use in this pool.
Default Value
WorkerChoiceStrategies.ROUND_ROBIN
+Default Value
-- Defined in src/pools/pool.ts:133
Optional
worker-- Defined in src/pools/pool.ts:137