X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=c6e2995e72f26d899d8bb6aaed60a5b8c82f28e3;hb=8d1797ad15cb2d87ac3c9904ce6df3db45c0c742;hp=7efd9779ab1e386b03c87ca8ffb0a7f53c7749e9;hpb=a8aeac440fb425585a0d597af86f616e648ae156;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 7efd9779..c6e2995e 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -1,4 +1,4 @@
-
IPool | poolifier
+IPool | poolifier
@@ -22,15 +22,15 @@
Type Parameters
-
-
Worker extends IWorker
+Worker extends IWorker
-
-
Data = unknown
+Data = unknown
-
-
Response = unknown
+Response = unknown
+
Defined in src/pools/pool.ts:119
@@ -50,37 +50,37 @@
Properties
-
+
destroy
-destroy: (() => Promise<void>)
+destroy: (() => Promise<void>)
Type declaration
-
-
-- (): Promise<void>
+
+- (): Promise<void>
-
-
Returns Promise<void>
-
+
Optional
Readonly
emitter
-
+
-
+
enableTasksQueue
-
+enableTasksQueue: ((enable, tasksQueueOptions?) => void)
Type declaration
-
-
-- (enable: boolean, opts?: TasksQueueOptions): void
+
+- (enable, tasksQueueOptions?): void
-
@@ -106,46 +106,48 @@
Parameters
-
-
enable: boolean
+enable: boolean
-
-
+
+
Returns void
-
+
execute
-execute: ((data: Data) => Promise<Response>)
+execute: ((data?) => Promise<Response>)
Type declaration
-
-
+
setTasksQueueOptions
-
+setTasksQueueOptions: ((tasksQueueOptions) => void)
Type declaration
-
-
-- (tasksQueueOptions: TasksQueueOptions): void
+
+- (tasksQueueOptions): void
-
@@ -173,21 +175,21 @@
Parameters
Returns void
-
+
setWorkerChoiceStrategy
-set
Worker
Choice
Strategy
: ((workerChoiceStrategy
: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN", workerChoiceStrategyOptions
?: WorkerChoiceStrategyOptions) => void)
+setWorkerChoiceStrategy: ((workerChoiceStrategy, workerChoiceStrategyOptions?) => void)
Type declaration
-
-
-- (workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN", workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions): void
+
+- (workerChoiceStrategy, workerChoiceStrategyOptions?): void
-
@@ -195,25 +197,25 @@
Parameters
-
-
workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
+workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
-
-
+
Returns void
-
+
setWorkerChoiceStrategyOptions
-
+setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions) => void)
Type declaration
-
-
-- (workerChoiceStrategyOptions: WorkerChoiceStrategyOptions): void
+
+- (workerChoiceStrategyOptions): void
-
@@ -221,27 +223,27 @@
Parameters
Returns void
-
+
-
+
+Defined in src/pools/pool.ts:133
+Theme
On This Page
+destroy
+emitter
+enableTasksQueue
+execute
+findFreeWorkerNodeKey
+setTasksQueueOptions
+setWorkerChoiceStrategy
+setWorkerChoiceStrategyOptions
+type
+workerNodes
+PoolType
+AbstractPool
+AbstractWorker
+CircularArray
+ClusterWorker
+DynamicClusterPool
+DynamicThreadPool
+FixedClusterPool
+FixedThreadPool
+PoolEmitter
+ThreadWorker
+WorkerChoiceStrategyContext
+ClusterPoolOptions
+IPool
+IWorker
+IWorkerChoiceStrategy
+MessageValue
+PoolOptions
+PromiseResponseWrapper
+RequiredStatistics
+Task
+TasksQueueOptions
+TasksUsage
+WorkerChoiceStrategyOptions
+WorkerNode
+WorkerOptions
+Draft
+ErrorHandler
+ExitHandler
+KillBehavior
+MessageHandler
+OnlineHandler
+PoolEvent
+ThreadWorkerWithMessageChannel
+WorkerAsyncFunction
+WorkerChoiceStrategy
+WorkerFunction
+WorkerSyncFunction
+KillBehaviors
+PoolEvents
+WorkerChoiceStrategies
\ No newline at end of file
Type of worker which manages this pool.