X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=0f7138019f0a8469f50e1566b51b1f786f2609c7;hb=c1f5e413e6417049835904bb902890defafee5d2;hp=4de49fa047c5c5c72c246d84c00ee82e56462e16;hpb=3abeb14de6a5845deeb027ccc69c3feeec8f4a3a;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 4de49fa0..0f713801 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -46,7 +46,7 @@
+Defined in src/pools/pool.ts:167
@@ -67,7 +67,7 @@
Properties
-destroy
+Readonly
destroy
destroy: (() => Promise<void>)
Type declaration
@@ -81,24 +81,25 @@
Returns Promise<void>
+Defined in src/pools/pool.ts:203
Optional
Readonly
emitter
+Defined in src/pools/pool.ts:191
-enableTasksQueue
+Readonly
enableTasksQueue
enableTasksQueue: ((enable, tasksQueueOptions?) => void)
Type declaration
@@ -125,9 +126,9 @@
Returns void
+Defined in src/pools/pool.ts:228
-execute
+Readonly
execute
execute: ((data?, name?) => Promise<Response>)
Type declaration
@@ -155,7 +156,7 @@
+Defined in src/pools/pool.ts:199
Readonly
info
@@ -163,9 +164,9 @@
+Defined in src/pools/pool.ts:175
-setTasksQueueOptions
+Readonly
setTasksQueueOptions
setTasksQueueOptions: ((tasksQueueOptions) => void)
Type declaration
@@ -187,9 +188,9 @@
Returns void
+Defined in src/pools/pool.ts:237
-setWorkerChoiceStrategy
+Readonly
setWorkerChoiceStrategy
setWorkerChoiceStrategy: ((workerChoiceStrategy, workerChoiceStrategyOptions?) => void)
Type declaration
@@ -216,9 +217,9 @@
Returns void
+Defined in src/pools/pool.ts:210
-setWorkerChoiceStrategyOptions
+Readonly
setWorkerChoiceStrategyOptions
setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions) => void)
Type declaration
@@ -240,15 +241,15 @@
Returns void
+Defined in src/pools/pool.ts:219
+Defined in src/pools/pool.ts:179
Emitter on which events can be listened to.
Events that can currently be listened to:
-
-
+
+
+
'full'
: Emitted when the pool is dynamic and full.'busy'
: Emitted when the pool is busy.'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.'ready'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are ready.'busy'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.