X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FPoolOptions.html;h=5c497accd3e568236a9594821beed7e9585b22cc;hb=34d8846f1e7e54273f3944f687336c5624a18f39;hp=b2692849efeda336d4578878dac67301c8184892;hpb=fb8fbcfd7983c1eadc39411c9b29054e6fa97d5b;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index b2692849..5c497acc 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.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
+() => {}
-- Defined in src/pools/pool.ts:129
Optional
messageA function that will listen for message event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:121
Optional
onlineA function that will listen for online event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:117
Optional
restart-- Defined in src/pools/pool.ts:143
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:159
Optional
workerThe worker choice strategy to use in this pool.
Default Value
WorkerChoiceStrategies.ROUND_ROBIN
+Default Value
-- Defined in src/pools/pool.ts:135
Optional
worker-- Defined in src/pools/pool.ts:139