--dark-hl-3: #9CDCFE;
--light-hl-4: #0000FF;
--dark-hl-4: #569CD6;
- --light-hl-5: #0070C1;
- --dark-hl-5: #4FC1FF;
+ --light-hl-5: #AF00DB;
+ --dark-hl-5: #C586C0;
--light-hl-6: #A31515;
--dark-hl-6: #CE9178;
- --light-hl-7: #008000;
- --dark-hl-7: #6A9955;
- --light-hl-8: #AF00DB;
- --dark-hl-8: #C586C0;
+ --light-hl-7: #0070C1;
+ --dark-hl-7: #4FC1FF;
+ --light-hl-8: #008000;
+ --dark-hl-8: #6A9955;
+ --light-hl-9: #267F99;
+ --dark-hl-9: #4EC9B0;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
+ --hl-9: var(--light-hl-9);
--code-background: var(--light-code-background);
} }
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
+ --hl-9: var(--dark-hl-9);
--code-background: var(--dark-code-background);
} }
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
+ --hl-9: var(--light-hl-9);
--code-background: var(--light-code-background);
}
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
+ --hl-9: var(--dark-hl-9);
--code-background: var(--dark-code-background);
}
.hl-6 { color: var(--hl-6); }
.hl-7 { color: var(--hl-7); }
.hl-8 { color: var(--hl-8); }
+.hl-9 { color: var(--hl-9); }
pre, code { background: var(--code-background); }
-window.searchData = JSON.parse("{\"rows\":[{\"kind\":128,\"name\":\"DynamicClusterPool\",\"url\":\"classes/DynamicClusterPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicClusterPool.html#constructor\",\"classes\":\"\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicClusterPool.html#max\",\"classes\":\"\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicClusterPool.html#type\",\"classes\":\"\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/DynamicClusterPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicClusterPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicClusterPool.html#opts\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicClusterPool.html#setupHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicClusterPool.html#isMain\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicClusterPool.html#destroyWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicClusterPool.html#sendToWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicClusterPool.html#createWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/DynamicClusterPool.html#workerNodes\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicClusterPool.html#emitter\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/DynamicClusterPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicClusterPool.html#filePath\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/DynamicClusterPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/DynamicClusterPool.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/DynamicClusterPool.html#setTasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/DynamicClusterPool.html#internalBusy\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicClusterPool.html#execute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicClusterPool.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/DynamicClusterPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/DynamicClusterPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/DynamicClusterPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicClusterPool.html#workerListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"DynamicClusterPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedClusterPool\",\"url\":\"classes/FixedClusterPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedClusterPool.html#constructor\",\"classes\":\"\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedClusterPool.html#opts\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedClusterPool.html#setupHook\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedClusterPool.html#isMain\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedClusterPool.html#destroyWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedClusterPool.html#sendToWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedClusterPool.html#createWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedClusterPool.html#type\",\"classes\":\"\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/FixedClusterPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedClusterPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/FixedClusterPool.html#workerNodes\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedClusterPool.html#emitter\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/FixedClusterPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedClusterPool.html#filePath\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/FixedClusterPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/FixedClusterPool.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/FixedClusterPool.html#setTasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/FixedClusterPool.html#internalBusy\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedClusterPool.html#execute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedClusterPool.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/FixedClusterPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/FixedClusterPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/FixedClusterPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedClusterPool.html#workerListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"FixedClusterPool.workerListener.workerListener\"},{\"kind\":256,\"name\":\"ClusterPoolOptions\",\"url\":\"interfaces/ClusterPoolOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"env\",\"url\":\"interfaces/ClusterPoolOptions.html#env\",\"classes\":\"\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"settings\",\"url\":\"interfaces/ClusterPoolOptions.html#settings\",\"classes\":\"\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#messageHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#errorHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#onlineHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#exitHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyOptions\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/ClusterPoolOptions.html#enableEvents\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/ClusterPoolOptions.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"tasksQueueOptions\",\"url\":\"interfaces/ClusterPoolOptions.html#tasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":128,\"name\":\"AbstractPool\",\"url\":\"classes/AbstractPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbstractPool.html#constructor\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/AbstractPool.html#workerNodes\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/AbstractPool.html#emitter\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/AbstractPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/AbstractPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/AbstractPool.html#numberOfWorkers\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/AbstractPool.html#filePath\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/AbstractPool.html#opts\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkFilePath\",\"url\":\"classes/AbstractPool.html#checkFilePath\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkNumberOfWorkers\",\"url\":\"classes/AbstractPool.html#checkNumberOfWorkers\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkPoolOptions\",\"url\":\"classes/AbstractPool.html#checkPoolOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkValidWorkerChoiceStrategy\",\"url\":\"classes/AbstractPool.html#checkValidWorkerChoiceStrategy\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkValidTasksQueueOptions\",\"url\":\"classes/AbstractPool.html#checkValidTasksQueueOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/AbstractPool.html#type\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/AbstractPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/AbstractPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"getWorkerNodeKey\",\"url\":\"classes/AbstractPool.html#getWorkerNodeKey\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/AbstractPool.html#setWorkerChoiceStrategy\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/AbstractPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/AbstractPool.html#enableTasksQueue\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/AbstractPool.html#setTasksQueueOptions\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"buildTasksQueueOptions\",\"url\":\"classes/AbstractPool.html#buildTasksQueueOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/AbstractPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/AbstractPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/AbstractPool.html#internalBusy\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/AbstractPool.html#execute\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/AbstractPool.html#destroy\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/AbstractPool.html#destroyWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/AbstractPool.html#setupHook\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/AbstractPool.html#isMain\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/AbstractPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/AbstractPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/AbstractPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/AbstractPool.html#sendToWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/AbstractPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/AbstractPool.html#createWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/AbstractPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/AbstractPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/AbstractPool.html#workerListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/AbstractPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"AbstractPool.workerListener.workerListener\"},{\"kind\":2048,\"name\":\"checkAndEmitEvents\",\"url\":\"classes/AbstractPool.html#checkAndEmitEvents\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setWorkerNodeTasksUsage\",\"url\":\"classes/AbstractPool.html#setWorkerNodeTasksUsage\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"getWorkerTasksUsage\",\"url\":\"classes/AbstractPool.html#getWorkerTasksUsage\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"pushWorkerNode\",\"url\":\"classes/AbstractPool.html#pushWorkerNode\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setWorkerNode\",\"url\":\"classes/AbstractPool.html#setWorkerNode\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"removeWorkerNode\",\"url\":\"classes/AbstractPool.html#removeWorkerNode\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"executeTask\",\"url\":\"classes/AbstractPool.html#executeTask\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"enqueueTask\",\"url\":\"classes/AbstractPool.html#enqueueTask\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"dequeueTask\",\"url\":\"classes/AbstractPool.html#dequeueTask\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"tasksQueueSize\",\"url\":\"classes/AbstractPool.html#tasksQueueSize\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"flushTasksQueue\",\"url\":\"classes/AbstractPool.html#flushTasksQueue\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"flushTasksQueueByWorker\",\"url\":\"classes/AbstractPool.html#flushTasksQueueByWorker\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"flushTasksQueues\",\"url\":\"classes/AbstractPool.html#flushTasksQueues\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":32,\"name\":\"PoolEvents\",\"url\":\"variables/PoolEvents.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"IPool\",\"url\":\"interfaces/IPool.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/IPool.html#type\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"interfaces/IPool.html#workerNodes\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"interfaces/IPool.html#emitter\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"execute\",\"url\":\"interfaces/IPool.html#execute\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#execute.__type-4\",\"classes\":\"\",\"parent\":\"IPool.execute\"},{\"kind\":1024,\"name\":\"destroy\",\"url\":\"interfaces/IPool.html#destroy\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#destroy.__type\",\"classes\":\"\",\"parent\":\"IPool.destroy\"},{\"kind\":1024,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy.__type-8\",\"classes\":\"\",\"parent\":\"IPool.setWorkerChoiceStrategy\"},{\"kind\":1024,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategyOptions.__type-10\",\"classes\":\"\",\"parent\":\"IPool.setWorkerChoiceStrategyOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/IPool.html#enableTasksQueue\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#enableTasksQueue.__type-2\",\"classes\":\"\",\"parent\":\"IPool.enableTasksQueue\"},{\"kind\":1024,\"name\":\"setTasksQueueOptions\",\"url\":\"interfaces/IPool.html#setTasksQueueOptions\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#setTasksQueueOptions.__type-6\",\"classes\":\"\",\"parent\":\"IPool.setTasksQueueOptions\"},{\"kind\":128,\"name\":\"PoolEmitter\",\"url\":\"classes/PoolEmitter.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"PoolOptions\",\"url\":\"interfaces/PoolOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/PoolOptions.html#messageHandler\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/PoolOptions.html#errorHandler\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/PoolOptions.html#onlineHandler\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/PoolOptions.html#exitHandler\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategy\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyOptions\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategyOptions\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/PoolOptions.html#enableEvents\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/PoolOptions.html#enableTasksQueue\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"tasksQueueOptions\",\"url\":\"interfaces/PoolOptions.html#tasksQueueOptions\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":4194304,\"name\":\"PoolEvent\",\"url\":\"types/PoolEvent.html\",\"classes\":\"\"},{\"kind\":8,\"name\":\"PoolType\",\"url\":\"enums/PoolType.html\",\"classes\":\"\"},{\"kind\":16,\"name\":\"FIXED\",\"url\":\"enums/PoolType.html#FIXED\",\"classes\":\"\",\"parent\":\"PoolType\"},{\"kind\":16,\"name\":\"DYNAMIC\",\"url\":\"enums/PoolType.html#DYNAMIC\",\"classes\":\"\",\"parent\":\"PoolType\"},{\"kind\":256,\"name\":\"TasksQueueOptions\",\"url\":\"interfaces/TasksQueueOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"concurrency\",\"url\":\"interfaces/TasksQueueOptions.html#concurrency\",\"classes\":\"\",\"parent\":\"TasksQueueOptions\"},{\"kind\":4194304,\"name\":\"ErrorHandler\",\"url\":\"types/ErrorHandler.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ErrorHandler.html#__type\",\"classes\":\"\",\"parent\":\"ErrorHandler\"},{\"kind\":4194304,\"name\":\"ExitHandler\",\"url\":\"types/ExitHandler.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ExitHandler.html#__type\",\"classes\":\"\",\"parent\":\"ExitHandler\"},{\"kind\":256,\"name\":\"IWorker\",\"url\":\"interfaces/IWorker.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"on\",\"url\":\"interfaces/IWorker.html#on\",\"classes\":\"\",\"parent\":\"IWorker\"},{\"kind\":1024,\"name\":\"once\",\"url\":\"interfaces/IWorker.html#once\",\"classes\":\"\",\"parent\":\"IWorker\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorker.html#once.__type\",\"classes\":\"\",\"parent\":\"IWorker.once\"},{\"kind\":4194304,\"name\":\"MessageHandler\",\"url\":\"types/MessageHandler.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MessageHandler.html#__type\",\"classes\":\"\",\"parent\":\"MessageHandler\"},{\"kind\":4194304,\"name\":\"OnlineHandler\",\"url\":\"types/OnlineHandler.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/OnlineHandler.html#__type\",\"classes\":\"\",\"parent\":\"OnlineHandler\"},{\"kind\":256,\"name\":\"Task\",\"url\":\"interfaces/Task.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"interfaces/Task.html#data\",\"classes\":\"\",\"parent\":\"Task\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/Task.html#id\",\"classes\":\"\",\"parent\":\"Task\"},{\"kind\":256,\"name\":\"TasksUsage\",\"url\":\"interfaces/TasksUsage.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"run\",\"url\":\"interfaces/TasksUsage.html#run\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"running\",\"url\":\"interfaces/TasksUsage.html#running\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"runTime\",\"url\":\"interfaces/TasksUsage.html#runTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"runTimeHistory\",\"url\":\"interfaces/TasksUsage.html#runTimeHistory\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"avgRunTime\",\"url\":\"interfaces/TasksUsage.html#avgRunTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"medRunTime\",\"url\":\"interfaces/TasksUsage.html#medRunTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/TasksUsage.html#error\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":256,\"name\":\"WorkerNode\",\"url\":\"interfaces/WorkerNode.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"worker\",\"url\":\"interfaces/WorkerNode.html#worker\",\"classes\":\"\",\"parent\":\"WorkerNode\"},{\"kind\":1024,\"name\":\"tasksUsage\",\"url\":\"interfaces/WorkerNode.html#tasksUsage\",\"classes\":\"\",\"parent\":\"WorkerNode\"},{\"kind\":1024,\"name\":\"tasksQueue\",\"url\":\"interfaces/WorkerNode.html#tasksQueue\",\"classes\":\"\",\"parent\":\"WorkerNode\"},{\"kind\":32,\"name\":\"WorkerChoiceStrategies\",\"url\":\"variables/WorkerChoiceStrategies.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"IWorkerChoiceStrategy\",\"url\":\"interfaces/IWorkerChoiceStrategy.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"requiredStatistics\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#requiredStatistics\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":1024,\"name\":\"reset\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#reset\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#reset.__type-4\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.reset\"},{\"kind\":1024,\"name\":\"choose\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#choose\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#choose.__type\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.choose\"},{\"kind\":1024,\"name\":\"remove\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#remove\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#remove.__type-2\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.remove\"},{\"kind\":1024,\"name\":\"setOptions\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#setOptions\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#setOptions.__type-6\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.setOptions\"},{\"kind\":256,\"name\":\"RequiredStatistics\",\"url\":\"interfaces/RequiredStatistics.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"runTime\",\"url\":\"interfaces/RequiredStatistics.html#runTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":1024,\"name\":\"avgRunTime\",\"url\":\"interfaces/RequiredStatistics.html#avgRunTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":1024,\"name\":\"medRunTime\",\"url\":\"interfaces/RequiredStatistics.html#medRunTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":4194304,\"name\":\"WorkerChoiceStrategy\",\"url\":\"types/WorkerChoiceStrategy.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"WorkerChoiceStrategyOptions\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"medRunTime\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html#medRunTime\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyOptions\"},{\"kind\":128,\"name\":\"WorkerChoiceStrategyContext\",\"url\":\"classes/WorkerChoiceStrategyContext.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/WorkerChoiceStrategyContext.html#constructor\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":1024,\"name\":\"workerChoiceStrategies\",\"url\":\"classes/WorkerChoiceStrategyContext.html#workerChoiceStrategies\",\"classes\":\"tsd-is-private\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"classes/WorkerChoiceStrategyContext.html#workerChoiceStrategy\",\"classes\":\"tsd-is-private\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"getRequiredStatistics\",\"url\":\"classes/WorkerChoiceStrategyContext.html#getRequiredStatistics\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/WorkerChoiceStrategyContext.html#setWorkerChoiceStrategy\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/WorkerChoiceStrategyContext.html#execute\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/WorkerChoiceStrategyContext.html#remove\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"setOptions\",\"url\":\"classes/WorkerChoiceStrategyContext.html#setOptions\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":128,\"name\":\"DynamicThreadPool\",\"url\":\"classes/DynamicThreadPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicThreadPool.html#constructor\",\"classes\":\"\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicThreadPool.html#max\",\"classes\":\"\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicThreadPool.html#type\",\"classes\":\"\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/DynamicThreadPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicThreadPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicThreadPool.html#isMain\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicThreadPool.html#destroyWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicThreadPool.html#sendToWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicThreadPool.html#createWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/DynamicThreadPool.html#workerNodes\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicThreadPool.html#emitter\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/DynamicThreadPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicThreadPool.html#filePath\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicThreadPool.html#opts\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/DynamicThreadPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/DynamicThreadPool.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/DynamicThreadPool.html#setTasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/DynamicThreadPool.html#internalBusy\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicThreadPool.html#execute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicThreadPool.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicThreadPool.html#setupHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/DynamicThreadPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/DynamicThreadPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/DynamicThreadPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicThreadPool.html#workerListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"DynamicThreadPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedThreadPool\",\"url\":\"classes/FixedThreadPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedThreadPool.html#constructor\",\"classes\":\"\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedThreadPool.html#isMain\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedThreadPool.html#destroyWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedThreadPool.html#sendToWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedThreadPool.html#createWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedThreadPool.html#type\",\"classes\":\"\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/FixedThreadPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedThreadPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/FixedThreadPool.html#workerNodes\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedThreadPool.html#emitter\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/FixedThreadPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedThreadPool.html#filePath\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedThreadPool.html#opts\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/FixedThreadPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/FixedThreadPool.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/FixedThreadPool.html#setTasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/FixedThreadPool.html#internalBusy\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedThreadPool.html#execute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedThreadPool.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedThreadPool.html#setupHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/FixedThreadPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/FixedThreadPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/FixedThreadPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedThreadPool.html#workerListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"FixedThreadPool.workerListener.workerListener\"},{\"kind\":4194304,\"name\":\"ThreadWorkerWithMessageChannel\",\"url\":\"types/ThreadWorkerWithMessageChannel.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"AbstractWorker\",\"url\":\"classes/AbstractWorker.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbstractWorker.html#constructor\",\"classes\":\"\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/AbstractWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/AbstractWorker.html#aliveInterval\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/AbstractWorker.html#isMain\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/AbstractWorker.html#mainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/AbstractWorker.html#opts\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkWorkerOptions\",\"url\":\"classes/AbstractWorker.html#checkWorkerOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkFunctionInput\",\"url\":\"classes/AbstractWorker.html#checkFunctionInput\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/AbstractWorker.html#messageListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/AbstractWorker.html#getMainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/AbstractWorker.html#sendToMainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/AbstractWorker.html#checkAlive\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/AbstractWorker.html#handleError\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/AbstractWorker.html#run\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/AbstractWorker.html#runAsync\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":128,\"name\":\"ClusterWorker\",\"url\":\"classes/ClusterWorker.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClusterWorker.html#constructor\",\"classes\":\"\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ClusterWorker.html#sendToMainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ClusterWorker.html#handleError\",\"classes\":\"tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ClusterWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ClusterWorker.html#aliveInterval\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/ClusterWorker.html#isMain\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ClusterWorker.html#mainWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ClusterWorker.html#opts\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ClusterWorker.html#messageListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ClusterWorker.html#getMainWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ClusterWorker.html#checkAlive\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ClusterWorker.html#run\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ClusterWorker.html#runAsync\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":128,\"name\":\"ThreadWorker\",\"url\":\"classes/ThreadWorker.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ThreadWorker.html#constructor\",\"classes\":\"\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ThreadWorker.html#sendToMainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ThreadWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ThreadWorker.html#aliveInterval\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/ThreadWorker.html#isMain\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ThreadWorker.html#mainWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ThreadWorker.html#opts\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ThreadWorker.html#messageListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ThreadWorker.html#getMainWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ThreadWorker.html#checkAlive\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ThreadWorker.html#handleError\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ThreadWorker.html#run\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ThreadWorker.html#runAsync\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":32,\"name\":\"KillBehaviors\",\"url\":\"variables/KillBehaviors.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"KillBehavior\",\"url\":\"types/KillBehavior.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"WorkerOptions\",\"url\":\"interfaces/WorkerOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"maxInactiveTime\",\"url\":\"interfaces/WorkerOptions.html#maxInactiveTime\",\"classes\":\"\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"async\",\"url\":\"interfaces/WorkerOptions.html#async\",\"classes\":\"\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"killBehavior\",\"url\":\"interfaces/WorkerOptions.html#killBehavior\",\"classes\":\"\",\"parent\":\"WorkerOptions\"},{\"kind\":4194304,\"name\":\"Draft\",\"url\":\"types/Draft.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"PromiseResponseWrapper\",\"url\":\"interfaces/PromiseResponseWrapper.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"resolve\",\"url\":\"interfaces/PromiseResponseWrapper.html#resolve\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/PromiseResponseWrapper.html#resolve.__type-2\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper.resolve\"},{\"kind\":1024,\"name\":\"reject\",\"url\":\"interfaces/PromiseResponseWrapper.html#reject\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/PromiseResponseWrapper.html#reject.__type\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper.reject\"},{\"kind\":1024,\"name\":\"worker\",\"url\":\"interfaces/PromiseResponseWrapper.html#worker\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper\"},{\"kind\":256,\"name\":\"MessageValue\",\"url\":\"interfaces/MessageValue.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"kill\",\"url\":\"interfaces/MessageValue.html#kill\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/MessageValue.html#error\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"runTime\",\"url\":\"interfaces/MessageValue.html#runTime\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"parent\",\"url\":\"interfaces/MessageValue.html#parent\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"interfaces/MessageValue.html#data\",\"classes\":\"tsd-is-inherited\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/MessageValue.html#id\",\"classes\":\"tsd-is-inherited\",\"parent\":\"MessageValue\"},{\"kind\":4194304,\"name\":\"WorkerAsyncFunction\",\"url\":\"types/WorkerAsyncFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/WorkerAsyncFunction.html#__type\",\"classes\":\"\",\"parent\":\"WorkerAsyncFunction\"},{\"kind\":4194304,\"name\":\"WorkerFunction\",\"url\":\"types/WorkerFunction.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"WorkerSyncFunction\",\"url\":\"types/WorkerSyncFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/WorkerSyncFunction.html#__type\",\"classes\":\"\",\"parent\":\"WorkerSyncFunction\"},{\"kind\":128,\"name\":\"CircularArray\",\"url\":\"classes/CircularArray.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/CircularArray.html#constructor\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":1024,\"name\":\"size\",\"url\":\"classes/CircularArray.html#size\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"push\",\"url\":\"classes/CircularArray.html#push-1\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"unshift\",\"url\":\"classes/CircularArray.html#unshift-1\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"concat\",\"url\":\"classes/CircularArray.html#concat-1\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"splice\",\"url\":\"classes/CircularArray.html#splice-1\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"resize\",\"url\":\"classes/CircularArray.html#resize\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"empty\",\"url\":\"classes/CircularArray.html#empty\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"full\",\"url\":\"classes/CircularArray.html#full\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"checkSize\",\"url\":\"classes/CircularArray.html#checkSize\",\"classes\":\"tsd-is-private\",\"parent\":\"CircularArray\"},{\"kind\":128,\"name\":\"Queue\",\"url\":\"classes/Queue.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Queue.html#constructor\",\"classes\":\"\",\"parent\":\"Queue\"},{\"kind\":1024,\"name\":\"items\",\"url\":\"classes/Queue.html#items\",\"classes\":\"tsd-is-private\",\"parent\":\"Queue\"},{\"kind\":1024,\"name\":\"head\",\"url\":\"classes/Queue.html#head\",\"classes\":\"tsd-is-private\",\"parent\":\"Queue\"},{\"kind\":1024,\"name\":\"tail\",\"url\":\"classes/Queue.html#tail\",\"classes\":\"tsd-is-private\",\"parent\":\"Queue\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/Queue.html#size\",\"classes\":\"\",\"parent\":\"Queue\"},{\"kind\":2048,\"name\":\"enqueue\",\"url\":\"classes/Queue.html#enqueue\",\"classes\":\"\",\"parent\":\"Queue\"},{\"kind\":2048,\"name\":\"dequeue\",\"url\":\"classes/Queue.html#dequeue\",\"classes\":\"\",\"parent\":\"Queue\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,55.4]],[\"comment/0\",[]],[\"name/1\",[1,35.031]],[\"comment/1\",[]],[\"name/2\",[2,50.291]],[\"comment/2\",[]],[\"name/3\",[3,40.736]],[\"comment/3\",[]],[\"name/4\",[4,40.736]],[\"comment/4\",[]],[\"name/5\",[5,42.407]],[\"comment/5\",[]],[\"name/6\",[6,38.054]],[\"comment/6\",[]],[\"name/7\",[7,42.407]],[\"comment/7\",[]],[\"name/8\",[8,38.054]],[\"comment/8\",[]],[\"name/9\",[9,42.407]],[\"comment/9\",[]],[\"name/10\",[10,42.407]],[\"comment/10\",[]],[\"name/11\",[11,42.407]],[\"comment/11\",[]],[\"name/12\",[12,42.407]],[\"comment/12\",[]],[\"name/13\",[13,42.407]],[\"comment/13\",[]],[\"name/14\",[14,40.736]],[\"comment/14\",[]],[\"name/15\",[15,40.736]],[\"comment/15\",[]],[\"name/16\",[16,42.407]],[\"comment/16\",[]],[\"name/17\",[17,40.736]],[\"comment/17\",[]],[\"name/18\",[18,42.407]],[\"comment/18\",[]],[\"name/19\",[19,42.407]],[\"comment/19\",[]],[\"name/20\",[20,42.407]],[\"comment/20\",[]],[\"name/21\",[21,42.407]],[\"comment/21\",[]],[\"name/22\",[22,39.305]],[\"comment/22\",[]],[\"name/23\",[23,40.736]],[\"comment/23\",[]],[\"name/24\",[24,38.054]],[\"comment/24\",[]],[\"name/25\",[25,40.736]],[\"comment/25\",[]],[\"name/26\",[26,42.407]],[\"comment/26\",[]],[\"name/27\",[27,39.305]],[\"comment/27\",[]],[\"name/28\",[28,40.736]],[\"comment/28\",[]],[\"name/29\",[29,42.407]],[\"comment/29\",[]],[\"name/30\",[30,42.407]],[\"comment/30\",[]],[\"name/31\",[31,42.407]],[\"comment/31\",[]],[\"name/32\",[32,42.407]],[\"comment/32\",[]],[\"name/33\",[33,42.407]],[\"comment/33\",[]],[\"name/34\",[34,27.467]],[\"comment/34\",[]],[\"name/35\",[35,55.4]],[\"comment/35\",[]],[\"name/36\",[1,35.031]],[\"comment/36\",[]],[\"name/37\",[6,38.054]],[\"comment/37\",[]],[\"name/38\",[7,42.407]],[\"comment/38\",[]],[\"name/39\",[8,38.054]],[\"comment/39\",[]],[\"name/40\",[9,42.407]],[\"comment/40\",[]],[\"name/41\",[10,42.407]],[\"comment/41\",[]],[\"name/42\",[11,42.407]],[\"comment/42\",[]],[\"name/43\",[12,42.407]],[\"comment/43\",[]],[\"name/44\",[13,42.407]],[\"comment/44\",[]],[\"name/45\",[3,40.736]],[\"comment/45\",[]],[\"name/46\",[4,40.736]],[\"comment/46\",[]],[\"name/47\",[5,42.407]],[\"comment/47\",[]],[\"name/48\",[14,40.736]],[\"comment/48\",[]],[\"name/49\",[15,40.736]],[\"comment/49\",[]],[\"name/50\",[16,42.407]],[\"comment/50\",[]],[\"name/51\",[17,40.736]],[\"comment/51\",[]],[\"name/52\",[18,42.407]],[\"comment/52\",[]],[\"name/53\",[19,42.407]],[\"comment/53\",[]],[\"name/54\",[20,42.407]],[\"comment/54\",[]],[\"name/55\",[21,42.407]],[\"comment/55\",[]],[\"name/56\",[22,39.305]],[\"comment/56\",[]],[\"name/57\",[23,40.736]],[\"comment/57\",[]],[\"name/58\",[24,38.054]],[\"comment/58\",[]],[\"name/59\",[25,40.736]],[\"comment/59\",[]],[\"name/60\",[26,42.407]],[\"comment/60\",[]],[\"name/61\",[27,39.305]],[\"comment/61\",[]],[\"name/62\",[28,40.736]],[\"comment/62\",[]],[\"name/63\",[29,42.407]],[\"comment/63\",[]],[\"name/64\",[30,42.407]],[\"comment/64\",[]],[\"name/65\",[31,42.407]],[\"comment/65\",[]],[\"name/66\",[32,42.407]],[\"comment/66\",[]],[\"name/67\",[33,42.407]],[\"comment/67\",[]],[\"name/68\",[34,27.467]],[\"comment/68\",[]],[\"name/69\",[36,55.4]],[\"comment/69\",[]],[\"name/70\",[37,55.4]],[\"comment/70\",[]],[\"name/71\",[38,55.4]],[\"comment/71\",[]],[\"name/72\",[39,46.927]],[\"comment/72\",[]],[\"name/73\",[40,46.927]],[\"comment/73\",[]],[\"name/74\",[41,46.927]],[\"comment/74\",[]],[\"name/75\",[42,46.927]],[\"comment/75\",[]],[\"name/76\",[43,44.413]],[\"comment/76\",[]],[\"name/77\",[44,46.927]],[\"comment/77\",[]],[\"name/78\",[45,50.291]],[\"comment/78\",[]],[\"name/79\",[24,38.054]],[\"comment/79\",[]],[\"name/80\",[46,46.927]],[\"comment/80\",[]],[\"name/81\",[47,55.4]],[\"comment/81\",[]],[\"name/82\",[1,35.031]],[\"comment/82\",[]],[\"name/83\",[14,40.736]],[\"comment/83\",[]],[\"name/84\",[15,40.736]],[\"comment/84\",[]],[\"name/85\",[16,42.407]],[\"comment/85\",[]],[\"name/86\",[17,40.736]],[\"comment/86\",[]],[\"name/87\",[18,42.407]],[\"comment/87\",[]],[\"name/88\",[19,42.407]],[\"comment/88\",[]],[\"name/89\",[6,38.054]],[\"comment/89\",[]],[\"name/90\",[48,55.4]],[\"comment/90\",[]],[\"name/91\",[49,55.4]],[\"comment/91\",[]],[\"name/92\",[50,55.4]],[\"comment/92\",[]],[\"name/93\",[51,55.4]],[\"comment/93\",[]],[\"name/94\",[52,55.4]],[\"comment/94\",[]],[\"name/95\",[3,40.736]],[\"comment/95\",[]],[\"name/96\",[20,42.407]],[\"comment/96\",[]],[\"name/97\",[21,42.407]],[\"comment/97\",[]],[\"name/98\",[53,55.4]],[\"comment/98\",[]],[\"name/99\",[22,39.305]],[\"comment/99\",[]],[\"name/100\",[23,40.736]],[\"comment/100\",[]],[\"name/101\",[24,38.054]],[\"comment/101\",[]],[\"name/102\",[25,40.736]],[\"comment/102\",[]],[\"name/103\",[54,55.4]],[\"comment/103\",[]],[\"name/104\",[4,40.736]],[\"comment/104\",[]],[\"name/105\",[5,42.407]],[\"comment/105\",[]],[\"name/106\",[26,42.407]],[\"comment/106\",[]],[\"name/107\",[27,39.305]],[\"comment/107\",[]],[\"name/108\",[28,40.736]],[\"comment/108\",[]],[\"name/109\",[9,42.407]],[\"comment/109\",[]],[\"name/110\",[7,42.407]],[\"comment/110\",[]],[\"name/111\",[8,38.054]],[\"comment/111\",[]],[\"name/112\",[29,42.407]],[\"comment/112\",[]],[\"name/113\",[30,42.407]],[\"comment/113\",[]],[\"name/114\",[31,42.407]],[\"comment/114\",[]],[\"name/115\",[10,42.407]],[\"comment/115\",[]],[\"name/116\",[11,42.407]],[\"comment/116\",[]],[\"name/117\",[12,42.407]],[\"comment/117\",[]],[\"name/118\",[13,42.407]],[\"comment/118\",[]],[\"name/119\",[32,42.407]],[\"comment/119\",[]],[\"name/120\",[33,42.407]],[\"comment/120\",[]],[\"name/121\",[34,27.467]],[\"comment/121\",[]],[\"name/122\",[55,55.4]],[\"comment/122\",[]],[\"name/123\",[56,55.4]],[\"comment/123\",[]],[\"name/124\",[57,55.4]],[\"comment/124\",[]],[\"name/125\",[58,55.4]],[\"comment/125\",[]],[\"name/126\",[59,55.4]],[\"comment/126\",[]],[\"name/127\",[60,55.4]],[\"comment/127\",[]],[\"name/128\",[61,55.4]],[\"comment/128\",[]],[\"name/129\",[62,55.4]],[\"comment/129\",[]],[\"name/130\",[63,55.4]],[\"comment/130\",[]],[\"name/131\",[64,55.4]],[\"comment/131\",[]],[\"name/132\",[65,55.4]],[\"comment/132\",[]],[\"name/133\",[66,55.4]],[\"comment/133\",[]],[\"name/134\",[67,55.4]],[\"comment/134\",[]],[\"name/135\",[68,55.4]],[\"comment/135\",[]],[\"name/136\",[69,55.4]],[\"comment/136\",[]],[\"name/137\",[3,40.736]],[\"comment/137\",[]],[\"name/138\",[14,40.736]],[\"comment/138\",[]],[\"name/139\",[15,40.736]],[\"comment/139\",[]],[\"name/140\",[27,39.305]],[\"comment/140\",[]],[\"name/141\",[34,27.467]],[\"comment/141\",[]],[\"name/142\",[28,40.736]],[\"comment/142\",[]],[\"name/143\",[34,27.467]],[\"comment/143\",[]],[\"name/144\",[22,39.305]],[\"comment/144\",[]],[\"name/145\",[34,27.467]],[\"comment/145\",[]],[\"name/146\",[23,40.736]],[\"comment/146\",[]],[\"name/147\",[34,27.467]],[\"comment/147\",[]],[\"name/148\",[24,38.054]],[\"comment/148\",[]],[\"name/149\",[34,27.467]],[\"comment/149\",[]],[\"name/150\",[25,40.736]],[\"comment/150\",[]],[\"name/151\",[34,27.467]],[\"comment/151\",[]],[\"name/152\",[70,55.4]],[\"comment/152\",[]],[\"name/153\",[71,55.4]],[\"comment/153\",[]],[\"name/154\",[39,46.927]],[\"comment/154\",[]],[\"name/155\",[40,46.927]],[\"comment/155\",[]],[\"name/156\",[41,46.927]],[\"comment/156\",[]],[\"name/157\",[42,46.927]],[\"comment/157\",[]],[\"name/158\",[43,44.413]],[\"comment/158\",[]],[\"name/159\",[44,46.927]],[\"comment/159\",[]],[\"name/160\",[45,50.291]],[\"comment/160\",[]],[\"name/161\",[24,38.054]],[\"comment/161\",[]],[\"name/162\",[46,46.927]],[\"comment/162\",[]],[\"name/163\",[72,55.4]],[\"comment/163\",[]],[\"name/164\",[73,55.4]],[\"comment/164\",[]],[\"name/165\",[74,55.4]],[\"comment/165\",[]],[\"name/166\",[75,55.4]],[\"comment/166\",[]],[\"name/167\",[46,46.927]],[\"comment/167\",[]],[\"name/168\",[76,55.4]],[\"comment/168\",[]],[\"name/169\",[40,46.927]],[\"comment/169\",[]],[\"name/170\",[34,27.467]],[\"comment/170\",[]],[\"name/171\",[42,46.927]],[\"comment/171\",[]],[\"name/172\",[34,27.467]],[\"comment/172\",[]],[\"name/173\",[77,55.4]],[\"comment/173\",[]],[\"name/174\",[78,55.4]],[\"comment/174\",[]],[\"name/175\",[79,55.4]],[\"comment/175\",[]],[\"name/176\",[34,27.467]],[\"comment/176\",[]],[\"name/177\",[39,46.927]],[\"comment/177\",[]],[\"name/178\",[34,27.467]],[\"comment/178\",[]],[\"name/179\",[41,46.927]],[\"comment/179\",[]],[\"name/180\",[34,27.467]],[\"comment/180\",[]],[\"name/181\",[80,55.4]],[\"comment/181\",[]],[\"name/182\",[81,50.291]],[\"comment/182\",[]],[\"name/183\",[82,50.291]],[\"comment/183\",[]],[\"name/184\",[83,50.291]],[\"comment/184\",[]],[\"name/185\",[84,44.413]],[\"comment/185\",[]],[\"name/186\",[85,55.4]],[\"comment/186\",[]],[\"name/187\",[86,46.927]],[\"comment/187\",[]],[\"name/188\",[87,55.4]],[\"comment/188\",[]],[\"name/189\",[88,50.291]],[\"comment/189\",[]],[\"name/190\",[89,46.927]],[\"comment/190\",[]],[\"name/191\",[90,50.291]],[\"comment/191\",[]],[\"name/192\",[91,55.4]],[\"comment/192\",[]],[\"name/193\",[92,50.291]],[\"comment/193\",[]],[\"name/194\",[83,50.291]],[\"comment/194\",[]],[\"name/195\",[93,55.4]],[\"comment/195\",[]],[\"name/196\",[94,50.291]],[\"comment/196\",[]],[\"name/197\",[95,55.4]],[\"comment/197\",[]],[\"name/198\",[96,50.291]],[\"comment/198\",[]],[\"name/199\",[97,55.4]],[\"comment/199\",[]],[\"name/200\",[34,27.467]],[\"comment/200\",[]],[\"name/201\",[98,55.4]],[\"comment/201\",[]],[\"name/202\",[34,27.467]],[\"comment/202\",[]],[\"name/203\",[99,50.291]],[\"comment/203\",[]],[\"name/204\",[34,27.467]],[\"comment/204\",[]],[\"name/205\",[100,50.291]],[\"comment/205\",[]],[\"name/206\",[34,27.467]],[\"comment/206\",[]],[\"name/207\",[96,50.291]],[\"comment/207\",[]],[\"name/208\",[86,46.927]],[\"comment/208\",[]],[\"name/209\",[88,50.291]],[\"comment/209\",[]],[\"name/210\",[89,46.927]],[\"comment/210\",[]],[\"name/211\",[43,44.413]],[\"comment/211\",[]],[\"name/212\",[44,46.927]],[\"comment/212\",[]],[\"name/213\",[89,46.927]],[\"comment/213\",[]],[\"name/214\",[17,40.736]],[\"comment/214\",[]],[\"name/215\",[1,35.031]],[\"comment/215\",[]],[\"name/216\",[94,50.291]],[\"comment/216\",[]],[\"name/217\",[43,44.413]],[\"comment/217\",[]],[\"name/218\",[101,55.4]],[\"comment/218\",[]],[\"name/219\",[22,39.305]],[\"comment/219\",[]],[\"name/220\",[27,39.305]],[\"comment/220\",[]],[\"name/221\",[99,50.291]],[\"comment/221\",[]],[\"name/222\",[100,50.291]],[\"comment/222\",[]],[\"name/223\",[102,55.4]],[\"comment/223\",[]],[\"name/224\",[1,35.031]],[\"comment/224\",[]],[\"name/225\",[2,50.291]],[\"comment/225\",[]],[\"name/226\",[3,40.736]],[\"comment/226\",[]],[\"name/227\",[4,40.736]],[\"comment/227\",[]],[\"name/228\",[5,42.407]],[\"comment/228\",[]],[\"name/229\",[8,38.054]],[\"comment/229\",[]],[\"name/230\",[9,42.407]],[\"comment/230\",[]],[\"name/231\",[10,42.407]],[\"comment/231\",[]],[\"name/232\",[11,42.407]],[\"comment/232\",[]],[\"name/233\",[12,42.407]],[\"comment/233\",[]],[\"name/234\",[13,42.407]],[\"comment/234\",[]],[\"name/235\",[14,40.736]],[\"comment/235\",[]],[\"name/236\",[15,40.736]],[\"comment/236\",[]],[\"name/237\",[16,42.407]],[\"comment/237\",[]],[\"name/238\",[17,40.736]],[\"comment/238\",[]],[\"name/239\",[18,42.407]],[\"comment/239\",[]],[\"name/240\",[19,42.407]],[\"comment/240\",[]],[\"name/241\",[6,38.054]],[\"comment/241\",[]],[\"name/242\",[20,42.407]],[\"comment/242\",[]],[\"name/243\",[21,42.407]],[\"comment/243\",[]],[\"name/244\",[22,39.305]],[\"comment/244\",[]],[\"name/245\",[23,40.736]],[\"comment/245\",[]],[\"name/246\",[24,38.054]],[\"comment/246\",[]],[\"name/247\",[25,40.736]],[\"comment/247\",[]],[\"name/248\",[26,42.407]],[\"comment/248\",[]],[\"name/249\",[27,39.305]],[\"comment/249\",[]],[\"name/250\",[28,40.736]],[\"comment/250\",[]],[\"name/251\",[7,42.407]],[\"comment/251\",[]],[\"name/252\",[29,42.407]],[\"comment/252\",[]],[\"name/253\",[30,42.407]],[\"comment/253\",[]],[\"name/254\",[31,42.407]],[\"comment/254\",[]],[\"name/255\",[32,42.407]],[\"comment/255\",[]],[\"name/256\",[33,42.407]],[\"comment/256\",[]],[\"name/257\",[34,27.467]],[\"comment/257\",[]],[\"name/258\",[103,55.4]],[\"comment/258\",[]],[\"name/259\",[1,35.031]],[\"comment/259\",[]],[\"name/260\",[8,38.054]],[\"comment/260\",[]],[\"name/261\",[9,42.407]],[\"comment/261\",[]],[\"name/262\",[10,42.407]],[\"comment/262\",[]],[\"name/263\",[11,42.407]],[\"comment/263\",[]],[\"name/264\",[12,42.407]],[\"comment/264\",[]],[\"name/265\",[13,42.407]],[\"comment/265\",[]],[\"name/266\",[3,40.736]],[\"comment/266\",[]],[\"name/267\",[4,40.736]],[\"comment/267\",[]],[\"name/268\",[5,42.407]],[\"comment/268\",[]],[\"name/269\",[14,40.736]],[\"comment/269\",[]],[\"name/270\",[15,40.736]],[\"comment/270\",[]],[\"name/271\",[16,42.407]],[\"comment/271\",[]],[\"name/272\",[17,40.736]],[\"comment/272\",[]],[\"name/273\",[18,42.407]],[\"comment/273\",[]],[\"name/274\",[19,42.407]],[\"comment/274\",[]],[\"name/275\",[6,38.054]],[\"comment/275\",[]],[\"name/276\",[20,42.407]],[\"comment/276\",[]],[\"name/277\",[21,42.407]],[\"comment/277\",[]],[\"name/278\",[22,39.305]],[\"comment/278\",[]],[\"name/279\",[23,40.736]],[\"comment/279\",[]],[\"name/280\",[24,38.054]],[\"comment/280\",[]],[\"name/281\",[25,40.736]],[\"comment/281\",[]],[\"name/282\",[26,42.407]],[\"comment/282\",[]],[\"name/283\",[27,39.305]],[\"comment/283\",[]],[\"name/284\",[28,40.736]],[\"comment/284\",[]],[\"name/285\",[7,42.407]],[\"comment/285\",[]],[\"name/286\",[29,42.407]],[\"comment/286\",[]],[\"name/287\",[30,42.407]],[\"comment/287\",[]],[\"name/288\",[31,42.407]],[\"comment/288\",[]],[\"name/289\",[32,42.407]],[\"comment/289\",[]],[\"name/290\",[33,42.407]],[\"comment/290\",[]],[\"name/291\",[34,27.467]],[\"comment/291\",[]],[\"name/292\",[104,55.4]],[\"comment/292\",[]],[\"name/293\",[105,55.4]],[\"comment/293\",[]],[\"name/294\",[1,35.031]],[\"comment/294\",[]],[\"name/295\",[106,46.927]],[\"comment/295\",[]],[\"name/296\",[107,46.927]],[\"comment/296\",[]],[\"name/297\",[8,38.054]],[\"comment/297\",[]],[\"name/298\",[108,46.927]],[\"comment/298\",[]],[\"name/299\",[6,38.054]],[\"comment/299\",[]],[\"name/300\",[109,55.4]],[\"comment/300\",[]],[\"name/301\",[110,55.4]],[\"comment/301\",[]],[\"name/302\",[111,46.927]],[\"comment/302\",[]],[\"name/303\",[112,46.927]],[\"comment/303\",[]],[\"name/304\",[113,46.927]],[\"comment/304\",[]],[\"name/305\",[114,46.927]],[\"comment/305\",[]],[\"name/306\",[115,46.927]],[\"comment/306\",[]],[\"name/307\",[84,44.413]],[\"comment/307\",[]],[\"name/308\",[116,46.927]],[\"comment/308\",[]],[\"name/309\",[117,55.4]],[\"comment/309\",[]],[\"name/310\",[1,35.031]],[\"comment/310\",[]],[\"name/311\",[113,46.927]],[\"comment/311\",[]],[\"name/312\",[115,46.927]],[\"comment/312\",[]],[\"name/313\",[106,46.927]],[\"comment/313\",[]],[\"name/314\",[107,46.927]],[\"comment/314\",[]],[\"name/315\",[8,38.054]],[\"comment/315\",[]],[\"name/316\",[108,46.927]],[\"comment/316\",[]],[\"name/317\",[6,38.054]],[\"comment/317\",[]],[\"name/318\",[111,46.927]],[\"comment/318\",[]],[\"name/319\",[112,46.927]],[\"comment/319\",[]],[\"name/320\",[114,46.927]],[\"comment/320\",[]],[\"name/321\",[84,44.413]],[\"comment/321\",[]],[\"name/322\",[116,46.927]],[\"comment/322\",[]],[\"name/323\",[118,55.4]],[\"comment/323\",[]],[\"name/324\",[1,35.031]],[\"comment/324\",[]],[\"name/325\",[113,46.927]],[\"comment/325\",[]],[\"name/326\",[106,46.927]],[\"comment/326\",[]],[\"name/327\",[107,46.927]],[\"comment/327\",[]],[\"name/328\",[8,38.054]],[\"comment/328\",[]],[\"name/329\",[108,46.927]],[\"comment/329\",[]],[\"name/330\",[6,38.054]],[\"comment/330\",[]],[\"name/331\",[111,46.927]],[\"comment/331\",[]],[\"name/332\",[112,46.927]],[\"comment/332\",[]],[\"name/333\",[114,46.927]],[\"comment/333\",[]],[\"name/334\",[115,46.927]],[\"comment/334\",[]],[\"name/335\",[84,44.413]],[\"comment/335\",[]],[\"name/336\",[116,46.927]],[\"comment/336\",[]],[\"name/337\",[119,55.4]],[\"comment/337\",[]],[\"name/338\",[120,50.291]],[\"comment/338\",[]],[\"name/339\",[121,55.4]],[\"comment/339\",[]],[\"name/340\",[122,55.4]],[\"comment/340\",[]],[\"name/341\",[123,55.4]],[\"comment/341\",[]],[\"name/342\",[120,50.291]],[\"comment/342\",[]],[\"name/343\",[124,55.4]],[\"comment/343\",[]],[\"name/344\",[125,55.4]],[\"comment/344\",[]],[\"name/345\",[126,55.4]],[\"comment/345\",[]],[\"name/346\",[34,27.467]],[\"comment/346\",[]],[\"name/347\",[127,55.4]],[\"comment/347\",[]],[\"name/348\",[34,27.467]],[\"comment/348\",[]],[\"name/349\",[92,50.291]],[\"comment/349\",[]],[\"name/350\",[128,55.4]],[\"comment/350\",[]],[\"name/351\",[129,55.4]],[\"comment/351\",[]],[\"name/352\",[90,50.291]],[\"comment/352\",[]],[\"name/353\",[86,46.927]],[\"comment/353\",[]],[\"name/354\",[130,55.4]],[\"comment/354\",[]],[\"name/355\",[81,50.291]],[\"comment/355\",[]],[\"name/356\",[82,50.291]],[\"comment/356\",[]],[\"name/357\",[131,55.4]],[\"comment/357\",[]],[\"name/358\",[34,27.467]],[\"comment/358\",[]],[\"name/359\",[132,55.4]],[\"comment/359\",[]],[\"name/360\",[133,55.4]],[\"comment/360\",[]],[\"name/361\",[34,27.467]],[\"comment/361\",[]],[\"name/362\",[134,55.4]],[\"comment/362\",[]],[\"name/363\",[1,35.031]],[\"comment/363\",[]],[\"name/364\",[135,50.291]],[\"comment/364\",[]],[\"name/365\",[136,55.4]],[\"comment/365\",[]],[\"name/366\",[137,55.4]],[\"comment/366\",[]],[\"name/367\",[138,55.4]],[\"comment/367\",[]],[\"name/368\",[139,55.4]],[\"comment/368\",[]],[\"name/369\",[140,55.4]],[\"comment/369\",[]],[\"name/370\",[141,55.4]],[\"comment/370\",[]],[\"name/371\",[4,40.736]],[\"comment/371\",[]],[\"name/372\",[142,55.4]],[\"comment/372\",[]],[\"name/373\",[143,55.4]],[\"comment/373\",[]],[\"name/374\",[1,35.031]],[\"comment/374\",[]],[\"name/375\",[144,55.4]],[\"comment/375\",[]],[\"name/376\",[145,55.4]],[\"comment/376\",[]],[\"name/377\",[146,55.4]],[\"comment/377\",[]],[\"name/378\",[135,50.291]],[\"comment/378\",[]],[\"name/379\",[147,55.4]],[\"comment/379\",[]],[\"name/380\",[148,55.4]],[\"comment/380\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":34,\"name\":{\"34\":{},\"68\":{},\"121\":{},\"141\":{},\"143\":{},\"145\":{},\"147\":{},\"149\":{},\"151\":{},\"170\":{},\"172\":{},\"176\":{},\"178\":{},\"180\":{},\"200\":{},\"202\":{},\"204\":{},\"206\":{},\"257\":{},\"291\":{},\"346\":{},\"348\":{},\"358\":{},\"361\":{}},\"comment\":{}}],[\"abstractpool\",{\"_index\":47,\"name\":{\"81\":{}},\"comment\":{}}],[\"abstractworker\",{\"_index\":105,\"name\":{\"293\":{}},\"comment\":{}}],[\"aftertaskexecutionhook\",{\"_index\":30,\"name\":{\"30\":{},\"64\":{},\"113\":{},\"253\":{},\"287\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":13,\"name\":{\"13\":{},\"44\":{},\"118\":{},\"234\":{},\"265\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":107,\"name\":{\"296\":{},\"314\":{},\"327\":{}},\"comment\":{}}],[\"async\",{\"_index\":123,\"name\":{\"341\":{}},\"comment\":{}}],[\"avgruntime\",{\"_index\":88,\"name\":{\"189\":{},\"209\":{}},\"comment\":{}}],[\"beforetaskexecutionhook\",{\"_index\":29,\"name\":{\"29\":{},\"63\":{},\"112\":{},\"252\":{},\"286\":{}},\"comment\":{}}],[\"buildtasksqueueoptions\",{\"_index\":54,\"name\":{\"103\":{}},\"comment\":{}}],[\"busy\",{\"_index\":5,\"name\":{\"5\":{},\"47\":{},\"105\":{},\"228\":{},\"268\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":114,\"name\":{\"305\":{},\"320\":{},\"333\":{}},\"comment\":{}}],[\"checkandemitevents\",{\"_index\":55,\"name\":{\"122\":{}},\"comment\":{}}],[\"checkfilepath\",{\"_index\":48,\"name\":{\"90\":{}},\"comment\":{}}],[\"checkfunctioninput\",{\"_index\":110,\"name\":{\"301\":{}},\"comment\":{}}],[\"checknumberofworkers\",{\"_index\":49,\"name\":{\"91\":{}},\"comment\":{}}],[\"checkpooloptions\",{\"_index\":50,\"name\":{\"92\":{}},\"comment\":{}}],[\"checksize\",{\"_index\":142,\"name\":{\"372\":{}},\"comment\":{}}],[\"checkvalidtasksqueueoptions\",{\"_index\":52,\"name\":{\"94\":{}},\"comment\":{}}],[\"checkvalidworkerchoicestrategy\",{\"_index\":51,\"name\":{\"93\":{}},\"comment\":{}}],[\"checkworkeroptions\",{\"_index\":109,\"name\":{\"300\":{}},\"comment\":{}}],[\"choose\",{\"_index\":98,\"name\":{\"201\":{}},\"comment\":{}}],[\"chooseworkernode\",{\"_index\":31,\"name\":{\"31\":{},\"65\":{},\"114\":{},\"254\":{},\"288\":{}},\"comment\":{}}],[\"circulararray\",{\"_index\":134,\"name\":{\"362\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":36,\"name\":{\"69\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":117,\"name\":{\"309\":{}},\"comment\":{}}],[\"concat\",{\"_index\":138,\"name\":{\"367\":{}},\"comment\":{}}],[\"concurrency\",{\"_index\":76,\"name\":{\"168\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"36\":{},\"82\":{},\"215\":{},\"224\":{},\"259\":{},\"294\":{},\"310\":{},\"324\":{},\"363\":{},\"374\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":32,\"name\":{\"32\":{},\"66\":{},\"119\":{},\"255\":{},\"289\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":12,\"name\":{\"12\":{},\"43\":{},\"117\":{},\"233\":{},\"264\":{}},\"comment\":{}}],[\"data\",{\"_index\":81,\"name\":{\"182\":{},\"355\":{}},\"comment\":{}}],[\"dequeue\",{\"_index\":148,\"name\":{\"380\":{}},\"comment\":{}}],[\"dequeuetask\",{\"_index\":63,\"name\":{\"130\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":28,\"name\":{\"28\":{},\"62\":{},\"108\":{},\"142\":{},\"250\":{},\"284\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":9,\"name\":{\"9\":{},\"40\":{},\"109\":{},\"230\":{},\"261\":{}},\"comment\":{}}],[\"draft\",{\"_index\":124,\"name\":{\"343\":{}},\"comment\":{}}],[\"dynamic\",{\"_index\":75,\"name\":{\"166\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":102,\"name\":{\"223\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":15,\"name\":{\"15\":{},\"49\":{},\"84\":{},\"139\":{},\"236\":{},\"270\":{}},\"comment\":{}}],[\"empty\",{\"_index\":141,\"name\":{\"370\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":45,\"name\":{\"78\":{},\"160\":{}},\"comment\":{}}],[\"enabletasksqueue\",{\"_index\":24,\"name\":{\"24\":{},\"58\":{},\"79\":{},\"101\":{},\"148\":{},\"161\":{},\"246\":{},\"280\":{}},\"comment\":{}}],[\"enqueue\",{\"_index\":147,\"name\":{\"379\":{}},\"comment\":{}}],[\"enqueuetask\",{\"_index\":62,\"name\":{\"129\":{}},\"comment\":{}}],[\"env\",{\"_index\":37,\"name\":{\"70\":{}},\"comment\":{}}],[\"error\",{\"_index\":90,\"name\":{\"191\":{},\"352\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":40,\"name\":{\"73\":{},\"155\":{},\"169\":{}},\"comment\":{}}],[\"execute\",{\"_index\":27,\"name\":{\"27\":{},\"61\":{},\"107\":{},\"140\":{},\"220\":{},\"249\":{},\"283\":{}},\"comment\":{}}],[\"executetask\",{\"_index\":61,\"name\":{\"128\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":42,\"name\":{\"75\":{},\"157\":{},\"171\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":19,\"name\":{\"19\":{},\"53\":{},\"88\":{},\"240\":{},\"274\":{}},\"comment\":{}}],[\"fixed\",{\"_index\":74,\"name\":{\"165\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":35,\"name\":{\"35\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":103,\"name\":{\"258\":{}},\"comment\":{}}],[\"flushtasksqueue\",{\"_index\":65,\"name\":{\"132\":{}},\"comment\":{}}],[\"flushtasksqueuebyworker\",{\"_index\":66,\"name\":{\"133\":{}},\"comment\":{}}],[\"flushtasksqueues\",{\"_index\":67,\"name\":{\"134\":{}},\"comment\":{}}],[\"full\",{\"_index\":4,\"name\":{\"4\":{},\"46\":{},\"104\":{},\"227\":{},\"267\":{},\"371\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":112,\"name\":{\"303\":{},\"319\":{},\"332\":{}},\"comment\":{}}],[\"getrequiredstatistics\",{\"_index\":101,\"name\":{\"218\":{}},\"comment\":{}}],[\"getworkernodekey\",{\"_index\":53,\"name\":{\"98\":{}},\"comment\":{}}],[\"getworkertasksusage\",{\"_index\":57,\"name\":{\"124\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":115,\"name\":{\"306\":{},\"312\":{},\"334\":{}},\"comment\":{}}],[\"head\",{\"_index\":145,\"name\":{\"376\":{}},\"comment\":{}}],[\"id\",{\"_index\":82,\"name\":{\"183\":{},\"356\":{}},\"comment\":{}}],[\"internalbusy\",{\"_index\":26,\"name\":{\"26\":{},\"60\":{},\"106\":{},\"248\":{},\"282\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":69,\"name\":{\"136\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":8,\"name\":{\"8\":{},\"39\":{},\"111\":{},\"229\":{},\"260\":{},\"297\":{},\"315\":{},\"328\":{}},\"comment\":{}}],[\"items\",{\"_index\":144,\"name\":{\"375\":{}},\"comment\":{}}],[\"iworker\",{\"_index\":77,\"name\":{\"173\":{}},\"comment\":{}}],[\"iworkerchoicestrategy\",{\"_index\":95,\"name\":{\"197\":{}},\"comment\":{}}],[\"kill\",{\"_index\":129,\"name\":{\"351\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":120,\"name\":{\"338\":{},\"342\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":119,\"name\":{\"337\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":106,\"name\":{\"295\":{},\"313\":{},\"326\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":108,\"name\":{\"298\":{},\"316\":{},\"329\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"225\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":122,\"name\":{\"340\":{}},\"comment\":{}}],[\"medruntime\",{\"_index\":89,\"name\":{\"190\":{},\"210\":{},\"213\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":39,\"name\":{\"72\":{},\"154\":{},\"177\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":111,\"name\":{\"302\":{},\"318\":{},\"331\":{}},\"comment\":{}}],[\"messagevalue\",{\"_index\":128,\"name\":{\"350\":{}},\"comment\":{}}],[\"numberofqueuedtasks\",{\"_index\":21,\"name\":{\"21\":{},\"55\":{},\"97\":{},\"243\":{},\"277\":{}},\"comment\":{}}],[\"numberofrunningtasks\",{\"_index\":20,\"name\":{\"20\":{},\"54\":{},\"96\":{},\"242\":{},\"276\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":18,\"name\":{\"18\":{},\"52\":{},\"87\":{},\"239\":{},\"273\":{}},\"comment\":{}}],[\"on\",{\"_index\":78,\"name\":{\"174\":{}},\"comment\":{}}],[\"once\",{\"_index\":79,\"name\":{\"175\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":41,\"name\":{\"74\":{},\"156\":{},\"179\":{}},\"comment\":{}}],[\"opts\",{\"_index\":6,\"name\":{\"6\":{},\"37\":{},\"89\":{},\"241\":{},\"275\":{},\"299\":{},\"317\":{},\"330\":{}},\"comment\":{}}],[\"parent\",{\"_index\":130,\"name\":{\"354\":{}},\"comment\":{}}],[\"poolemitter\",{\"_index\":70,\"name\":{\"152\":{}},\"comment\":{}}],[\"poolevent\",{\"_index\":72,\"name\":{\"163\":{}},\"comment\":{}}],[\"poolevents\",{\"_index\":68,\"name\":{\"135\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":71,\"name\":{\"153\":{}},\"comment\":{}}],[\"pooltype\",{\"_index\":73,\"name\":{\"164\":{}},\"comment\":{}}],[\"promiseresponsemap\",{\"_index\":16,\"name\":{\"16\":{},\"50\":{},\"85\":{},\"237\":{},\"271\":{}},\"comment\":{}}],[\"promiseresponsewrapper\",{\"_index\":125,\"name\":{\"344\":{}},\"comment\":{}}],[\"push\",{\"_index\":136,\"name\":{\"365\":{}},\"comment\":{}}],[\"pushworkernode\",{\"_index\":58,\"name\":{\"125\":{}},\"comment\":{}}],[\"queue\",{\"_index\":143,\"name\":{\"373\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":11,\"name\":{\"11\":{},\"42\":{},\"116\":{},\"232\":{},\"263\":{}},\"comment\":{}}],[\"reject\",{\"_index\":127,\"name\":{\"347\":{}},\"comment\":{}}],[\"remove\",{\"_index\":99,\"name\":{\"203\":{},\"221\":{}},\"comment\":{}}],[\"removeworkernode\",{\"_index\":60,\"name\":{\"127\":{}},\"comment\":{}}],[\"requiredstatistics\",{\"_index\":96,\"name\":{\"198\":{},\"207\":{}},\"comment\":{}}],[\"reset\",{\"_index\":97,\"name\":{\"199\":{}},\"comment\":{}}],[\"resize\",{\"_index\":140,\"name\":{\"369\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":126,\"name\":{\"345\":{}},\"comment\":{}}],[\"run\",{\"_index\":84,\"name\":{\"185\":{},\"307\":{},\"321\":{},\"335\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":116,\"name\":{\"308\":{},\"322\":{},\"336\":{}},\"comment\":{}}],[\"running\",{\"_index\":85,\"name\":{\"186\":{}},\"comment\":{}}],[\"runtime\",{\"_index\":86,\"name\":{\"187\":{},\"208\":{},\"353\":{}},\"comment\":{}}],[\"runtimehistory\",{\"_index\":87,\"name\":{\"188\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":113,\"name\":{\"304\":{},\"311\":{},\"325\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":10,\"name\":{\"10\":{},\"41\":{},\"115\":{},\"231\":{},\"262\":{}},\"comment\":{}}],[\"setoptions\",{\"_index\":100,\"name\":{\"205\":{},\"222\":{}},\"comment\":{}}],[\"settasksqueueoptions\",{\"_index\":25,\"name\":{\"25\":{},\"59\":{},\"102\":{},\"150\":{},\"247\":{},\"281\":{}},\"comment\":{}}],[\"settings\",{\"_index\":38,\"name\":{\"71\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":7,\"name\":{\"7\":{},\"38\":{},\"110\":{},\"251\":{},\"285\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":22,\"name\":{\"22\":{},\"56\":{},\"99\":{},\"144\":{},\"219\":{},\"244\":{},\"278\":{}},\"comment\":{}}],[\"setworkerchoicestrategyoptions\",{\"_index\":23,\"name\":{\"23\":{},\"57\":{},\"100\":{},\"146\":{},\"245\":{},\"279\":{}},\"comment\":{}}],[\"setworkernode\",{\"_index\":59,\"name\":{\"126\":{}},\"comment\":{}}],[\"setworkernodetasksusage\",{\"_index\":56,\"name\":{\"123\":{}},\"comment\":{}}],[\"size\",{\"_index\":135,\"name\":{\"364\":{},\"378\":{}},\"comment\":{}}],[\"splice\",{\"_index\":139,\"name\":{\"368\":{}},\"comment\":{}}],[\"tail\",{\"_index\":146,\"name\":{\"377\":{}},\"comment\":{}}],[\"task\",{\"_index\":80,\"name\":{\"181\":{}},\"comment\":{}}],[\"tasksqueue\",{\"_index\":93,\"name\":{\"195\":{}},\"comment\":{}}],[\"tasksqueueoptions\",{\"_index\":46,\"name\":{\"80\":{},\"162\":{},\"167\":{}},\"comment\":{}}],[\"tasksqueuesize\",{\"_index\":64,\"name\":{\"131\":{}},\"comment\":{}}],[\"tasksusage\",{\"_index\":83,\"name\":{\"184\":{},\"194\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":118,\"name\":{\"323\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":104,\"name\":{\"292\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"45\":{},\"95\":{},\"137\":{},\"226\":{},\"266\":{}},\"comment\":{}}],[\"unshift\",{\"_index\":137,\"name\":{\"366\":{}},\"comment\":{}}],[\"worker\",{\"_index\":92,\"name\":{\"193\":{},\"349\":{}},\"comment\":{}}],[\"workerasyncfunction\",{\"_index\":131,\"name\":{\"357\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":94,\"name\":{\"196\":{},\"216\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":43,\"name\":{\"76\":{},\"158\":{},\"211\":{},\"217\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":17,\"name\":{\"17\":{},\"51\":{},\"86\":{},\"214\":{},\"238\":{},\"272\":{}},\"comment\":{}}],[\"workerchoicestrategyoptions\",{\"_index\":44,\"name\":{\"77\":{},\"159\":{},\"212\":{}},\"comment\":{}}],[\"workerfunction\",{\"_index\":132,\"name\":{\"359\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":33,\"name\":{\"33\":{},\"67\":{},\"120\":{},\"256\":{},\"290\":{}},\"comment\":{}}],[\"workernode\",{\"_index\":91,\"name\":{\"192\":{}},\"comment\":{}}],[\"workernodes\",{\"_index\":14,\"name\":{\"14\":{},\"48\":{},\"83\":{},\"138\":{},\"235\":{},\"269\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":121,\"name\":{\"339\":{}},\"comment\":{}}],[\"workersyncfunction\",{\"_index\":133,\"name\":{\"360\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
\ No newline at end of file
+window.searchData = JSON.parse("{\"rows\":[{\"kind\":128,\"name\":\"DynamicClusterPool\",\"url\":\"classes/DynamicClusterPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicClusterPool.html#constructor\",\"classes\":\"\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicClusterPool.html#max\",\"classes\":\"\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicClusterPool.html#type\",\"classes\":\"\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/DynamicClusterPool.html#size\",\"classes\":\"\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/DynamicClusterPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicClusterPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicClusterPool.html#opts\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicClusterPool.html#setupHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicClusterPool.html#isMain\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicClusterPool.html#destroyWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicClusterPool.html#sendToWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicClusterPool.html#createWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/DynamicClusterPool.html#workerNodes\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicClusterPool.html#emitter\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/DynamicClusterPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicClusterPool.html#filePath\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/DynamicClusterPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/DynamicClusterPool.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/DynamicClusterPool.html#setTasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/DynamicClusterPool.html#internalBusy\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicClusterPool.html#execute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicClusterPool.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/DynamicClusterPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/DynamicClusterPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/DynamicClusterPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicClusterPool.html#workerListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"DynamicClusterPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedClusterPool\",\"url\":\"classes/FixedClusterPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedClusterPool.html#constructor\",\"classes\":\"\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedClusterPool.html#opts\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedClusterPool.html#setupHook\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedClusterPool.html#isMain\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedClusterPool.html#destroyWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedClusterPool.html#sendToWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedClusterPool.html#createWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedClusterPool.html#type\",\"classes\":\"\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/FixedClusterPool.html#size\",\"classes\":\"\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/FixedClusterPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedClusterPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/FixedClusterPool.html#workerNodes\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedClusterPool.html#emitter\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/FixedClusterPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedClusterPool.html#filePath\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/FixedClusterPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/FixedClusterPool.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/FixedClusterPool.html#setTasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/FixedClusterPool.html#internalBusy\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedClusterPool.html#execute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedClusterPool.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/FixedClusterPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/FixedClusterPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/FixedClusterPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedClusterPool.html#workerListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"FixedClusterPool.workerListener.workerListener\"},{\"kind\":256,\"name\":\"ClusterPoolOptions\",\"url\":\"interfaces/ClusterPoolOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"env\",\"url\":\"interfaces/ClusterPoolOptions.html#env\",\"classes\":\"\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"settings\",\"url\":\"interfaces/ClusterPoolOptions.html#settings\",\"classes\":\"\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#messageHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#errorHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#onlineHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#exitHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyOptions\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/ClusterPoolOptions.html#enableEvents\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/ClusterPoolOptions.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"tasksQueueOptions\",\"url\":\"interfaces/ClusterPoolOptions.html#tasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":128,\"name\":\"AbstractPool\",\"url\":\"classes/AbstractPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbstractPool.html#constructor\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/AbstractPool.html#workerNodes\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/AbstractPool.html#emitter\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/AbstractPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/AbstractPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/AbstractPool.html#numberOfWorkers\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/AbstractPool.html#filePath\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/AbstractPool.html#opts\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkFilePath\",\"url\":\"classes/AbstractPool.html#checkFilePath\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkNumberOfWorkers\",\"url\":\"classes/AbstractPool.html#checkNumberOfWorkers\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkPoolOptions\",\"url\":\"classes/AbstractPool.html#checkPoolOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkValidWorkerChoiceStrategy\",\"url\":\"classes/AbstractPool.html#checkValidWorkerChoiceStrategy\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkValidWorkerChoiceStrategyOptions\",\"url\":\"classes/AbstractPool.html#checkValidWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"checkValidTasksQueueOptions\",\"url\":\"classes/AbstractPool.html#checkValidTasksQueueOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/AbstractPool.html#type\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/AbstractPool.html#size\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/AbstractPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/AbstractPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"getWorkerNodeKey\",\"url\":\"classes/AbstractPool.html#getWorkerNodeKey\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/AbstractPool.html#setWorkerChoiceStrategy\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/AbstractPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/AbstractPool.html#enableTasksQueue\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/AbstractPool.html#setTasksQueueOptions\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"buildTasksQueueOptions\",\"url\":\"classes/AbstractPool.html#buildTasksQueueOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/AbstractPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/AbstractPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/AbstractPool.html#internalBusy\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/AbstractPool.html#execute\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/AbstractPool.html#destroy\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/AbstractPool.html#destroyWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/AbstractPool.html#setupHook\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/AbstractPool.html#isMain\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/AbstractPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/AbstractPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/AbstractPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/AbstractPool.html#sendToWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/AbstractPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/AbstractPool.html#createWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/AbstractPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/AbstractPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/AbstractPool.html#workerListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/AbstractPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"AbstractPool.workerListener.workerListener\"},{\"kind\":2048,\"name\":\"checkAndEmitEvents\",\"url\":\"classes/AbstractPool.html#checkAndEmitEvents\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setWorkerNodeTasksUsage\",\"url\":\"classes/AbstractPool.html#setWorkerNodeTasksUsage\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"pushWorkerNode\",\"url\":\"classes/AbstractPool.html#pushWorkerNode\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"setWorkerNode\",\"url\":\"classes/AbstractPool.html#setWorkerNode\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"removeWorkerNode\",\"url\":\"classes/AbstractPool.html#removeWorkerNode\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"executeTask\",\"url\":\"classes/AbstractPool.html#executeTask\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"enqueueTask\",\"url\":\"classes/AbstractPool.html#enqueueTask\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"dequeueTask\",\"url\":\"classes/AbstractPool.html#dequeueTask\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"tasksQueueSize\",\"url\":\"classes/AbstractPool.html#tasksQueueSize\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"flushTasksQueue\",\"url\":\"classes/AbstractPool.html#flushTasksQueue\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"flushTasksQueues\",\"url\":\"classes/AbstractPool.html#flushTasksQueues\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":32,\"name\":\"PoolEvents\",\"url\":\"variables/PoolEvents.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"IPool\",\"url\":\"interfaces/IPool.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/IPool.html#type\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"size\",\"url\":\"interfaces/IPool.html#size\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"interfaces/IPool.html#workerNodes\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"interfaces/IPool.html#emitter\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":1024,\"name\":\"execute\",\"url\":\"interfaces/IPool.html#execute\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#execute.__type-4\",\"classes\":\"\",\"parent\":\"IPool.execute\"},{\"kind\":1024,\"name\":\"destroy\",\"url\":\"interfaces/IPool.html#destroy\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#destroy.__type\",\"classes\":\"\",\"parent\":\"IPool.destroy\"},{\"kind\":1024,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy.__type-8\",\"classes\":\"\",\"parent\":\"IPool.setWorkerChoiceStrategy\"},{\"kind\":1024,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategyOptions.__type-10\",\"classes\":\"\",\"parent\":\"IPool.setWorkerChoiceStrategyOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/IPool.html#enableTasksQueue\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#enableTasksQueue.__type-2\",\"classes\":\"\",\"parent\":\"IPool.enableTasksQueue\"},{\"kind\":1024,\"name\":\"setTasksQueueOptions\",\"url\":\"interfaces/IPool.html#setTasksQueueOptions\",\"classes\":\"\",\"parent\":\"IPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IPool.html#setTasksQueueOptions.__type-6\",\"classes\":\"\",\"parent\":\"IPool.setTasksQueueOptions\"},{\"kind\":128,\"name\":\"PoolEmitter\",\"url\":\"classes/PoolEmitter.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"PoolEvent\",\"url\":\"types/PoolEvent.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"PoolOptions\",\"url\":\"interfaces/PoolOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/PoolOptions.html#messageHandler\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/PoolOptions.html#errorHandler\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/PoolOptions.html#onlineHandler\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/PoolOptions.html#exitHandler\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategy\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyOptions\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategyOptions\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/PoolOptions.html#enableEvents\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableTasksQueue\",\"url\":\"interfaces/PoolOptions.html#enableTasksQueue\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"tasksQueueOptions\",\"url\":\"interfaces/PoolOptions.html#tasksQueueOptions\",\"classes\":\"\",\"parent\":\"PoolOptions\"},{\"kind\":8,\"name\":\"PoolType\",\"url\":\"enums/PoolType.html\",\"classes\":\"\"},{\"kind\":16,\"name\":\"FIXED\",\"url\":\"enums/PoolType.html#FIXED\",\"classes\":\"\",\"parent\":\"PoolType\"},{\"kind\":16,\"name\":\"DYNAMIC\",\"url\":\"enums/PoolType.html#DYNAMIC\",\"classes\":\"\",\"parent\":\"PoolType\"},{\"kind\":256,\"name\":\"TasksQueueOptions\",\"url\":\"interfaces/TasksQueueOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"concurrency\",\"url\":\"interfaces/TasksQueueOptions.html#concurrency\",\"classes\":\"\",\"parent\":\"TasksQueueOptions\"},{\"kind\":4194304,\"name\":\"ErrorHandler\",\"url\":\"types/ErrorHandler.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ErrorHandler.html#__type\",\"classes\":\"\",\"parent\":\"ErrorHandler\"},{\"kind\":4194304,\"name\":\"ExitHandler\",\"url\":\"types/ExitHandler.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ExitHandler.html#__type\",\"classes\":\"\",\"parent\":\"ExitHandler\"},{\"kind\":256,\"name\":\"IWorker\",\"url\":\"interfaces/IWorker.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"on\",\"url\":\"interfaces/IWorker.html#on\",\"classes\":\"\",\"parent\":\"IWorker\"},{\"kind\":1024,\"name\":\"once\",\"url\":\"interfaces/IWorker.html#once\",\"classes\":\"\",\"parent\":\"IWorker\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorker.html#once.__type\",\"classes\":\"\",\"parent\":\"IWorker.once\"},{\"kind\":4194304,\"name\":\"MessageHandler\",\"url\":\"types/MessageHandler.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MessageHandler.html#__type\",\"classes\":\"\",\"parent\":\"MessageHandler\"},{\"kind\":4194304,\"name\":\"OnlineHandler\",\"url\":\"types/OnlineHandler.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/OnlineHandler.html#__type\",\"classes\":\"\",\"parent\":\"OnlineHandler\"},{\"kind\":256,\"name\":\"Task\",\"url\":\"interfaces/Task.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/Task.html#name\",\"classes\":\"\",\"parent\":\"Task\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"interfaces/Task.html#data\",\"classes\":\"\",\"parent\":\"Task\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/Task.html#id\",\"classes\":\"\",\"parent\":\"Task\"},{\"kind\":256,\"name\":\"TasksUsage\",\"url\":\"interfaces/TasksUsage.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"run\",\"url\":\"interfaces/TasksUsage.html#run\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"running\",\"url\":\"interfaces/TasksUsage.html#running\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"runTime\",\"url\":\"interfaces/TasksUsage.html#runTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"runTimeHistory\",\"url\":\"interfaces/TasksUsage.html#runTimeHistory\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"avgRunTime\",\"url\":\"interfaces/TasksUsage.html#avgRunTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"medRunTime\",\"url\":\"interfaces/TasksUsage.html#medRunTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/TasksUsage.html#error\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":256,\"name\":\"WorkerNode\",\"url\":\"interfaces/WorkerNode.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"worker\",\"url\":\"interfaces/WorkerNode.html#worker\",\"classes\":\"\",\"parent\":\"WorkerNode\"},{\"kind\":1024,\"name\":\"tasksUsage\",\"url\":\"interfaces/WorkerNode.html#tasksUsage\",\"classes\":\"\",\"parent\":\"WorkerNode\"},{\"kind\":1024,\"name\":\"tasksQueue\",\"url\":\"interfaces/WorkerNode.html#tasksQueue\",\"classes\":\"\",\"parent\":\"WorkerNode\"},{\"kind\":32,\"name\":\"WorkerChoiceStrategies\",\"url\":\"variables/WorkerChoiceStrategies.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"IWorkerChoiceStrategy\",\"url\":\"interfaces/IWorkerChoiceStrategy.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"requiredStatistics\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#requiredStatistics\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":1024,\"name\":\"reset\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#reset\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#reset.__type-4\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.reset\"},{\"kind\":1024,\"name\":\"update\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#update\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#update.__type-8\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.update\"},{\"kind\":1024,\"name\":\"choose\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#choose\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#choose.__type\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.choose\"},{\"kind\":1024,\"name\":\"remove\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#remove\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#remove.__type-2\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.remove\"},{\"kind\":1024,\"name\":\"setOptions\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#setOptions\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IWorkerChoiceStrategy.html#setOptions.__type-6\",\"classes\":\"\",\"parent\":\"IWorkerChoiceStrategy.setOptions\"},{\"kind\":256,\"name\":\"RequiredStatistics\",\"url\":\"interfaces/RequiredStatistics.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"runTime\",\"url\":\"interfaces/RequiredStatistics.html#runTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":1024,\"name\":\"avgRunTime\",\"url\":\"interfaces/RequiredStatistics.html#avgRunTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":1024,\"name\":\"medRunTime\",\"url\":\"interfaces/RequiredStatistics.html#medRunTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":4194304,\"name\":\"WorkerChoiceStrategy\",\"url\":\"types/WorkerChoiceStrategy.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"WorkerChoiceStrategyOptions\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"medRunTime\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html#medRunTime\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyOptions\"},{\"kind\":1024,\"name\":\"weights\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html#weights\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyOptions\"},{\"kind\":128,\"name\":\"WorkerChoiceStrategyContext\",\"url\":\"classes/WorkerChoiceStrategyContext.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/WorkerChoiceStrategyContext.html#constructor\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":1024,\"name\":\"workerChoiceStrategies\",\"url\":\"classes/WorkerChoiceStrategyContext.html#workerChoiceStrategies\",\"classes\":\"tsd-is-private\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"classes/WorkerChoiceStrategyContext.html#workerChoiceStrategy\",\"classes\":\"tsd-is-private\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"getRequiredStatistics\",\"url\":\"classes/WorkerChoiceStrategyContext.html#getRequiredStatistics\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/WorkerChoiceStrategyContext.html#setWorkerChoiceStrategy\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"update\",\"url\":\"classes/WorkerChoiceStrategyContext.html#update\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/WorkerChoiceStrategyContext.html#execute\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/WorkerChoiceStrategyContext.html#remove\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":2048,\"name\":\"setOptions\",\"url\":\"classes/WorkerChoiceStrategyContext.html#setOptions\",\"classes\":\"\",\"parent\":\"WorkerChoiceStrategyContext\"},{\"kind\":128,\"name\":\"DynamicThreadPool\",\"url\":\"classes/DynamicThreadPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicThreadPool.html#constructor\",\"classes\":\"\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicThreadPool.html#max\",\"classes\":\"\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicThreadPool.html#type\",\"classes\":\"\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/DynamicThreadPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/DynamicThreadPool.html#size\",\"classes\":\"\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicThreadPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicThreadPool.html#isMain\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicThreadPool.html#destroyWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicThreadPool.html#sendToWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicThreadPool.html#createWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/DynamicThreadPool.html#workerNodes\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicThreadPool.html#emitter\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/DynamicThreadPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicThreadPool.html#filePath\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicThreadPool.html#opts\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/DynamicThreadPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/DynamicThreadPool.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/DynamicThreadPool.html#setTasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/DynamicThreadPool.html#internalBusy\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicThreadPool.html#execute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicThreadPool.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicThreadPool.html#setupHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/DynamicThreadPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/DynamicThreadPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/DynamicThreadPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicThreadPool.html#workerListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"DynamicThreadPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedThreadPool\",\"url\":\"classes/FixedThreadPool.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedThreadPool.html#constructor\",\"classes\":\"\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedThreadPool.html#isMain\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedThreadPool.html#destroyWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedThreadPool.html#sendToWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedThreadPool.html#createWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedThreadPool.html#type\",\"classes\":\"\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/FixedThreadPool.html#size\",\"classes\":\"\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"full\",\"url\":\"classes/FixedThreadPool.html#full\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedThreadPool.html#busy\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"classes/FixedThreadPool.html#workerNodes\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedThreadPool.html#emitter\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"promiseResponseMap\",\"url\":\"classes/FixedThreadPool.html#promiseResponseMap\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedThreadPool.html#filePath\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedThreadPool.html#opts\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfQueuedTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfQueuedTasks\",\"classes\":\"tsd-is-private tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategyOptions\",\"url\":\"classes/FixedThreadPool.html#setWorkerChoiceStrategyOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"enableTasksQueue\",\"url\":\"classes/FixedThreadPool.html#enableTasksQueue\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setTasksQueueOptions\",\"url\":\"classes/FixedThreadPool.html#setTasksQueueOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"internalBusy\",\"url\":\"classes/FixedThreadPool.html#internalBusy\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedThreadPool.html#execute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedThreadPool.html#destroy\",\"classes\":\"tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedThreadPool.html#setupHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"beforeTaskExecutionHook\",\"url\":\"classes/FixedThreadPool.html#beforeTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterTaskExecutionHook\",\"url\":\"classes/FixedThreadPool.html#afterTaskExecutionHook\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorkerNode\",\"url\":\"classes/FixedThreadPool.html#chooseWorkerNode\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedThreadPool.html#workerListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"\",\"parent\":\"FixedThreadPool.workerListener.workerListener\"},{\"kind\":4194304,\"name\":\"ThreadWorkerWithMessageChannel\",\"url\":\"types/ThreadWorkerWithMessageChannel.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"AbstractWorker\",\"url\":\"classes/AbstractWorker.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbstractWorker.html#constructor\",\"classes\":\"\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"taskFunctions\",\"url\":\"classes/AbstractWorker.html#taskFunctions\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/AbstractWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/AbstractWorker.html#aliveInterval\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/AbstractWorker.html#isMain\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/AbstractWorker.html#mainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/AbstractWorker.html#opts\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkWorkerOptions\",\"url\":\"classes/AbstractWorker.html#checkWorkerOptions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkTaskFunctions\",\"url\":\"classes/AbstractWorker.html#checkTaskFunctions\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/AbstractWorker.html#messageListener\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/AbstractWorker.html#getMainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/AbstractWorker.html#sendToMainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/AbstractWorker.html#checkAlive\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/AbstractWorker.html#handleError\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"runSync\",\"url\":\"classes/AbstractWorker.html#runSync\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/AbstractWorker.html#runAsync\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"getTaskFunction\",\"url\":\"classes/AbstractWorker.html#getTaskFunction\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":128,\"name\":\"ClusterWorker\",\"url\":\"classes/ClusterWorker.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClusterWorker.html#constructor\",\"classes\":\"\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ClusterWorker.html#sendToMainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ClusterWorker.html#handleError\",\"classes\":\"tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"taskFunctions\",\"url\":\"classes/ClusterWorker.html#taskFunctions\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ClusterWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ClusterWorker.html#aliveInterval\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/ClusterWorker.html#isMain\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ClusterWorker.html#mainWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ClusterWorker.html#opts\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ClusterWorker.html#messageListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ClusterWorker.html#getMainWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ClusterWorker.html#checkAlive\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"runSync\",\"url\":\"classes/ClusterWorker.html#runSync\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ClusterWorker.html#runAsync\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":128,\"name\":\"ThreadWorker\",\"url\":\"classes/ThreadWorker.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ThreadWorker.html#constructor\",\"classes\":\"\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ThreadWorker.html#sendToMainWorker\",\"classes\":\"tsd-is-protected\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"taskFunctions\",\"url\":\"classes/ThreadWorker.html#taskFunctions\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ThreadWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ThreadWorker.html#aliveInterval\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"isMain\",\"url\":\"classes/ThreadWorker.html#isMain\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ThreadWorker.html#mainWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ThreadWorker.html#opts\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ThreadWorker.html#messageListener\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ThreadWorker.html#getMainWorker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ThreadWorker.html#checkAlive\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ThreadWorker.html#handleError\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"runSync\",\"url\":\"classes/ThreadWorker.html#runSync\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ThreadWorker.html#runAsync\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":32,\"name\":\"KillBehaviors\",\"url\":\"variables/KillBehaviors.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"KillBehavior\",\"url\":\"types/KillBehavior.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"WorkerOptions\",\"url\":\"interfaces/WorkerOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"maxInactiveTime\",\"url\":\"interfaces/WorkerOptions.html#maxInactiveTime\",\"classes\":\"\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"async\",\"url\":\"interfaces/WorkerOptions.html#async\",\"classes\":\"\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"killBehavior\",\"url\":\"interfaces/WorkerOptions.html#killBehavior\",\"classes\":\"\",\"parent\":\"WorkerOptions\"},{\"kind\":4194304,\"name\":\"Draft\",\"url\":\"types/Draft.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"MessageValue\",\"url\":\"interfaces/MessageValue.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"kill\",\"url\":\"interfaces/MessageValue.html#kill\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/MessageValue.html#error\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"runTime\",\"url\":\"interfaces/MessageValue.html#runTime\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"parent\",\"url\":\"interfaces/MessageValue.html#parent\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/MessageValue.html#name\",\"classes\":\"tsd-is-inherited\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"interfaces/MessageValue.html#data\",\"classes\":\"tsd-is-inherited\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/MessageValue.html#id\",\"classes\":\"tsd-is-inherited\",\"parent\":\"MessageValue\"},{\"kind\":256,\"name\":\"PromiseResponseWrapper\",\"url\":\"interfaces/PromiseResponseWrapper.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"resolve\",\"url\":\"interfaces/PromiseResponseWrapper.html#resolve\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/PromiseResponseWrapper.html#resolve.__type-2\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper.resolve\"},{\"kind\":1024,\"name\":\"reject\",\"url\":\"interfaces/PromiseResponseWrapper.html#reject\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/PromiseResponseWrapper.html#reject.__type\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper.reject\"},{\"kind\":1024,\"name\":\"worker\",\"url\":\"interfaces/PromiseResponseWrapper.html#worker\",\"classes\":\"\",\"parent\":\"PromiseResponseWrapper\"},{\"kind\":4194304,\"name\":\"TaskFunctions\",\"url\":\"types/TaskFunctions.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"WorkerAsyncFunction\",\"url\":\"types/WorkerAsyncFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/WorkerAsyncFunction.html#__type\",\"classes\":\"\",\"parent\":\"WorkerAsyncFunction\"},{\"kind\":4194304,\"name\":\"WorkerFunction\",\"url\":\"types/WorkerFunction.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"WorkerSyncFunction\",\"url\":\"types/WorkerSyncFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/WorkerSyncFunction.html#__type\",\"classes\":\"\",\"parent\":\"WorkerSyncFunction\"},{\"kind\":128,\"name\":\"CircularArray\",\"url\":\"classes/CircularArray.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/CircularArray.html#constructor\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":1024,\"name\":\"size\",\"url\":\"classes/CircularArray.html#size\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"push\",\"url\":\"classes/CircularArray.html#push-1\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"unshift\",\"url\":\"classes/CircularArray.html#unshift-1\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"concat\",\"url\":\"classes/CircularArray.html#concat-1\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"splice\",\"url\":\"classes/CircularArray.html#splice-1\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"resize\",\"url\":\"classes/CircularArray.html#resize\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"empty\",\"url\":\"classes/CircularArray.html#empty\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"full\",\"url\":\"classes/CircularArray.html#full\",\"classes\":\"\",\"parent\":\"CircularArray\"},{\"kind\":2048,\"name\":\"checkSize\",\"url\":\"classes/CircularArray.html#checkSize\",\"classes\":\"tsd-is-private\",\"parent\":\"CircularArray\"},{\"kind\":128,\"name\":\"Queue\",\"url\":\"classes/Queue.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Queue.html#constructor\",\"classes\":\"\",\"parent\":\"Queue\"},{\"kind\":1024,\"name\":\"items\",\"url\":\"classes/Queue.html#items\",\"classes\":\"tsd-is-private\",\"parent\":\"Queue\"},{\"kind\":1024,\"name\":\"head\",\"url\":\"classes/Queue.html#head\",\"classes\":\"tsd-is-private\",\"parent\":\"Queue\"},{\"kind\":1024,\"name\":\"tail\",\"url\":\"classes/Queue.html#tail\",\"classes\":\"tsd-is-private\",\"parent\":\"Queue\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/Queue.html#size\",\"classes\":\"\",\"parent\":\"Queue\"},{\"kind\":2048,\"name\":\"enqueue\",\"url\":\"classes/Queue.html#enqueue\",\"classes\":\"\",\"parent\":\"Queue\"},{\"kind\":2048,\"name\":\"dequeue\",\"url\":\"classes/Queue.html#dequeue\",\"classes\":\"\",\"parent\":\"Queue\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,55.81]],[\"comment/0\",[]],[\"name/1\",[1,35.441]],[\"comment/1\",[]],[\"name/2\",[2,50.702]],[\"comment/2\",[]],[\"name/3\",[3,41.146]],[\"comment/3\",[]],[\"name/4\",[4,38.464]],[\"comment/4\",[]],[\"name/5\",[5,41.146]],[\"comment/5\",[]],[\"name/6\",[6,42.817]],[\"comment/6\",[]],[\"name/7\",[7,38.464]],[\"comment/7\",[]],[\"name/8\",[8,42.817]],[\"comment/8\",[]],[\"name/9\",[9,38.464]],[\"comment/9\",[]],[\"name/10\",[10,42.817]],[\"comment/10\",[]],[\"name/11\",[11,42.817]],[\"comment/11\",[]],[\"name/12\",[12,42.817]],[\"comment/12\",[]],[\"name/13\",[13,42.817]],[\"comment/13\",[]],[\"name/14\",[14,42.817]],[\"comment/14\",[]],[\"name/15\",[15,41.146]],[\"comment/15\",[]],[\"name/16\",[16,41.146]],[\"comment/16\",[]],[\"name/17\",[17,42.817]],[\"comment/17\",[]],[\"name/18\",[18,41.146]],[\"comment/18\",[]],[\"name/19\",[19,42.817]],[\"comment/19\",[]],[\"name/20\",[20,42.817]],[\"comment/20\",[]],[\"name/21\",[21,42.817]],[\"comment/21\",[]],[\"name/22\",[22,42.817]],[\"comment/22\",[]],[\"name/23\",[23,39.715]],[\"comment/23\",[]],[\"name/24\",[24,41.146]],[\"comment/24\",[]],[\"name/25\",[25,38.464]],[\"comment/25\",[]],[\"name/26\",[26,41.146]],[\"comment/26\",[]],[\"name/27\",[27,42.817]],[\"comment/27\",[]],[\"name/28\",[28,39.715]],[\"comment/28\",[]],[\"name/29\",[29,41.146]],[\"comment/29\",[]],[\"name/30\",[30,42.817]],[\"comment/30\",[]],[\"name/31\",[31,42.817]],[\"comment/31\",[]],[\"name/32\",[32,42.817]],[\"comment/32\",[]],[\"name/33\",[33,42.817]],[\"comment/33\",[]],[\"name/34\",[34,42.817]],[\"comment/34\",[]],[\"name/35\",[35,27.478]],[\"comment/35\",[]],[\"name/36\",[36,55.81]],[\"comment/36\",[]],[\"name/37\",[1,35.441]],[\"comment/37\",[]],[\"name/38\",[7,38.464]],[\"comment/38\",[]],[\"name/39\",[8,42.817]],[\"comment/39\",[]],[\"name/40\",[9,38.464]],[\"comment/40\",[]],[\"name/41\",[10,42.817]],[\"comment/41\",[]],[\"name/42\",[11,42.817]],[\"comment/42\",[]],[\"name/43\",[12,42.817]],[\"comment/43\",[]],[\"name/44\",[13,42.817]],[\"comment/44\",[]],[\"name/45\",[14,42.817]],[\"comment/45\",[]],[\"name/46\",[3,41.146]],[\"comment/46\",[]],[\"name/47\",[4,38.464]],[\"comment/47\",[]],[\"name/48\",[5,41.146]],[\"comment/48\",[]],[\"name/49\",[6,42.817]],[\"comment/49\",[]],[\"name/50\",[15,41.146]],[\"comment/50\",[]],[\"name/51\",[16,41.146]],[\"comment/51\",[]],[\"name/52\",[17,42.817]],[\"comment/52\",[]],[\"name/53\",[18,41.146]],[\"comment/53\",[]],[\"name/54\",[19,42.817]],[\"comment/54\",[]],[\"name/55\",[20,42.817]],[\"comment/55\",[]],[\"name/56\",[21,42.817]],[\"comment/56\",[]],[\"name/57\",[22,42.817]],[\"comment/57\",[]],[\"name/58\",[23,39.715]],[\"comment/58\",[]],[\"name/59\",[24,41.146]],[\"comment/59\",[]],[\"name/60\",[25,38.464]],[\"comment/60\",[]],[\"name/61\",[26,41.146]],[\"comment/61\",[]],[\"name/62\",[27,42.817]],[\"comment/62\",[]],[\"name/63\",[28,39.715]],[\"comment/63\",[]],[\"name/64\",[29,41.146]],[\"comment/64\",[]],[\"name/65\",[30,42.817]],[\"comment/65\",[]],[\"name/66\",[31,42.817]],[\"comment/66\",[]],[\"name/67\",[32,42.817]],[\"comment/67\",[]],[\"name/68\",[33,42.817]],[\"comment/68\",[]],[\"name/69\",[34,42.817]],[\"comment/69\",[]],[\"name/70\",[35,27.478]],[\"comment/70\",[]],[\"name/71\",[37,55.81]],[\"comment/71\",[]],[\"name/72\",[38,55.81]],[\"comment/72\",[]],[\"name/73\",[39,55.81]],[\"comment/73\",[]],[\"name/74\",[40,47.337]],[\"comment/74\",[]],[\"name/75\",[41,47.337]],[\"comment/75\",[]],[\"name/76\",[42,47.337]],[\"comment/76\",[]],[\"name/77\",[43,47.337]],[\"comment/77\",[]],[\"name/78\",[44,44.824]],[\"comment/78\",[]],[\"name/79\",[45,47.337]],[\"comment/79\",[]],[\"name/80\",[46,50.702]],[\"comment/80\",[]],[\"name/81\",[25,38.464]],[\"comment/81\",[]],[\"name/82\",[47,47.337]],[\"comment/82\",[]],[\"name/83\",[48,55.81]],[\"comment/83\",[]],[\"name/84\",[1,35.441]],[\"comment/84\",[]],[\"name/85\",[15,41.146]],[\"comment/85\",[]],[\"name/86\",[16,41.146]],[\"comment/86\",[]],[\"name/87\",[17,42.817]],[\"comment/87\",[]],[\"name/88\",[18,41.146]],[\"comment/88\",[]],[\"name/89\",[19,42.817]],[\"comment/89\",[]],[\"name/90\",[20,42.817]],[\"comment/90\",[]],[\"name/91\",[7,38.464]],[\"comment/91\",[]],[\"name/92\",[49,55.81]],[\"comment/92\",[]],[\"name/93\",[50,55.81]],[\"comment/93\",[]],[\"name/94\",[51,55.81]],[\"comment/94\",[]],[\"name/95\",[52,55.81]],[\"comment/95\",[]],[\"name/96\",[53,55.81]],[\"comment/96\",[]],[\"name/97\",[54,55.81]],[\"comment/97\",[]],[\"name/98\",[3,41.146]],[\"comment/98\",[]],[\"name/99\",[4,38.464]],[\"comment/99\",[]],[\"name/100\",[21,42.817]],[\"comment/100\",[]],[\"name/101\",[22,42.817]],[\"comment/101\",[]],[\"name/102\",[55,55.81]],[\"comment/102\",[]],[\"name/103\",[23,39.715]],[\"comment/103\",[]],[\"name/104\",[24,41.146]],[\"comment/104\",[]],[\"name/105\",[25,38.464]],[\"comment/105\",[]],[\"name/106\",[26,41.146]],[\"comment/106\",[]],[\"name/107\",[56,55.81]],[\"comment/107\",[]],[\"name/108\",[5,41.146]],[\"comment/108\",[]],[\"name/109\",[6,42.817]],[\"comment/109\",[]],[\"name/110\",[27,42.817]],[\"comment/110\",[]],[\"name/111\",[28,39.715]],[\"comment/111\",[]],[\"name/112\",[29,41.146]],[\"comment/112\",[]],[\"name/113\",[10,42.817]],[\"comment/113\",[]],[\"name/114\",[8,42.817]],[\"comment/114\",[]],[\"name/115\",[9,38.464]],[\"comment/115\",[]],[\"name/116\",[30,42.817]],[\"comment/116\",[]],[\"name/117\",[31,42.817]],[\"comment/117\",[]],[\"name/118\",[32,42.817]],[\"comment/118\",[]],[\"name/119\",[11,42.817]],[\"comment/119\",[]],[\"name/120\",[12,42.817]],[\"comment/120\",[]],[\"name/121\",[13,42.817]],[\"comment/121\",[]],[\"name/122\",[14,42.817]],[\"comment/122\",[]],[\"name/123\",[33,42.817]],[\"comment/123\",[]],[\"name/124\",[34,42.817]],[\"comment/124\",[]],[\"name/125\",[35,27.478]],[\"comment/125\",[]],[\"name/126\",[57,55.81]],[\"comment/126\",[]],[\"name/127\",[58,55.81]],[\"comment/127\",[]],[\"name/128\",[59,55.81]],[\"comment/128\",[]],[\"name/129\",[60,55.81]],[\"comment/129\",[]],[\"name/130\",[61,55.81]],[\"comment/130\",[]],[\"name/131\",[62,55.81]],[\"comment/131\",[]],[\"name/132\",[63,55.81]],[\"comment/132\",[]],[\"name/133\",[64,55.81]],[\"comment/133\",[]],[\"name/134\",[65,55.81]],[\"comment/134\",[]],[\"name/135\",[66,55.81]],[\"comment/135\",[]],[\"name/136\",[67,55.81]],[\"comment/136\",[]],[\"name/137\",[68,55.81]],[\"comment/137\",[]],[\"name/138\",[69,55.81]],[\"comment/138\",[]],[\"name/139\",[3,41.146]],[\"comment/139\",[]],[\"name/140\",[4,38.464]],[\"comment/140\",[]],[\"name/141\",[15,41.146]],[\"comment/141\",[]],[\"name/142\",[16,41.146]],[\"comment/142\",[]],[\"name/143\",[28,39.715]],[\"comment/143\",[]],[\"name/144\",[35,27.478]],[\"comment/144\",[]],[\"name/145\",[29,41.146]],[\"comment/145\",[]],[\"name/146\",[35,27.478]],[\"comment/146\",[]],[\"name/147\",[23,39.715]],[\"comment/147\",[]],[\"name/148\",[35,27.478]],[\"comment/148\",[]],[\"name/149\",[24,41.146]],[\"comment/149\",[]],[\"name/150\",[35,27.478]],[\"comment/150\",[]],[\"name/151\",[25,38.464]],[\"comment/151\",[]],[\"name/152\",[35,27.478]],[\"comment/152\",[]],[\"name/153\",[26,41.146]],[\"comment/153\",[]],[\"name/154\",[35,27.478]],[\"comment/154\",[]],[\"name/155\",[70,55.81]],[\"comment/155\",[]],[\"name/156\",[71,55.81]],[\"comment/156\",[]],[\"name/157\",[72,55.81]],[\"comment/157\",[]],[\"name/158\",[40,47.337]],[\"comment/158\",[]],[\"name/159\",[41,47.337]],[\"comment/159\",[]],[\"name/160\",[42,47.337]],[\"comment/160\",[]],[\"name/161\",[43,47.337]],[\"comment/161\",[]],[\"name/162\",[44,44.824]],[\"comment/162\",[]],[\"name/163\",[45,47.337]],[\"comment/163\",[]],[\"name/164\",[46,50.702]],[\"comment/164\",[]],[\"name/165\",[25,38.464]],[\"comment/165\",[]],[\"name/166\",[47,47.337]],[\"comment/166\",[]],[\"name/167\",[73,55.81]],[\"comment/167\",[]],[\"name/168\",[74,55.81]],[\"comment/168\",[]],[\"name/169\",[75,55.81]],[\"comment/169\",[]],[\"name/170\",[47,47.337]],[\"comment/170\",[]],[\"name/171\",[76,55.81]],[\"comment/171\",[]],[\"name/172\",[41,47.337]],[\"comment/172\",[]],[\"name/173\",[35,27.478]],[\"comment/173\",[]],[\"name/174\",[43,47.337]],[\"comment/174\",[]],[\"name/175\",[35,27.478]],[\"comment/175\",[]],[\"name/176\",[77,55.81]],[\"comment/176\",[]],[\"name/177\",[78,55.81]],[\"comment/177\",[]],[\"name/178\",[79,55.81]],[\"comment/178\",[]],[\"name/179\",[35,27.478]],[\"comment/179\",[]],[\"name/180\",[40,47.337]],[\"comment/180\",[]],[\"name/181\",[35,27.478]],[\"comment/181\",[]],[\"name/182\",[42,47.337]],[\"comment/182\",[]],[\"name/183\",[35,27.478]],[\"comment/183\",[]],[\"name/184\",[80,55.81]],[\"comment/184\",[]],[\"name/185\",[81,50.702]],[\"comment/185\",[]],[\"name/186\",[82,50.702]],[\"comment/186\",[]],[\"name/187\",[83,50.702]],[\"comment/187\",[]],[\"name/188\",[84,50.702]],[\"comment/188\",[]],[\"name/189\",[85,55.81]],[\"comment/189\",[]],[\"name/190\",[86,55.81]],[\"comment/190\",[]],[\"name/191\",[87,47.337]],[\"comment/191\",[]],[\"name/192\",[88,55.81]],[\"comment/192\",[]],[\"name/193\",[89,50.702]],[\"comment/193\",[]],[\"name/194\",[90,47.337]],[\"comment/194\",[]],[\"name/195\",[91,50.702]],[\"comment/195\",[]],[\"name/196\",[92,55.81]],[\"comment/196\",[]],[\"name/197\",[93,50.702]],[\"comment/197\",[]],[\"name/198\",[84,50.702]],[\"comment/198\",[]],[\"name/199\",[94,55.81]],[\"comment/199\",[]],[\"name/200\",[95,50.702]],[\"comment/200\",[]],[\"name/201\",[96,55.81]],[\"comment/201\",[]],[\"name/202\",[97,50.702]],[\"comment/202\",[]],[\"name/203\",[98,55.81]],[\"comment/203\",[]],[\"name/204\",[35,27.478]],[\"comment/204\",[]],[\"name/205\",[99,50.702]],[\"comment/205\",[]],[\"name/206\",[35,27.478]],[\"comment/206\",[]],[\"name/207\",[100,55.81]],[\"comment/207\",[]],[\"name/208\",[35,27.478]],[\"comment/208\",[]],[\"name/209\",[101,50.702]],[\"comment/209\",[]],[\"name/210\",[35,27.478]],[\"comment/210\",[]],[\"name/211\",[102,50.702]],[\"comment/211\",[]],[\"name/212\",[35,27.478]],[\"comment/212\",[]],[\"name/213\",[97,50.702]],[\"comment/213\",[]],[\"name/214\",[87,47.337]],[\"comment/214\",[]],[\"name/215\",[89,50.702]],[\"comment/215\",[]],[\"name/216\",[90,47.337]],[\"comment/216\",[]],[\"name/217\",[44,44.824]],[\"comment/217\",[]],[\"name/218\",[45,47.337]],[\"comment/218\",[]],[\"name/219\",[90,47.337]],[\"comment/219\",[]],[\"name/220\",[103,55.81]],[\"comment/220\",[]],[\"name/221\",[18,41.146]],[\"comment/221\",[]],[\"name/222\",[1,35.441]],[\"comment/222\",[]],[\"name/223\",[95,50.702]],[\"comment/223\",[]],[\"name/224\",[44,44.824]],[\"comment/224\",[]],[\"name/225\",[104,55.81]],[\"comment/225\",[]],[\"name/226\",[23,39.715]],[\"comment/226\",[]],[\"name/227\",[99,50.702]],[\"comment/227\",[]],[\"name/228\",[28,39.715]],[\"comment/228\",[]],[\"name/229\",[101,50.702]],[\"comment/229\",[]],[\"name/230\",[102,50.702]],[\"comment/230\",[]],[\"name/231\",[105,55.81]],[\"comment/231\",[]],[\"name/232\",[1,35.441]],[\"comment/232\",[]],[\"name/233\",[2,50.702]],[\"comment/233\",[]],[\"name/234\",[3,41.146]],[\"comment/234\",[]],[\"name/235\",[5,41.146]],[\"comment/235\",[]],[\"name/236\",[4,38.464]],[\"comment/236\",[]],[\"name/237\",[6,42.817]],[\"comment/237\",[]],[\"name/238\",[9,38.464]],[\"comment/238\",[]],[\"name/239\",[10,42.817]],[\"comment/239\",[]],[\"name/240\",[11,42.817]],[\"comment/240\",[]],[\"name/241\",[12,42.817]],[\"comment/241\",[]],[\"name/242\",[13,42.817]],[\"comment/242\",[]],[\"name/243\",[14,42.817]],[\"comment/243\",[]],[\"name/244\",[15,41.146]],[\"comment/244\",[]],[\"name/245\",[16,41.146]],[\"comment/245\",[]],[\"name/246\",[17,42.817]],[\"comment/246\",[]],[\"name/247\",[18,41.146]],[\"comment/247\",[]],[\"name/248\",[19,42.817]],[\"comment/248\",[]],[\"name/249\",[20,42.817]],[\"comment/249\",[]],[\"name/250\",[7,38.464]],[\"comment/250\",[]],[\"name/251\",[21,42.817]],[\"comment/251\",[]],[\"name/252\",[22,42.817]],[\"comment/252\",[]],[\"name/253\",[23,39.715]],[\"comment/253\",[]],[\"name/254\",[24,41.146]],[\"comment/254\",[]],[\"name/255\",[25,38.464]],[\"comment/255\",[]],[\"name/256\",[26,41.146]],[\"comment/256\",[]],[\"name/257\",[27,42.817]],[\"comment/257\",[]],[\"name/258\",[28,39.715]],[\"comment/258\",[]],[\"name/259\",[29,41.146]],[\"comment/259\",[]],[\"name/260\",[8,42.817]],[\"comment/260\",[]],[\"name/261\",[30,42.817]],[\"comment/261\",[]],[\"name/262\",[31,42.817]],[\"comment/262\",[]],[\"name/263\",[32,42.817]],[\"comment/263\",[]],[\"name/264\",[33,42.817]],[\"comment/264\",[]],[\"name/265\",[34,42.817]],[\"comment/265\",[]],[\"name/266\",[35,27.478]],[\"comment/266\",[]],[\"name/267\",[106,55.81]],[\"comment/267\",[]],[\"name/268\",[1,35.441]],[\"comment/268\",[]],[\"name/269\",[9,38.464]],[\"comment/269\",[]],[\"name/270\",[10,42.817]],[\"comment/270\",[]],[\"name/271\",[11,42.817]],[\"comment/271\",[]],[\"name/272\",[12,42.817]],[\"comment/272\",[]],[\"name/273\",[13,42.817]],[\"comment/273\",[]],[\"name/274\",[14,42.817]],[\"comment/274\",[]],[\"name/275\",[3,41.146]],[\"comment/275\",[]],[\"name/276\",[4,38.464]],[\"comment/276\",[]],[\"name/277\",[5,41.146]],[\"comment/277\",[]],[\"name/278\",[6,42.817]],[\"comment/278\",[]],[\"name/279\",[15,41.146]],[\"comment/279\",[]],[\"name/280\",[16,41.146]],[\"comment/280\",[]],[\"name/281\",[17,42.817]],[\"comment/281\",[]],[\"name/282\",[18,41.146]],[\"comment/282\",[]],[\"name/283\",[19,42.817]],[\"comment/283\",[]],[\"name/284\",[20,42.817]],[\"comment/284\",[]],[\"name/285\",[7,38.464]],[\"comment/285\",[]],[\"name/286\",[21,42.817]],[\"comment/286\",[]],[\"name/287\",[22,42.817]],[\"comment/287\",[]],[\"name/288\",[23,39.715]],[\"comment/288\",[]],[\"name/289\",[24,41.146]],[\"comment/289\",[]],[\"name/290\",[25,38.464]],[\"comment/290\",[]],[\"name/291\",[26,41.146]],[\"comment/291\",[]],[\"name/292\",[27,42.817]],[\"comment/292\",[]],[\"name/293\",[28,39.715]],[\"comment/293\",[]],[\"name/294\",[29,41.146]],[\"comment/294\",[]],[\"name/295\",[8,42.817]],[\"comment/295\",[]],[\"name/296\",[30,42.817]],[\"comment/296\",[]],[\"name/297\",[31,42.817]],[\"comment/297\",[]],[\"name/298\",[32,42.817]],[\"comment/298\",[]],[\"name/299\",[33,42.817]],[\"comment/299\",[]],[\"name/300\",[34,42.817]],[\"comment/300\",[]],[\"name/301\",[35,27.478]],[\"comment/301\",[]],[\"name/302\",[107,55.81]],[\"comment/302\",[]],[\"name/303\",[108,55.81]],[\"comment/303\",[]],[\"name/304\",[1,35.441]],[\"comment/304\",[]],[\"name/305\",[109,44.824]],[\"comment/305\",[]],[\"name/306\",[110,47.337]],[\"comment/306\",[]],[\"name/307\",[111,47.337]],[\"comment/307\",[]],[\"name/308\",[9,38.464]],[\"comment/308\",[]],[\"name/309\",[112,47.337]],[\"comment/309\",[]],[\"name/310\",[7,38.464]],[\"comment/310\",[]],[\"name/311\",[113,55.81]],[\"comment/311\",[]],[\"name/312\",[114,55.81]],[\"comment/312\",[]],[\"name/313\",[115,47.337]],[\"comment/313\",[]],[\"name/314\",[116,47.337]],[\"comment/314\",[]],[\"name/315\",[117,47.337]],[\"comment/315\",[]],[\"name/316\",[118,47.337]],[\"comment/316\",[]],[\"name/317\",[119,47.337]],[\"comment/317\",[]],[\"name/318\",[120,47.337]],[\"comment/318\",[]],[\"name/319\",[121,47.337]],[\"comment/319\",[]],[\"name/320\",[122,55.81]],[\"comment/320\",[]],[\"name/321\",[123,55.81]],[\"comment/321\",[]],[\"name/322\",[1,35.441]],[\"comment/322\",[]],[\"name/323\",[117,47.337]],[\"comment/323\",[]],[\"name/324\",[119,47.337]],[\"comment/324\",[]],[\"name/325\",[109,44.824]],[\"comment/325\",[]],[\"name/326\",[110,47.337]],[\"comment/326\",[]],[\"name/327\",[111,47.337]],[\"comment/327\",[]],[\"name/328\",[9,38.464]],[\"comment/328\",[]],[\"name/329\",[112,47.337]],[\"comment/329\",[]],[\"name/330\",[7,38.464]],[\"comment/330\",[]],[\"name/331\",[115,47.337]],[\"comment/331\",[]],[\"name/332\",[116,47.337]],[\"comment/332\",[]],[\"name/333\",[118,47.337]],[\"comment/333\",[]],[\"name/334\",[120,47.337]],[\"comment/334\",[]],[\"name/335\",[121,47.337]],[\"comment/335\",[]],[\"name/336\",[124,55.81]],[\"comment/336\",[]],[\"name/337\",[1,35.441]],[\"comment/337\",[]],[\"name/338\",[117,47.337]],[\"comment/338\",[]],[\"name/339\",[109,44.824]],[\"comment/339\",[]],[\"name/340\",[110,47.337]],[\"comment/340\",[]],[\"name/341\",[111,47.337]],[\"comment/341\",[]],[\"name/342\",[9,38.464]],[\"comment/342\",[]],[\"name/343\",[112,47.337]],[\"comment/343\",[]],[\"name/344\",[7,38.464]],[\"comment/344\",[]],[\"name/345\",[115,47.337]],[\"comment/345\",[]],[\"name/346\",[116,47.337]],[\"comment/346\",[]],[\"name/347\",[118,47.337]],[\"comment/347\",[]],[\"name/348\",[119,47.337]],[\"comment/348\",[]],[\"name/349\",[120,47.337]],[\"comment/349\",[]],[\"name/350\",[121,47.337]],[\"comment/350\",[]],[\"name/351\",[125,55.81]],[\"comment/351\",[]],[\"name/352\",[126,50.702]],[\"comment/352\",[]],[\"name/353\",[127,55.81]],[\"comment/353\",[]],[\"name/354\",[128,55.81]],[\"comment/354\",[]],[\"name/355\",[129,55.81]],[\"comment/355\",[]],[\"name/356\",[126,50.702]],[\"comment/356\",[]],[\"name/357\",[130,55.81]],[\"comment/357\",[]],[\"name/358\",[131,55.81]],[\"comment/358\",[]],[\"name/359\",[132,55.81]],[\"comment/359\",[]],[\"name/360\",[91,50.702]],[\"comment/360\",[]],[\"name/361\",[87,47.337]],[\"comment/361\",[]],[\"name/362\",[133,55.81]],[\"comment/362\",[]],[\"name/363\",[81,50.702]],[\"comment/363\",[]],[\"name/364\",[82,50.702]],[\"comment/364\",[]],[\"name/365\",[83,50.702]],[\"comment/365\",[]],[\"name/366\",[134,55.81]],[\"comment/366\",[]],[\"name/367\",[135,55.81]],[\"comment/367\",[]],[\"name/368\",[35,27.478]],[\"comment/368\",[]],[\"name/369\",[136,55.81]],[\"comment/369\",[]],[\"name/370\",[35,27.478]],[\"comment/370\",[]],[\"name/371\",[93,50.702]],[\"comment/371\",[]],[\"name/372\",[109,44.824]],[\"comment/372\",[]],[\"name/373\",[137,55.81]],[\"comment/373\",[]],[\"name/374\",[35,27.478]],[\"comment/374\",[]],[\"name/375\",[138,55.81]],[\"comment/375\",[]],[\"name/376\",[139,55.81]],[\"comment/376\",[]],[\"name/377\",[35,27.478]],[\"comment/377\",[]],[\"name/378\",[140,55.81]],[\"comment/378\",[]],[\"name/379\",[1,35.441]],[\"comment/379\",[]],[\"name/380\",[4,38.464]],[\"comment/380\",[]],[\"name/381\",[141,55.81]],[\"comment/381\",[]],[\"name/382\",[142,55.81]],[\"comment/382\",[]],[\"name/383\",[143,55.81]],[\"comment/383\",[]],[\"name/384\",[144,55.81]],[\"comment/384\",[]],[\"name/385\",[145,55.81]],[\"comment/385\",[]],[\"name/386\",[146,55.81]],[\"comment/386\",[]],[\"name/387\",[5,41.146]],[\"comment/387\",[]],[\"name/388\",[147,55.81]],[\"comment/388\",[]],[\"name/389\",[148,55.81]],[\"comment/389\",[]],[\"name/390\",[1,35.441]],[\"comment/390\",[]],[\"name/391\",[149,55.81]],[\"comment/391\",[]],[\"name/392\",[150,55.81]],[\"comment/392\",[]],[\"name/393\",[151,55.81]],[\"comment/393\",[]],[\"name/394\",[4,38.464]],[\"comment/394\",[]],[\"name/395\",[152,55.81]],[\"comment/395\",[]],[\"name/396\",[153,55.81]],[\"comment/396\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":35,\"name\":{\"35\":{},\"70\":{},\"125\":{},\"144\":{},\"146\":{},\"148\":{},\"150\":{},\"152\":{},\"154\":{},\"173\":{},\"175\":{},\"179\":{},\"181\":{},\"183\":{},\"204\":{},\"206\":{},\"208\":{},\"210\":{},\"212\":{},\"266\":{},\"301\":{},\"368\":{},\"370\":{},\"374\":{},\"377\":{}},\"comment\":{}}],[\"abstractpool\",{\"_index\":48,\"name\":{\"83\":{}},\"comment\":{}}],[\"abstractworker\",{\"_index\":108,\"name\":{\"303\":{}},\"comment\":{}}],[\"aftertaskexecutionhook\",{\"_index\":31,\"name\":{\"31\":{},\"66\":{},\"117\":{},\"262\":{},\"297\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":14,\"name\":{\"14\":{},\"45\":{},\"122\":{},\"243\":{},\"274\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":111,\"name\":{\"307\":{},\"327\":{},\"341\":{}},\"comment\":{}}],[\"async\",{\"_index\":129,\"name\":{\"355\":{}},\"comment\":{}}],[\"avgruntime\",{\"_index\":89,\"name\":{\"193\":{},\"215\":{}},\"comment\":{}}],[\"beforetaskexecutionhook\",{\"_index\":30,\"name\":{\"30\":{},\"65\":{},\"116\":{},\"261\":{},\"296\":{}},\"comment\":{}}],[\"buildtasksqueueoptions\",{\"_index\":56,\"name\":{\"107\":{}},\"comment\":{}}],[\"busy\",{\"_index\":6,\"name\":{\"6\":{},\"49\":{},\"109\":{},\"237\":{},\"278\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":118,\"name\":{\"316\":{},\"333\":{},\"347\":{}},\"comment\":{}}],[\"checkandemitevents\",{\"_index\":57,\"name\":{\"126\":{}},\"comment\":{}}],[\"checkfilepath\",{\"_index\":49,\"name\":{\"92\":{}},\"comment\":{}}],[\"checknumberofworkers\",{\"_index\":50,\"name\":{\"93\":{}},\"comment\":{}}],[\"checkpooloptions\",{\"_index\":51,\"name\":{\"94\":{}},\"comment\":{}}],[\"checksize\",{\"_index\":147,\"name\":{\"388\":{}},\"comment\":{}}],[\"checktaskfunctions\",{\"_index\":114,\"name\":{\"312\":{}},\"comment\":{}}],[\"checkvalidtasksqueueoptions\",{\"_index\":54,\"name\":{\"97\":{}},\"comment\":{}}],[\"checkvalidworkerchoicestrategy\",{\"_index\":52,\"name\":{\"95\":{}},\"comment\":{}}],[\"checkvalidworkerchoicestrategyoptions\",{\"_index\":53,\"name\":{\"96\":{}},\"comment\":{}}],[\"checkworkeroptions\",{\"_index\":113,\"name\":{\"311\":{}},\"comment\":{}}],[\"choose\",{\"_index\":100,\"name\":{\"207\":{}},\"comment\":{}}],[\"chooseworkernode\",{\"_index\":32,\"name\":{\"32\":{},\"67\":{},\"118\":{},\"263\":{},\"298\":{}},\"comment\":{}}],[\"circulararray\",{\"_index\":140,\"name\":{\"378\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":37,\"name\":{\"71\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":123,\"name\":{\"321\":{}},\"comment\":{}}],[\"concat\",{\"_index\":143,\"name\":{\"383\":{}},\"comment\":{}}],[\"concurrency\",{\"_index\":76,\"name\":{\"171\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"37\":{},\"84\":{},\"222\":{},\"232\":{},\"268\":{},\"304\":{},\"322\":{},\"337\":{},\"379\":{},\"390\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":33,\"name\":{\"33\":{},\"68\":{},\"123\":{},\"264\":{},\"299\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":13,\"name\":{\"13\":{},\"44\":{},\"121\":{},\"242\":{},\"273\":{}},\"comment\":{}}],[\"data\",{\"_index\":82,\"name\":{\"186\":{},\"364\":{}},\"comment\":{}}],[\"dequeue\",{\"_index\":153,\"name\":{\"396\":{}},\"comment\":{}}],[\"dequeuetask\",{\"_index\":64,\"name\":{\"133\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":29,\"name\":{\"29\":{},\"64\":{},\"112\":{},\"145\":{},\"259\":{},\"294\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":10,\"name\":{\"10\":{},\"41\":{},\"113\":{},\"239\":{},\"270\":{}},\"comment\":{}}],[\"draft\",{\"_index\":130,\"name\":{\"357\":{}},\"comment\":{}}],[\"dynamic\",{\"_index\":75,\"name\":{\"169\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":105,\"name\":{\"231\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":16,\"name\":{\"16\":{},\"51\":{},\"86\":{},\"142\":{},\"245\":{},\"280\":{}},\"comment\":{}}],[\"empty\",{\"_index\":146,\"name\":{\"386\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":46,\"name\":{\"80\":{},\"164\":{}},\"comment\":{}}],[\"enabletasksqueue\",{\"_index\":25,\"name\":{\"25\":{},\"60\":{},\"81\":{},\"105\":{},\"151\":{},\"165\":{},\"255\":{},\"290\":{}},\"comment\":{}}],[\"enqueue\",{\"_index\":152,\"name\":{\"395\":{}},\"comment\":{}}],[\"enqueuetask\",{\"_index\":63,\"name\":{\"132\":{}},\"comment\":{}}],[\"env\",{\"_index\":38,\"name\":{\"72\":{}},\"comment\":{}}],[\"error\",{\"_index\":91,\"name\":{\"195\":{},\"360\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":41,\"name\":{\"75\":{},\"159\":{},\"172\":{}},\"comment\":{}}],[\"execute\",{\"_index\":28,\"name\":{\"28\":{},\"63\":{},\"111\":{},\"143\":{},\"228\":{},\"258\":{},\"293\":{}},\"comment\":{}}],[\"executetask\",{\"_index\":62,\"name\":{\"131\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":43,\"name\":{\"77\":{},\"161\":{},\"174\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":20,\"name\":{\"20\":{},\"55\":{},\"90\":{},\"249\":{},\"284\":{}},\"comment\":{}}],[\"fixed\",{\"_index\":74,\"name\":{\"168\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":36,\"name\":{\"36\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":106,\"name\":{\"267\":{}},\"comment\":{}}],[\"flushtasksqueue\",{\"_index\":66,\"name\":{\"135\":{}},\"comment\":{}}],[\"flushtasksqueues\",{\"_index\":67,\"name\":{\"136\":{}},\"comment\":{}}],[\"full\",{\"_index\":5,\"name\":{\"5\":{},\"48\":{},\"108\":{},\"235\":{},\"277\":{},\"387\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":116,\"name\":{\"314\":{},\"332\":{},\"346\":{}},\"comment\":{}}],[\"getrequiredstatistics\",{\"_index\":104,\"name\":{\"225\":{}},\"comment\":{}}],[\"gettaskfunction\",{\"_index\":122,\"name\":{\"320\":{}},\"comment\":{}}],[\"getworkernodekey\",{\"_index\":55,\"name\":{\"102\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":119,\"name\":{\"317\":{},\"324\":{},\"348\":{}},\"comment\":{}}],[\"head\",{\"_index\":150,\"name\":{\"392\":{}},\"comment\":{}}],[\"id\",{\"_index\":83,\"name\":{\"187\":{},\"365\":{}},\"comment\":{}}],[\"internalbusy\",{\"_index\":27,\"name\":{\"27\":{},\"62\":{},\"110\":{},\"257\":{},\"292\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":69,\"name\":{\"138\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":9,\"name\":{\"9\":{},\"40\":{},\"115\":{},\"238\":{},\"269\":{},\"308\":{},\"328\":{},\"342\":{}},\"comment\":{}}],[\"items\",{\"_index\":149,\"name\":{\"391\":{}},\"comment\":{}}],[\"iworker\",{\"_index\":77,\"name\":{\"176\":{}},\"comment\":{}}],[\"iworkerchoicestrategy\",{\"_index\":96,\"name\":{\"201\":{}},\"comment\":{}}],[\"kill\",{\"_index\":132,\"name\":{\"359\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":126,\"name\":{\"352\":{},\"356\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":125,\"name\":{\"351\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":110,\"name\":{\"306\":{},\"326\":{},\"340\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":112,\"name\":{\"309\":{},\"329\":{},\"343\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"233\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":128,\"name\":{\"354\":{}},\"comment\":{}}],[\"medruntime\",{\"_index\":90,\"name\":{\"194\":{},\"216\":{},\"219\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":40,\"name\":{\"74\":{},\"158\":{},\"180\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":115,\"name\":{\"313\":{},\"331\":{},\"345\":{}},\"comment\":{}}],[\"messagevalue\",{\"_index\":131,\"name\":{\"358\":{}},\"comment\":{}}],[\"name\",{\"_index\":81,\"name\":{\"185\":{},\"363\":{}},\"comment\":{}}],[\"numberofqueuedtasks\",{\"_index\":22,\"name\":{\"22\":{},\"57\":{},\"101\":{},\"252\":{},\"287\":{}},\"comment\":{}}],[\"numberofrunningtasks\",{\"_index\":21,\"name\":{\"21\":{},\"56\":{},\"100\":{},\"251\":{},\"286\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":19,\"name\":{\"19\":{},\"54\":{},\"89\":{},\"248\":{},\"283\":{}},\"comment\":{}}],[\"on\",{\"_index\":78,\"name\":{\"177\":{}},\"comment\":{}}],[\"once\",{\"_index\":79,\"name\":{\"178\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":42,\"name\":{\"76\":{},\"160\":{},\"182\":{}},\"comment\":{}}],[\"opts\",{\"_index\":7,\"name\":{\"7\":{},\"38\":{},\"91\":{},\"250\":{},\"285\":{},\"310\":{},\"330\":{},\"344\":{}},\"comment\":{}}],[\"parent\",{\"_index\":133,\"name\":{\"362\":{}},\"comment\":{}}],[\"poolemitter\",{\"_index\":70,\"name\":{\"155\":{}},\"comment\":{}}],[\"poolevent\",{\"_index\":71,\"name\":{\"156\":{}},\"comment\":{}}],[\"poolevents\",{\"_index\":68,\"name\":{\"137\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":72,\"name\":{\"157\":{}},\"comment\":{}}],[\"pooltype\",{\"_index\":73,\"name\":{\"167\":{}},\"comment\":{}}],[\"promiseresponsemap\",{\"_index\":17,\"name\":{\"17\":{},\"52\":{},\"87\":{},\"246\":{},\"281\":{}},\"comment\":{}}],[\"promiseresponsewrapper\",{\"_index\":134,\"name\":{\"366\":{}},\"comment\":{}}],[\"push\",{\"_index\":141,\"name\":{\"381\":{}},\"comment\":{}}],[\"pushworkernode\",{\"_index\":59,\"name\":{\"128\":{}},\"comment\":{}}],[\"queue\",{\"_index\":148,\"name\":{\"389\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":12,\"name\":{\"12\":{},\"43\":{},\"120\":{},\"241\":{},\"272\":{}},\"comment\":{}}],[\"reject\",{\"_index\":136,\"name\":{\"369\":{}},\"comment\":{}}],[\"remove\",{\"_index\":101,\"name\":{\"209\":{},\"229\":{}},\"comment\":{}}],[\"removeworkernode\",{\"_index\":61,\"name\":{\"130\":{}},\"comment\":{}}],[\"requiredstatistics\",{\"_index\":97,\"name\":{\"202\":{},\"213\":{}},\"comment\":{}}],[\"reset\",{\"_index\":98,\"name\":{\"203\":{}},\"comment\":{}}],[\"resize\",{\"_index\":145,\"name\":{\"385\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":135,\"name\":{\"367\":{}},\"comment\":{}}],[\"run\",{\"_index\":85,\"name\":{\"189\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":121,\"name\":{\"319\":{},\"335\":{},\"350\":{}},\"comment\":{}}],[\"running\",{\"_index\":86,\"name\":{\"190\":{}},\"comment\":{}}],[\"runsync\",{\"_index\":120,\"name\":{\"318\":{},\"334\":{},\"349\":{}},\"comment\":{}}],[\"runtime\",{\"_index\":87,\"name\":{\"191\":{},\"214\":{},\"361\":{}},\"comment\":{}}],[\"runtimehistory\",{\"_index\":88,\"name\":{\"192\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":117,\"name\":{\"315\":{},\"323\":{},\"338\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":11,\"name\":{\"11\":{},\"42\":{},\"119\":{},\"240\":{},\"271\":{}},\"comment\":{}}],[\"setoptions\",{\"_index\":102,\"name\":{\"211\":{},\"230\":{}},\"comment\":{}}],[\"settasksqueueoptions\",{\"_index\":26,\"name\":{\"26\":{},\"61\":{},\"106\":{},\"153\":{},\"256\":{},\"291\":{}},\"comment\":{}}],[\"settings\",{\"_index\":39,\"name\":{\"73\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":8,\"name\":{\"8\":{},\"39\":{},\"114\":{},\"260\":{},\"295\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":23,\"name\":{\"23\":{},\"58\":{},\"103\":{},\"147\":{},\"226\":{},\"253\":{},\"288\":{}},\"comment\":{}}],[\"setworkerchoicestrategyoptions\",{\"_index\":24,\"name\":{\"24\":{},\"59\":{},\"104\":{},\"149\":{},\"254\":{},\"289\":{}},\"comment\":{}}],[\"setworkernode\",{\"_index\":60,\"name\":{\"129\":{}},\"comment\":{}}],[\"setworkernodetasksusage\",{\"_index\":58,\"name\":{\"127\":{}},\"comment\":{}}],[\"size\",{\"_index\":4,\"name\":{\"4\":{},\"47\":{},\"99\":{},\"140\":{},\"236\":{},\"276\":{},\"380\":{},\"394\":{}},\"comment\":{}}],[\"splice\",{\"_index\":144,\"name\":{\"384\":{}},\"comment\":{}}],[\"tail\",{\"_index\":151,\"name\":{\"393\":{}},\"comment\":{}}],[\"task\",{\"_index\":80,\"name\":{\"184\":{}},\"comment\":{}}],[\"taskfunctions\",{\"_index\":109,\"name\":{\"305\":{},\"325\":{},\"339\":{},\"372\":{}},\"comment\":{}}],[\"tasksqueue\",{\"_index\":94,\"name\":{\"199\":{}},\"comment\":{}}],[\"tasksqueueoptions\",{\"_index\":47,\"name\":{\"82\":{},\"166\":{},\"170\":{}},\"comment\":{}}],[\"tasksqueuesize\",{\"_index\":65,\"name\":{\"134\":{}},\"comment\":{}}],[\"tasksusage\",{\"_index\":84,\"name\":{\"188\":{},\"198\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":124,\"name\":{\"336\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":107,\"name\":{\"302\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"46\":{},\"98\":{},\"139\":{},\"234\":{},\"275\":{}},\"comment\":{}}],[\"unshift\",{\"_index\":142,\"name\":{\"382\":{}},\"comment\":{}}],[\"update\",{\"_index\":99,\"name\":{\"205\":{},\"227\":{}},\"comment\":{}}],[\"weights\",{\"_index\":103,\"name\":{\"220\":{}},\"comment\":{}}],[\"worker\",{\"_index\":93,\"name\":{\"197\":{},\"371\":{}},\"comment\":{}}],[\"workerasyncfunction\",{\"_index\":137,\"name\":{\"373\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":95,\"name\":{\"200\":{},\"223\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":44,\"name\":{\"78\":{},\"162\":{},\"217\":{},\"224\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":18,\"name\":{\"18\":{},\"53\":{},\"88\":{},\"221\":{},\"247\":{},\"282\":{}},\"comment\":{}}],[\"workerchoicestrategyoptions\",{\"_index\":45,\"name\":{\"79\":{},\"163\":{},\"218\":{}},\"comment\":{}}],[\"workerfunction\",{\"_index\":138,\"name\":{\"375\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":34,\"name\":{\"34\":{},\"69\":{},\"124\":{},\"265\":{},\"300\":{}},\"comment\":{}}],[\"workernode\",{\"_index\":92,\"name\":{\"196\":{}},\"comment\":{}}],[\"workernodes\",{\"_index\":15,\"name\":{\"15\":{},\"50\":{},\"85\":{},\"141\":{},\"244\":{},\"279\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":127,\"name\":{\"353\":{}},\"comment\":{}}],[\"workersyncfunction\",{\"_index\":139,\"name\":{\"376\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
\ No newline at end of file
<ul class="tsd-hierarchy">
<li><a href="../interfaces/IPool.html" class="tsd-signature-type tsd-kind-interface">IPool</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L34">src/pools/abstract-pool.ts:34</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L35">src/pools/abstract-pool.ts:35</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="AbstractPool.html#full" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a>
<a href="AbstractPool.html#numberOfQueuedTasks" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a>
<a href="AbstractPool.html#numberOfRunningTasks" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a>
+<a href="AbstractPool.html#size" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a>
<a href="AbstractPool.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a>
</div></section>
<section class="tsd-index-section">
<a href="AbstractPool.html#checkPoolOptions" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Pool<wbr/>Options</span></a>
<a href="AbstractPool.html#checkValidTasksQueueOptions" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Valid<wbr/>Tasks<wbr/>Queue<wbr/>Options</span></a>
<a href="AbstractPool.html#checkValidWorkerChoiceStrategy" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Valid<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span></a>
+<a href="AbstractPool.html#checkValidWorkerChoiceStrategyOptions" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Valid<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span></a>
<a href="AbstractPool.html#chooseWorkerNode" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>choose<wbr/>Worker<wbr/>Node</span></a>
<a href="AbstractPool.html#createAndSetupWorker" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>And<wbr/>Setup<wbr/>Worker</span></a>
<a href="AbstractPool.html#createWorker" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Worker</span></a>
<a href="AbstractPool.html#execute" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>execute</span></a>
<a href="AbstractPool.html#executeTask" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>execute<wbr/>Task</span></a>
<a href="AbstractPool.html#flushTasksQueue" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>flush<wbr/>Tasks<wbr/>Queue</span></a>
-<a href="AbstractPool.html#flushTasksQueueByWorker" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>flush<wbr/>Tasks<wbr/>Queue<wbr/>By<wbr/>Worker</span></a>
<a href="AbstractPool.html#flushTasksQueues" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>flush<wbr/>Tasks<wbr/>Queues</span></a>
<a href="AbstractPool.html#getWorkerNodeKey" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Worker<wbr/>Node<wbr/>Key</span></a>
-<a href="AbstractPool.html#getWorkerTasksUsage" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Worker<wbr/>Tasks<wbr/>Usage</span></a>
<a href="AbstractPool.html#internalBusy" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>internal<wbr/>Busy</span></a>
<a href="AbstractPool.html#isMain" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>is<wbr/>Main</span></a>
<a href="AbstractPool.html#pushWorkerNode" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>push<wbr/>Worker<wbr/>Node</span></a>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="AbstractPool.html" class="tsd-signature-type tsd-kind-class">AbstractPool</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L76">src/pools/abstract-pool.ts:76</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L77">src/pools/abstract-pool.ts:77</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="emitter" class="tsd-anchor"></a>
</div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#emitter">emitter</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L43">src/pools/abstract-pool.ts:43</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L44">src/pools/abstract-pool.ts:44</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="filePath" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>file<wbr/>Path</span><a href="#filePath" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">file<wbr/>Path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>Path to the worker file.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L79">src/pools/abstract-pool.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="numberOfWorkers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>number<wbr/>Of<wbr/>Workers</span><a href="#numberOfWorkers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">number<wbr/>Of<wbr/>Workers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Number of workers that this pool should manage.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L77">src/pools/abstract-pool.ts:77</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="opts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">opts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/PoolOptions.html" class="tsd-signature-type tsd-kind-interface">PoolOptions</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">></span></div>
<div class="tsd-comment tsd-typography"><p>Options for the pool.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L79">src/pools/abstract-pool.ts:79</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L80">src/pools/abstract-pool.ts:80</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="promiseResponseMap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>promise<wbr/>Response<wbr/>Map</span><a href="#promiseResponseMap" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">promise<wbr/>Response<wbr/>Map</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/PromiseResponseWrapper.html" class="tsd-signature-type tsd-kind-interface">PromiseResponseWrapper</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
<p>When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L53">src/pools/abstract-pool.ts:53</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L54">src/pools/abstract-pool.ts:54</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="workerChoiceStrategyContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><a href="#workerChoiceStrategyContext" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><span class="tsd-signature-symbol">:</span> <a href="WorkerChoiceStrategyContext.html" class="tsd-signature-type tsd-kind-class">WorkerChoiceStrategyContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></div>
<p>Default to a round robin algorithm.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L63">src/pools/abstract-pool.ts:63</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L64">src/pools/abstract-pool.ts:64</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="workerNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker<wbr/>Nodes</span><a href="#workerNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Nodes</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/WorkerNode.html" class="tsd-signature-type tsd-kind-interface">WorkerNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
</div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#workerNodes">workerNodes</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L40">src/pools/abstract-pool.ts:40</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L41">src/pools/abstract-pool.ts:41</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="busy" class="tsd-anchor"></a>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L297">src/pools/abstract-pool.ts:297</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L320">src/pools/abstract-pool.ts:320</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="full" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>full</span><a href="#full" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L290">src/pools/abstract-pool.ts:290</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L313">src/pools/abstract-pool.ts:313</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="numberOfQueuedTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span><a href="#numberOfQueuedTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L196">src/pools/abstract-pool.ts:196</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L218">src/pools/abstract-pool.ts:218</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="numberOfRunningTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span><a href="#numberOfRunningTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L186">src/pools/abstract-pool.ts:186</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L208">src/pools/abstract-pool.ts:208</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures">
+<li class="tsd-signature" id="size.size-1"><span class="tsd-signature-symbol">get</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Pool maximum size.</p>
+</div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
+<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#size">size</a></p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L203">src/pools/abstract-pool.ts:203</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <a href="../enums/PoolType.html" class="tsd-signature-type tsd-kind-enum">PoolType</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#type">type</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L181">src/pools/abstract-pool.ts:181</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L200">src/pools/abstract-pool.ts:200</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="afterTaskExecutionHook" class="tsd-anchor"></a>
<div class="tsd-comment tsd-typography"><p>The worker.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The received message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L387">src/pools/abstract-pool.ts:387</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L411">src/pools/abstract-pool.ts:411</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="afterWorkerSetup" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>after<wbr/>Worker<wbr/>Setup</span><a href="#afterWorkerSetup" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L475">src/pools/abstract-pool.ts:475</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L502">src/pools/abstract-pool.ts:502</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="beforeTaskExecutionHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>before<wbr/>Task<wbr/>Execution<wbr/>Hook</span><a href="#beforeTaskExecutionHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L376">src/pools/abstract-pool.ts:376</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L400">src/pools/abstract-pool.ts:400</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="buildTasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>build<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><a href="#buildTasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">tasksQueueOptions</span>: <a href="../interfaces/TasksQueueOptions.html" class="tsd-signature-type tsd-kind-interface">TasksQueueOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/TasksQueueOptions.html" class="tsd-signature-type tsd-kind-interface">TasksQueueOptions</a></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L277">src/pools/abstract-pool.ts:277</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L300">src/pools/abstract-pool.ts:300</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="checkAndEmitEvents" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>And<wbr/>Emit<wbr/>Events</span><a href="#checkAndEmitEvents" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L533">src/pools/abstract-pool.ts:533</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L560">src/pools/abstract-pool.ts:560</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="checkFilePath" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>File<wbr/>Path</span><a href="#checkFilePath" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L113">src/pools/abstract-pool.ts:113</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L114">src/pools/abstract-pool.ts:114</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="checkNumberOfWorkers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Number<wbr/>Of<wbr/>Workers</span><a href="#checkNumberOfWorkers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">numberOfWorkers</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L122">src/pools/abstract-pool.ts:122</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L123">src/pools/abstract-pool.ts:123</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="checkPoolOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Pool<wbr/>Options</span><a href="#checkPoolOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">opts</span>: <a href="../interfaces/PoolOptions.html" class="tsd-signature-type tsd-kind-interface">PoolOptions</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L140">src/pools/abstract-pool.ts:140</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L141">src/pools/abstract-pool.ts:141</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="checkValidTasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Valid<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><a href="#checkValidTasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">tasksQueueOptions</span>: <a href="../interfaces/TasksQueueOptions.html" class="tsd-signature-type tsd-kind-interface">TasksQueueOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L168">src/pools/abstract-pool.ts:168</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L184">src/pools/abstract-pool.ts:184</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="checkValidWorkerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Valid<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><a href="#checkValidWorkerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">workerChoiceStrategy</span>: <span class="tsd-signature-type">"ROUND_ROBIN"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_USED"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_BUSY"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"FAIR_SHARE"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"WEIGHTED_ROUND_ROBIN"</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L158">src/pools/abstract-pool.ts:158</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L164">src/pools/abstract-pool.ts:164</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member tsd-is-private"><a id="checkValidWorkerChoiceStrategyOptions" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Valid<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#checkValidWorkerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures tsd-is-private">
+<li class="tsd-signature tsd-anchor-link" id="checkValidWorkerChoiceStrategyOptions.checkValidWorkerChoiceStrategyOptions-1"><span class="tsd-kind-call-signature">check<wbr/>Valid<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerChoiceStrategyOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#checkValidWorkerChoiceStrategyOptions.checkValidWorkerChoiceStrategyOptions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-description">
+<div class="tsd-parameters">
+<h4 class="tsd-parameters-title">Parameters</h4>
+<ul class="tsd-parameter-list">
+<li>
+<h5><span class="tsd-kind-parameter">workerChoiceStrategyOptions</span>: <a href="../interfaces/WorkerChoiceStrategyOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerChoiceStrategyOptions</a></h5></li></ul></div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L174">src/pools/abstract-pool.ts:174</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="chooseWorkerNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>choose<wbr/>Worker<wbr/>Node</span><a href="#chooseWorkerNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/WorkerNode.html" class="tsd-signature-type tsd-kind-interface">WorkerNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">]</span></h4><p>[worker node key, worker node].</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L420">src/pools/abstract-pool.ts:420</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L446">src/pools/abstract-pool.ts:446</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="createAndSetupWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>And<wbr/>Setup<wbr/>Worker</span><a href="#createAndSetupWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Worker</span></h4><p>New, completely set up worker.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L482">src/pools/abstract-pool.ts:482</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L509">src/pools/abstract-pool.ts:509</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="createWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>create<wbr/>Worker</span><a href="#createWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Worker</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L466">src/pools/abstract-pool.ts:466</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L493">src/pools/abstract-pool.ts:493</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="dequeueTask" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>dequeue<wbr/>Task</span><a href="#dequeueTask" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">workerNodeKey</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/Task.html" class="tsd-signature-type tsd-kind-interface">Task</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L635">src/pools/abstract-pool.ts:635</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L647">src/pools/abstract-pool.ts:647</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="destroy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#destroy">destroy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L339">src/pools/abstract-pool.ts:339</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L363">src/pools/abstract-pool.ts:363</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="destroyWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>destroy<wbr/>Worker</span><a href="#destroyWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L353">src/pools/abstract-pool.ts:353</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L377">src/pools/abstract-pool.ts:377</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="enableTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>enable<wbr/>Tasks<wbr/>Queue</span><a href="#enableTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#enableTasksQueue">enableTasksQueue</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L255">src/pools/abstract-pool.ts:255</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L278">src/pools/abstract-pool.ts:278</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="enqueueTask" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>enqueue<wbr/>Task</span><a href="#enqueueTask" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">task</span>: <a href="../interfaces/Task.html" class="tsd-signature-type tsd-kind-interface">Task</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L631">src/pools/abstract-pool.ts:631</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L643">src/pools/abstract-pool.ts:643</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="execute" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>execute</span><a href="#execute" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
-<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Executes the function specified in the worker constructor with the task data input parameter.</p>
</div>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Data</span></h5>
<div class="tsd-comment tsd-typography"><p>The task input data for the specified worker function. This can only be serializable data.</p>
+</div></li>
+<li>
+<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5>
+<div class="tsd-comment tsd-typography"><p>The name of the worker function to execute. If not specified, the default worker function will be executed.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><p>Promise that will be fulfilled when the task is completed.</p>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#execute">execute</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L308">src/pools/abstract-pool.ts:308</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L331">src/pools/abstract-pool.ts:331</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="executeTask" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>execute<wbr/>Task</span><a href="#executeTask" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">task</span>: <a href="../interfaces/Task.html" class="tsd-signature-type tsd-kind-interface">Task</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L626">src/pools/abstract-pool.ts:626</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L638">src/pools/abstract-pool.ts:638</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="flushTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>flush<wbr/>Tasks<wbr/>Queue</span><a href="#flushTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">workerNodeKey</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L643">src/pools/abstract-pool.ts:643</a></li></ul></aside></li></ul></section>
-<section class="tsd-panel tsd-member tsd-is-private"><a id="flushTasksQueueByWorker" class="tsd-anchor"></a>
-<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>flush<wbr/>Tasks<wbr/>Queue<wbr/>By<wbr/>Worker</span><a href="#flushTasksQueueByWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
-<ul class="tsd-signatures tsd-is-private">
-<li class="tsd-signature tsd-anchor-link" id="flushTasksQueueByWorker.flushTasksQueueByWorker-1"><span class="tsd-kind-call-signature">flush<wbr/>Tasks<wbr/>Queue<wbr/>By<wbr/>Worker</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">worker</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#flushTasksQueueByWorker.flushTasksQueueByWorker-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
-<li class="tsd-description">
-<div class="tsd-parameters">
-<h4 class="tsd-parameters-title">Parameters</h4>
-<ul class="tsd-parameter-list">
-<li>
-<h5><span class="tsd-kind-parameter">worker</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Worker</span></h5></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
-<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L654">src/pools/abstract-pool.ts:654</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L655">src/pools/abstract-pool.ts:655</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="flushTasksQueues" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>flush<wbr/>Tasks<wbr/>Queues</span><a href="#flushTasksQueues" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L659">src/pools/abstract-pool.ts:659</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L666">src/pools/abstract-pool.ts:666</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="getWorkerNodeKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Worker<wbr/>Node<wbr/>Key</span><a href="#getWorkerNodeKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The worker node key if the worker is found in the pool worker nodes, <code>-1</code> otherwise.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L212">src/pools/abstract-pool.ts:212</a></li></ul></aside></li></ul></section>
-<section class="tsd-panel tsd-member tsd-is-private"><a id="getWorkerTasksUsage" class="tsd-anchor"></a>
-<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Worker<wbr/>Tasks<wbr/>Usage</span><a href="#getWorkerTasksUsage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
-<ul class="tsd-signatures tsd-is-private">
-<li class="tsd-signature tsd-anchor-link" id="getWorkerTasksUsage.getWorkerTasksUsage-1"><span class="tsd-kind-call-signature">get<wbr/>Worker<wbr/>Tasks<wbr/>Usage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">worker</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/TasksUsage.html" class="tsd-signature-type tsd-kind-interface">TasksUsage</a><a href="#getWorkerTasksUsage.getWorkerTasksUsage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
-<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Gets the given worker its tasks usage in the pool.</p>
-
-<h3>Throws</h3><p>Error if the worker is not found in the pool worker nodes.</p>
-</div>
-<div class="tsd-parameters">
-<h4 class="tsd-parameters-title">Parameters</h4>
-<ul class="tsd-parameter-list">
-<li>
-<h5><span class="tsd-kind-parameter">worker</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Worker</span></h5>
-<div class="tsd-comment tsd-typography"><p>The worker.</p>
-</div></li></ul></div>
-<h4 class="tsd-returns-title">Returns <a href="../interfaces/TasksUsage.html" class="tsd-signature-type tsd-kind-interface">TasksUsage</a></h4><p>The worker tasks usage.</p>
-<aside class="tsd-sources">
-<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L564">src/pools/abstract-pool.ts:564</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L234">src/pools/abstract-pool.ts:234</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="internalBusy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>internal<wbr/>Busy</span><a href="#internalBusy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L299">src/pools/abstract-pool.ts:299</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L322">src/pools/abstract-pool.ts:322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="isMain" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>is<wbr/>Main</span><a href="#isMain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L368">src/pools/abstract-pool.ts:368</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L392">src/pools/abstract-pool.ts:392</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="pushWorkerNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>push<wbr/>Worker<wbr/>Node</span><a href="#pushWorkerNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The worker nodes length.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L578">src/pools/abstract-pool.ts:578</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L590">src/pools/abstract-pool.ts:590</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="registerWorkerMessageListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>register<wbr/>Worker<wbr/>Message<wbr/>Listener</span><a href="#registerWorkerMessageListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L459">src/pools/abstract-pool.ts:459</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L486">src/pools/abstract-pool.ts:486</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="removeWorkerNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>remove<wbr/>Worker<wbr/>Node</span><a href="#removeWorkerNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L620">src/pools/abstract-pool.ts:620</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L632">src/pools/abstract-pool.ts:632</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="sendToWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>send<wbr/>To<wbr/>Worker</span><a href="#sendToWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<div class="tsd-comment tsd-typography"><p>The worker which should receive the message.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L448">src/pools/abstract-pool.ts:448</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L475">src/pools/abstract-pool.ts:475</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setTasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><a href="#setTasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#setTasksQueueOptions">setTasksQueueOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L290">src/pools/abstract-pool.ts:290</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setWorkerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><a href="#setWorkerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#setWorkerChoiceStrategy">setWorkerChoiceStrategy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L219">src/pools/abstract-pool.ts:219</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L241">src/pools/abstract-pool.ts:241</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setWorkerChoiceStrategyOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#setWorkerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IPool.html">IPool</a>.<a href="../interfaces/IPool.html#setWorkerChoiceStrategyOptions">setWorkerChoiceStrategyOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L245">src/pools/abstract-pool.ts:245</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="setWorkerNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>set<wbr/>Worker<wbr/>Node</span><a href="#setWorkerNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L602">src/pools/abstract-pool.ts:602</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L614">src/pools/abstract-pool.ts:614</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="setWorkerNodeTasksUsage" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>set<wbr/>Worker<wbr/>Node<wbr/>Tasks<wbr/>Usage</span><a href="#setWorkerNodeTasksUsage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L550">src/pools/abstract-pool.ts:550</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L577">src/pools/abstract-pool.ts:577</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="setupHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>setup<wbr/>Hook</span><a href="#setupHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L361">src/pools/abstract-pool.ts:361</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L385">src/pools/abstract-pool.ts:385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="tasksQueueSize" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>tasks<wbr/>Queue<wbr/>Size</span><a href="#tasksQueueSize" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">workerNodeKey</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L639">src/pools/abstract-pool.ts:639</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L651">src/pools/abstract-pool.ts:651</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="workerListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Listener</span><a href="#workerListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><p>The listener function to execute when a message is received from a worker.</p>
</li></ul></li></ul><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L505">src/pools/abstract-pool.ts:505</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L532">src/pools/abstract-pool.ts:532</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#full" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a></li>
<li><a href="#numberOfQueuedTasks" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a></li>
<li><a href="#numberOfRunningTasks" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a></li>
+<li><a href="#size" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a></li>
<li><a href="#type" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a></li>
<li><a href="#afterTaskExecutionHook" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Task<wbr/>Execution<wbr/>Hook</span></a></li>
<li><a href="#afterWorkerSetup" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Worker<wbr/>Setup</span></a></li>
<li><a href="#checkPoolOptions" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Pool<wbr/>Options</span></a></li>
<li><a href="#checkValidTasksQueueOptions" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Valid<wbr/>Tasks<wbr/>Queue<wbr/>Options</span></a></li>
<li><a href="#checkValidWorkerChoiceStrategy" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Valid<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
+<li><a href="#checkValidWorkerChoiceStrategyOptions" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Valid<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span></a></li>
<li><a href="#chooseWorkerNode" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>choose<wbr/>Worker<wbr/>Node</span></a></li>
<li><a href="#createAndSetupWorker" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>And<wbr/>Setup<wbr/>Worker</span></a></li>
<li><a href="#createWorker" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Worker</span></a></li>
<li><a href="#execute" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>execute</span></a></li>
<li><a href="#executeTask" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>execute<wbr/>Task</span></a></li>
<li><a href="#flushTasksQueue" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>flush<wbr/>Tasks<wbr/>Queue</span></a></li>
-<li><a href="#flushTasksQueueByWorker" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>flush<wbr/>Tasks<wbr/>Queue<wbr/>By<wbr/>Worker</span></a></li>
<li><a href="#flushTasksQueues" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>flush<wbr/>Tasks<wbr/>Queues</span></a></li>
<li><a href="#getWorkerNodeKey" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Worker<wbr/>Node<wbr/>Key</span></a></li>
-<li><a href="#getWorkerTasksUsage" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Worker<wbr/>Tasks<wbr/>Usage</span></a></li>
<li><a href="#internalBusy" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>internal<wbr/>Busy</span></a></li>
<li><a href="#isMain" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>is<wbr/>Main</span></a></li>
<li><a href="#pushWorkerNode" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>push<wbr/>Worker<wbr/>Node</span></a></li>
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<li><a href="ClusterWorker.html" class="tsd-signature-type tsd-kind-class">ClusterWorker</a></li>
<li><a href="ThreadWorker.html" class="tsd-signature-type tsd-kind-class">ThreadWorker</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L24">src/worker/abstract-worker.ts:24</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L26">src/worker/abstract-worker.ts:26</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="AbstractWorker.html#lastTaskTimestamp" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>last<wbr/>Task<wbr/>Timestamp</span></a>
<a href="AbstractWorker.html#mainWorker" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>main<wbr/>Worker</span></a>
<a href="AbstractWorker.html#opts" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>opts</span></a>
+<a href="AbstractWorker.html#taskFunctions" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>task<wbr/>Functions</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<div class="tsd-index-list"><a href="AbstractWorker.html#asyncId" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>async<wbr/>Id</span></a>
<a href="AbstractWorker.html#bind" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a>
<a href="AbstractWorker.html#checkAlive" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Alive</span></a>
-<a href="AbstractWorker.html#checkFunctionInput" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Function<wbr/>Input</span></a>
+<a href="AbstractWorker.html#checkTaskFunctions" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Task<wbr/>Functions</span></a>
<a href="AbstractWorker.html#checkWorkerOptions" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Worker<wbr/>Options</span></a>
<a href="AbstractWorker.html#emitDestroy" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>emit<wbr/>Destroy</span></a>
<a href="AbstractWorker.html#getMainWorker" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Main<wbr/>Worker</span></a>
+<a href="AbstractWorker.html#getTaskFunction" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Task<wbr/>Function</span></a>
<a href="AbstractWorker.html#handleError" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Error</span></a>
<a href="AbstractWorker.html#messageListener" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>message<wbr/>Listener</span></a>
-<a href="AbstractWorker.html#run" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run</span></a>
<a href="AbstractWorker.html#runAsync" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Async</span></a>
<a href="AbstractWorker.html#runInAsyncScope" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span></a>
+<a href="AbstractWorker.html#runSync" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Sync</span></a>
<a href="AbstractWorker.html#sendToMainWorker" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>send<wbr/>To<wbr/>Main<wbr/>Worker</span></a>
<a href="AbstractWorker.html#triggerAsyncId" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>trigger<wbr/>Async<wbr/>Id</span></a>
<a href="AbstractWorker.html#bind-2" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a>
<section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
<ul class="tsd-signatures">
-<li class="tsd-signature tsd-anchor-link" id="constructor.new_AbstractWorker"><span class="tsd-kind-constructor-signature">new <wbr/>Abstract<wbr/>Worker</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">isMain</span>, <span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">mainWorker</span>, <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="AbstractWorker.html" class="tsd-signature-type tsd-kind-class">AbstractWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#constructor.new_AbstractWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="constructor.new_AbstractWorker"><span class="tsd-kind-constructor-signature">new <wbr/>Abstract<wbr/>Worker</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">isMain</span>, <span class="tsd-kind-parameter">taskFunctions</span>, <span class="tsd-kind-parameter">mainWorker</span>, <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="AbstractWorker.html" class="tsd-signature-type tsd-kind-class">AbstractWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#constructor.new_AbstractWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Constructs a new poolifier worker.</p>
</div>
<div class="tsd-comment tsd-typography"><p>Whether this is the main worker or not.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function processed by the worker when the pool's <code>execution</code> function is invoked.</p>
+<h5><span class="tsd-kind-parameter">taskFunctions</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><a href="../types/TaskFunctions.html" class="tsd-signature-type tsd-kind-type-alias">TaskFunctions</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Task function(s) processed by the worker when the pool's <code>execution</code> function is invoked. The first function is the default function.</p>
</div></li>
<li>
<h5><span class="tsd-kind-parameter">mainWorker</span>: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span></h5>
<h4 class="tsd-returns-title">Returns <a href="AbstractWorker.html" class="tsd-signature-type tsd-kind-class">AbstractWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides AsyncResource.constructor</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L46">src/worker/abstract-worker.ts:46</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L52">src/worker/abstract-worker.ts:52</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="aliveInterval" class="tsd-anchor"></a>
<div class="tsd-comment tsd-typography"><p>Handler id of the <code>aliveInterval</code> worker alive check.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L36">src/worker/abstract-worker.ts:36</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L42">src/worker/abstract-worker.ts:42</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="isMain" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>is<wbr/>Main</span><a href="#isMain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">is<wbr/>Main</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<div class="tsd-comment tsd-typography"><p>Whether this is the main worker or not.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L48">src/worker/abstract-worker.ts:48</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L54">src/worker/abstract-worker.ts:54</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="lastTaskTimestamp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>last<wbr/>Task<wbr/>Timestamp</span><a href="#lastTaskTimestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">last<wbr/>Task<wbr/>Timestamp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Timestamp of the last task processed by this worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L32">src/worker/abstract-worker.ts:32</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L38">src/worker/abstract-worker.ts:38</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="mainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>main<wbr/>Worker</span><a href="#mainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">main<wbr/>Worker</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span></div>
<div class="tsd-comment tsd-typography"><p>Reference to main worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L50">src/worker/abstract-worker.ts:50</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L58">src/worker/abstract-worker.ts:58</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="opts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">opts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/WorkerOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerOptions</a><span class="tsd-signature-symbol"> = ...</span></div>
<div class="tsd-comment tsd-typography"><p>Options for the worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L51">src/worker/abstract-worker.ts:51</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L59">src/worker/abstract-worker.ts:59</a></li></ul></aside></section>
+<section class="tsd-panel tsd-member tsd-is-protected"><a id="taskFunctions" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>task<wbr/>Functions</span><a href="#taskFunctions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<div class="tsd-signature"><span class="tsd-kind-property">task<wbr/>Functions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div>
+<div class="tsd-comment tsd-typography"><p>Task function(s) processed by the worker when the pool's <code>execution</code> function is invoked.</p>
+</div><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L34">src/worker/abstract-worker.ts:34</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="asyncId" class="tsd-anchor"></a>
<aside class="tsd-sources">
<p>Inherited from AsyncResource.asyncId</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:315</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:312</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bind" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>bind</span><a href="#bind" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
-<li class="tsd-signature tsd-anchor-link" id="bind.bind-1"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#bind.bind-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="bind.bind-1"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><a href="#bind.bind-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Binds the given function to execute to this <code>AsyncResource</code>'s scope.</p>
-<p>The returned function will have an <code>asyncResource</code> property referencing
-the <code>AsyncResource</code> to which the function is bound.</p>
<h3>Since</h3><p>v14.8.0, v12.19.0</p>
</div>
<h5><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h5>
<div class="tsd-comment tsd-typography"><p>The function to bind to the current <code>AsyncResource</code>.</p>
</div></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h4><aside class="tsd-sources">
<p>Inherited from AsyncResource.bind</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:288</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:287</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="checkAlive" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>check<wbr/>Alive</span><a href="#checkAlive" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L156">src/worker/abstract-worker.ts:156</a></li></ul></aside></li></ul></section>
-<section class="tsd-panel tsd-member tsd-is-private"><a id="checkFunctionInput" class="tsd-anchor"></a>
-<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Function<wbr/>Input</span><a href="#checkFunctionInput" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L179">src/worker/abstract-worker.ts:179</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member tsd-is-private"><a id="checkTaskFunctions" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Task<wbr/>Functions</span><a href="#checkTaskFunctions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
-<li class="tsd-signature tsd-anchor-link" id="checkFunctionInput.checkFunctionInput-1"><span class="tsd-kind-call-signature">check<wbr/>Function<wbr/>Input</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#checkFunctionInput.checkFunctionInput-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="checkTaskFunctions.checkTaskFunctions-1"><span class="tsd-kind-call-signature">check<wbr/>Task<wbr/>Functions</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">taskFunctions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#checkTaskFunctions.checkTaskFunctions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Checks if the <code>fn</code> parameter is passed to the constructor.</p>
+<div class="tsd-comment tsd-typography"><p>Checks if the <code>taskFunctions</code> parameter is passed to the constructor.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>The function that should be defined.</p>
+<h5><span class="tsd-kind-parameter">taskFunctions</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><a href="../types/TaskFunctions.html" class="tsd-signature-type tsd-kind-type-alias">TaskFunctions</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>The task function(s) parameter that should be checked.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L95">src/worker/abstract-worker.ts:95</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L98">src/worker/abstract-worker.ts:98</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="checkWorkerOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Worker<wbr/>Options</span><a href="#checkWorkerOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<h5><span class="tsd-kind-parameter">opts</span>: <a href="../interfaces/WorkerOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L83">src/worker/abstract-worker.ts:83</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L86">src/worker/abstract-worker.ts:86</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emitDestroy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>emit<wbr/>Destroy</span><a href="#emitDestroy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<aside class="tsd-sources">
<p>Inherited from AsyncResource.emitDestroy</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:311</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:308</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="getMainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Main<wbr/>Worker</span><a href="#getMainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span></h4><p>Reference to the main worker.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L139">src/worker/abstract-worker.ts:139</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L162">src/worker/abstract-worker.ts:162</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member tsd-is-private"><a id="getTaskFunction" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Task<wbr/>Function</span><a href="#getTaskFunction" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures tsd-is-private">
+<li class="tsd-signature tsd-anchor-link" id="getTaskFunction.getTaskFunction-1"><span class="tsd-kind-call-signature">get<wbr/>Task<wbr/>Function</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#getTaskFunction.getTaskFunction-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Gets the task function in the given scope.</p>
+</div>
+<div class="tsd-parameters">
+<h4 class="tsd-parameters-title">Parameters</h4>
+<ul class="tsd-parameter-list">
+<li>
+<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5>
+<div class="tsd-comment tsd-typography"><p>Name of the function that will be returned.</p>
+</div></li></ul></div>
+<h4 class="tsd-returns-title">Returns <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L261">src/worker/abstract-worker.ts:261</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="handleError" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>handle<wbr/>Error</span><a href="#handleError" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>Message of the error.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L171">src/worker/abstract-worker.ts:171</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L194">src/worker/abstract-worker.ts:194</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="messageListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>message<wbr/>Listener</span><a href="#messageListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
-<li class="tsd-signature tsd-anchor-link" id="messageListener.messageListener-1"><span class="tsd-kind-call-signature">message<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span>, <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#messageListener.messageListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="messageListener.messageListener-1"><span class="tsd-kind-call-signature">message<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#messageListener.messageListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Worker message listener.</p>
</div>
<li>
<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>Message received.</p>
-</div></li>
-<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function processed by the worker when the pool's <code>execution</code> function is invoked.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L113">src/worker/abstract-worker.ts:113</a></li></ul></aside></li></ul></section>
-<section class="tsd-panel tsd-member tsd-is-protected"><a id="run" class="tsd-anchor"></a>
-<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run</span><a href="#run" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
-<ul class="tsd-signatures tsd-is-protected">
-<li class="tsd-signature tsd-anchor-link" id="run.run-1"><span class="tsd-kind-call-signature">run</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#run.run-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
-<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Runs the given function synchronously.</p>
-</div>
-<div class="tsd-parameters">
-<h4 class="tsd-parameters-title">Parameters</h4>
-<ul class="tsd-parameter-list">
-<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerSyncFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerSyncFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
-</div></li>
-<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
-</div></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
-<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L181">src/worker/abstract-worker.ts:181</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L138">src/worker/abstract-worker.ts:138</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="runAsync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run<wbr/>Async</span><a href="#runAsync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L208">src/worker/abstract-worker.ts:208</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L231">src/worker/abstract-worker.ts:231</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="runInAsyncScope" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span><a href="#runInAsyncScope" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Result</span></h4><aside class="tsd-sources">
<p>Inherited from AsyncResource.runInAsyncScope</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:303</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:300</li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member tsd-is-protected"><a id="runSync" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run<wbr/>Sync</span><a href="#runSync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures tsd-is-protected">
+<li class="tsd-signature tsd-anchor-link" id="runSync.runSync-1"><span class="tsd-kind-call-signature">run<wbr/>Sync</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#runSync.runSync-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Runs the given function synchronously.</p>
+</div>
+<div class="tsd-parameters">
+<h4 class="tsd-parameters-title">Parameters</h4>
+<ul class="tsd-parameter-list">
+<li>
+<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerSyncFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerSyncFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
+</div></li>
+<li>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
+</div></li></ul></div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L204">src/worker/abstract-worker.ts:204</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="sendToMainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>send<wbr/>To<wbr/>Main<wbr/>Worker</span><a href="#sendToMainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The response message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L151">src/worker/abstract-worker.ts:151</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L174">src/worker/abstract-worker.ts:174</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="triggerAsyncId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>trigger<wbr/>Async<wbr/>Id</span><a href="#triggerAsyncId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<aside class="tsd-sources">
<p>Inherited from AsyncResource.triggerAsyncId</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:320</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:317</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bind-2" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>bind</span><a href="#bind-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
-<li class="tsd-signature tsd-anchor-link" id="bind-2.bind-3"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#bind-2.bind-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="bind-2.bind-3"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><a href="#bind-2.bind-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Binds the given function to the current execution context.</p>
-<p>The returned function will have an <code>asyncResource</code> property referencing
-the <code>AsyncResource</code> to which the function is bound.</p>
<h3>Since</h3><p>v14.8.0, v12.19.0</p>
</div>
</div></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span></h5></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h4><aside class="tsd-sources">
<p>Inherited from AsyncResource.bind</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:273</li></ul></aside></li></ul></section></section></div>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:277</li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#lastTaskTimestamp" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>last<wbr/>Task<wbr/>Timestamp</span></a></li>
<li><a href="#mainWorker" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>main<wbr/>Worker</span></a></li>
<li><a href="#opts" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>opts</span></a></li>
+<li><a href="#taskFunctions" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>task<wbr/>Functions</span></a></li>
<li><a href="#asyncId" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>async<wbr/>Id</span></a></li>
<li><a href="#bind" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a></li>
<li><a href="#checkAlive" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Alive</span></a></li>
-<li><a href="#checkFunctionInput" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Function<wbr/>Input</span></a></li>
+<li><a href="#checkTaskFunctions" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Task<wbr/>Functions</span></a></li>
<li><a href="#checkWorkerOptions" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Worker<wbr/>Options</span></a></li>
<li><a href="#emitDestroy" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>emit<wbr/>Destroy</span></a></li>
<li><a href="#getMainWorker" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Main<wbr/>Worker</span></a></li>
+<li><a href="#getTaskFunction" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Task<wbr/>Function</span></a></li>
<li><a href="#handleError" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Error</span></a></li>
<li><a href="#messageListener" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>message<wbr/>Listener</span></a></li>
-<li><a href="#run" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run</span></a></li>
<li><a href="#runAsync" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Async</span></a></li>
<li><a href="#runInAsyncScope" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span></a></li>
+<li><a href="#runSync" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Sync</span></a></li>
<li><a href="#sendToMainWorker" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>send<wbr/>To<wbr/>Main<wbr/>Worker</span></a></li>
<li><a href="#triggerAsyncId" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>trigger<wbr/>Async<wbr/>Id</span></a></li>
<li><a href="#bind-2" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a></li></ul></div></details></div>
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">CircularArray</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L8">src/circular-array.ts:8</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L8">src/circular-array.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<h4 class="tsd-returns-title">Returns <a href="CircularArray.html" class="tsd-signature-type tsd-kind-class">CircularArray</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides Array<T>.constructor</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L11">src/circular-array.ts:11</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L11">src/circular-array.ts:11</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="_unscopables_" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L9">src/circular-array.ts:9</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L9">src/circular-array.ts:9</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="_species_" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>[species]</span><a href="#_species_" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">[species]</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">ArrayConstructor</span></div><aside class="tsd-sources">
<h5><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L88">src/circular-array.ts:88</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L88">src/circular-array.ts:88</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="concat-1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>concat</span><a href="#concat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <a href="CircularArray.html" class="tsd-signature-type tsd-kind-class">CircularArray</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides Array.concat</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L39">src/circular-array.ts:39</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L39">src/circular-array.ts:39</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="copyWithin-1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>copy<wbr/>Within</span><a href="#copyWithin-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L80">src/circular-array.ts:80</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L80">src/circular-array.ts:80</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="entries-1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>entries</span><a href="#entries-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L84">src/circular-array.ts:84</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L84">src/circular-array.ts:84</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="includes-1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>includes</span><a href="#includes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Overrides Array.push</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L21">src/circular-array.ts:21</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L21">src/circular-array.ts:21</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="reduce-1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>reduce</span><a href="#reduce-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h5><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L68">src/circular-array.ts:68</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L68">src/circular-array.ts:68</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="reverse-1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>reverse</span><a href="#reverse-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Overrides Array.splice</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L54">src/circular-array.ts:54</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L54">src/circular-array.ts:54</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toLocaleString-1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Locale<wbr/>String</span><a href="#toLocaleString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Overrides Array.unshift</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/circular-array.ts#L30">src/circular-array.ts:30</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/circular-array.ts#L30">src/circular-array.ts:30</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="values-1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>values</span><a href="#values-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">ClusterWorker</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/cluster-worker.ts#L21">src/worker/cluster-worker.ts:21</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/cluster-worker.ts#L25">src/worker/cluster-worker.ts:25</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="ClusterWorker.html#lastTaskTimestamp" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>last<wbr/>Task<wbr/>Timestamp</span></a>
<a href="ClusterWorker.html#mainWorker" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>main<wbr/>Worker</span></a>
<a href="ClusterWorker.html#opts" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>opts</span></a>
+<a href="ClusterWorker.html#taskFunctions" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>task<wbr/>Functions</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<a href="ClusterWorker.html#getMainWorker" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Main<wbr/>Worker</span></a>
<a href="ClusterWorker.html#handleError" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Error</span></a>
<a href="ClusterWorker.html#messageListener" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>message<wbr/>Listener</span></a>
-<a href="ClusterWorker.html#run" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run</span></a>
<a href="ClusterWorker.html#runAsync" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Async</span></a>
<a href="ClusterWorker.html#runInAsyncScope" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span></a>
+<a href="ClusterWorker.html#runSync" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Sync</span></a>
<a href="ClusterWorker.html#sendToMainWorker" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>send<wbr/>To<wbr/>Main<wbr/>Worker</span></a>
<a href="ClusterWorker.html#triggerAsyncId" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>trigger<wbr/>Async<wbr/>Id</span></a>
<a href="ClusterWorker.html#bind-2" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a>
<section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
<ul class="tsd-signatures">
-<li class="tsd-signature tsd-anchor-link" id="constructor.new_ClusterWorker"><span class="tsd-kind-constructor-signature">new <wbr/>Cluster<wbr/>Worker</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ClusterWorker.html" class="tsd-signature-type tsd-kind-class">ClusterWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#constructor.new_ClusterWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="constructor.new_ClusterWorker"><span class="tsd-kind-constructor-signature">new <wbr/>Cluster<wbr/>Worker</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">taskFunctions</span>, <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ClusterWorker.html" class="tsd-signature-type tsd-kind-class">ClusterWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#constructor.new_ClusterWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Constructs a new poolifier cluster worker.</p>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function processed by the worker when the pool's <code>execution</code> function is invoked.</p>
+<h5><span class="tsd-kind-parameter">taskFunctions</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><a href="../types/TaskFunctions.html" class="tsd-signature-type tsd-kind-type-alias">TaskFunctions</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Task function(s) processed by the worker when the pool's <code>execution</code> function is invoked.</p>
</div></li>
<li>
<h5><span class="tsd-kind-parameter">opts</span>: <a href="../interfaces/WorkerOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerOptions</a><span class="tsd-signature-symbol"> = {}</span></h5>
<h4 class="tsd-returns-title">Returns <a href="ClusterWorker.html" class="tsd-signature-type tsd-kind-class">ClusterWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#constructor">constructor</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/cluster-worker.ts#L31">src/worker/cluster-worker.ts:31</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/cluster-worker.ts#L35">src/worker/cluster-worker.ts:35</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="aliveInterval" class="tsd-anchor"></a>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#aliveInterval">aliveInterval</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L36">src/worker/abstract-worker.ts:36</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L42">src/worker/abstract-worker.ts:42</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="isMain" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>is<wbr/>Main</span><a href="#isMain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">is<wbr/>Main</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#isMain">isMain</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L48">src/worker/abstract-worker.ts:48</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L54">src/worker/abstract-worker.ts:54</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="lastTaskTimestamp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>last<wbr/>Task<wbr/>Timestamp</span><a href="#lastTaskTimestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">last<wbr/>Task<wbr/>Timestamp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#lastTaskTimestamp">lastTaskTimestamp</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L32">src/worker/abstract-worker.ts:32</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L38">src/worker/abstract-worker.ts:38</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="mainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>main<wbr/>Worker</span><a href="#mainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">main<wbr/>Worker</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">Worker</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#mainWorker">mainWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L50">src/worker/abstract-worker.ts:50</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L58">src/worker/abstract-worker.ts:58</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="opts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">opts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/WorkerOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerOptions</a><span class="tsd-signature-symbol"> = ...</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#opts">opts</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L51">src/worker/abstract-worker.ts:51</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L59">src/worker/abstract-worker.ts:59</a></li></ul></aside></section>
+<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="taskFunctions" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>task<wbr/>Functions</span><a href="#taskFunctions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<div class="tsd-signature"><span class="tsd-kind-property">task<wbr/>Functions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div>
+<div class="tsd-comment tsd-typography"><p>Task function(s) processed by the worker when the pool's <code>execution</code> function is invoked.</p>
+</div><aside class="tsd-sources">
+<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#taskFunctions">taskFunctions</a></p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L34">src/worker/abstract-worker.ts:34</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="asyncId" class="tsd-anchor"></a>
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#asyncId">asyncId</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:315</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:312</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bind" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>bind</span><a href="#bind" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
-<li class="tsd-signature tsd-anchor-link" id="bind.bind-1"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#bind.bind-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="bind.bind-1"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><a href="#bind.bind-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Binds the given function to execute to this <code>AsyncResource</code>'s scope.</p>
-<p>The returned function will have an <code>asyncResource</code> property referencing
-the <code>AsyncResource</code> to which the function is bound.</p>
<h3>Since</h3><p>v14.8.0, v12.19.0</p>
</div>
<h5><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h5>
<div class="tsd-comment tsd-typography"><p>The function to bind to the current <code>AsyncResource</code>.</p>
</div></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#bind">bind</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:288</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:287</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="checkAlive" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>check<wbr/>Alive</span><a href="#checkAlive" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#checkAlive">checkAlive</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L156">src/worker/abstract-worker.ts:156</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L179">src/worker/abstract-worker.ts:179</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emitDestroy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>emit<wbr/>Destroy</span><a href="#emitDestroy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#emitDestroy">emitDestroy</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:311</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:308</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="getMainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Main<wbr/>Worker</span><a href="#getMainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#getMainWorker">getMainWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L139">src/worker/abstract-worker.ts:139</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L162">src/worker/abstract-worker.ts:162</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="handleError" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>handle<wbr/>Error</span><a href="#handleError" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<aside class="tsd-sources">
<p>Overrides <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#handleError">handleError</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/cluster-worker.ts#L50">src/worker/cluster-worker.ts:50</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/cluster-worker.ts#L56">src/worker/cluster-worker.ts:56</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="messageListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>message<wbr/>Listener</span><a href="#messageListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
-<li class="tsd-signature tsd-anchor-link" id="messageListener.messageListener-1"><span class="tsd-kind-call-signature">message<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span>, <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#messageListener.messageListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="messageListener.messageListener-1"><span class="tsd-kind-call-signature">message<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#messageListener.messageListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Worker message listener.</p>
</div>
<li>
<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>Message received.</p>
-</div></li>
-<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function processed by the worker when the pool's <code>execution</code> function is invoked.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#messageListener">messageListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L113">src/worker/abstract-worker.ts:113</a></li></ul></aside></li></ul></section>
-<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="run" class="tsd-anchor"></a>
-<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run</span><a href="#run" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
-<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
-<li class="tsd-signature tsd-anchor-link" id="run.run-1"><span class="tsd-kind-call-signature">run</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#run.run-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
-<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Runs the given function synchronously.</p>
-</div>
-<div class="tsd-parameters">
-<h4 class="tsd-parameters-title">Parameters</h4>
-<ul class="tsd-parameter-list">
-<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerSyncFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerSyncFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
-</div></li>
-<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
-</div></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
-<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#run">run</a></p>
-<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L181">src/worker/abstract-worker.ts:181</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L138">src/worker/abstract-worker.ts:138</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="runAsync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run<wbr/>Async</span><a href="#runAsync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#runAsync">runAsync</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L208">src/worker/abstract-worker.ts:208</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L231">src/worker/abstract-worker.ts:231</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="runInAsyncScope" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span><a href="#runInAsyncScope" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Result</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#runInAsyncScope">runInAsyncScope</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:303</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:300</li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="runSync" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run<wbr/>Sync</span><a href="#runSync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
+<li class="tsd-signature tsd-anchor-link" id="runSync.runSync-1"><span class="tsd-kind-call-signature">run<wbr/>Sync</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#runSync.runSync-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Runs the given function synchronously.</p>
+</div>
+<div class="tsd-parameters">
+<h4 class="tsd-parameters-title">Parameters</h4>
+<ul class="tsd-parameter-list">
+<li>
+<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerSyncFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerSyncFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
+</div></li>
+<li>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
+</div></li></ul></div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
+<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#runSync">runSync</a></p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L204">src/worker/abstract-worker.ts:204</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="sendToMainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>send<wbr/>To<wbr/>Main<wbr/>Worker</span><a href="#sendToMainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The response message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#sendToMainWorker">sendToMainWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/cluster-worker.ts#L45">src/worker/cluster-worker.ts:45</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/cluster-worker.ts#L51">src/worker/cluster-worker.ts:51</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="triggerAsyncId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>trigger<wbr/>Async<wbr/>Id</span><a href="#triggerAsyncId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#triggerAsyncId">triggerAsyncId</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:320</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:317</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bind-2" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>bind</span><a href="#bind-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
-<li class="tsd-signature tsd-anchor-link" id="bind-2.bind-3"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#bind-2.bind-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="bind-2.bind-3"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><a href="#bind-2.bind-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Binds the given function to the current execution context.</p>
-<p>The returned function will have an <code>asyncResource</code> property referencing
-the <code>AsyncResource</code> to which the function is bound.</p>
<h3>Since</h3><p>v14.8.0, v12.19.0</p>
</div>
</div></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span></h5></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#bind-2">bind</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:273</li></ul></aside></li></ul></section></section></div>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:277</li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#lastTaskTimestamp" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>last<wbr/>Task<wbr/>Timestamp</span></a></li>
<li><a href="#mainWorker" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>main<wbr/>Worker</span></a></li>
<li><a href="#opts" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>opts</span></a></li>
+<li><a href="#taskFunctions" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>task<wbr/>Functions</span></a></li>
<li><a href="#asyncId" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>async<wbr/>Id</span></a></li>
<li><a href="#bind" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a></li>
<li><a href="#checkAlive" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Alive</span></a></li>
<li><a href="#getMainWorker" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Main<wbr/>Worker</span></a></li>
<li><a href="#handleError" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Error</span></a></li>
<li><a href="#messageListener" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>message<wbr/>Listener</span></a></li>
-<li><a href="#run" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run</span></a></li>
<li><a href="#runAsync" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Async</span></a></li>
<li><a href="#runInAsyncScope" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span></a></li>
+<li><a href="#runSync" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Sync</span></a></li>
<li><a href="#sendToMainWorker" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>send<wbr/>To<wbr/>Main<wbr/>Worker</span></a></li>
<li><a href="#triggerAsyncId" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>trigger<wbr/>Async<wbr/>Id</span></a></li>
<li><a href="#bind-2" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a></li></ul></div></details></div>
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">DynamicClusterPool</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/dynamic.ts#L16">src/pools/cluster/dynamic.ts:16</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/dynamic.ts#L16">src/pools/cluster/dynamic.ts:16</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="DynamicClusterPool.html#full" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a>
<a href="DynamicClusterPool.html#numberOfQueuedTasks" class="tsd-index-link tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a>
<a href="DynamicClusterPool.html#numberOfRunningTasks" class="tsd-index-link tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a>
+<a href="DynamicClusterPool.html#size" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a>
<a href="DynamicClusterPool.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a>
</div></section>
<section class="tsd-index-section">
<h4 class="tsd-returns-title">Returns <a href="DynamicClusterPool.html" class="tsd-signature-type tsd-kind-class">DynamicClusterPool</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#constructor">constructor</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/dynamic.ts#L28">src/pools/cluster/dynamic.ts:28</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/dynamic.ts#L28">src/pools/cluster/dynamic.ts:28</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="emitter" class="tsd-anchor"></a>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#emitter">emitter</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L43">src/pools/abstract-pool.ts:43</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L44">src/pools/abstract-pool.ts:44</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="filePath" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>file<wbr/>Path</span><a href="#filePath" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">file<wbr/>Path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#filePath">filePath</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L79">src/pools/abstract-pool.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="max" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>max</span><a href="#max" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">max</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Maximum number of workers that can be created by this pool.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/dynamic.ts#L30">src/pools/cluster/dynamic.ts:30</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/dynamic.ts#L30">src/pools/cluster/dynamic.ts:30</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="numberOfWorkers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>number<wbr/>Of<wbr/>Workers</span><a href="#numberOfWorkers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">number<wbr/>Of<wbr/>Workers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#numberOfWorkers">numberOfWorkers</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L77">src/pools/abstract-pool.ts:77</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="opts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">opts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ClusterPoolOptions.html" class="tsd-signature-type tsd-kind-interface">ClusterPoolOptions</a><span class="tsd-signature-symbol"> = {}</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#opts">opts</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L53">src/pools/cluster/fixed.ts:53</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L53">src/pools/cluster/fixed.ts:53</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="promiseResponseMap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>promise<wbr/>Response<wbr/>Map</span><a href="#promiseResponseMap" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">promise<wbr/>Response<wbr/>Map</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/PromiseResponseWrapper.html" class="tsd-signature-type tsd-kind-interface">PromiseResponseWrapper</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#promiseResponseMap">promiseResponseMap</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L53">src/pools/abstract-pool.ts:53</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L54">src/pools/abstract-pool.ts:54</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="workerChoiceStrategyContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><a href="#workerChoiceStrategyContext" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><span class="tsd-signature-symbol">:</span> <a href="WorkerChoiceStrategyContext.html" class="tsd-signature-type tsd-kind-class">WorkerChoiceStrategyContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#workerChoiceStrategyContext">workerChoiceStrategyContext</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L63">src/pools/abstract-pool.ts:63</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L64">src/pools/abstract-pool.ts:64</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="workerNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker<wbr/>Nodes</span><a href="#workerNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Nodes</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/WorkerNode.html" class="tsd-signature-type tsd-kind-interface">WorkerNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#workerNodes">workerNodes</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L40">src/pools/abstract-pool.ts:40</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L41">src/pools/abstract-pool.ts:41</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="busy" class="tsd-anchor"></a>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides FixedClusterPool.busy</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/dynamic.ts#L48">src/pools/cluster/dynamic.ts:48</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/dynamic.ts#L53">src/pools/cluster/dynamic.ts:53</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="full" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>full</span><a href="#full" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides FixedClusterPool.full</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/dynamic.ts#L43">src/pools/cluster/dynamic.ts:43</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/dynamic.ts#L48">src/pools/cluster/dynamic.ts:48</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><a id="numberOfQueuedTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span><a href="#numberOfQueuedTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from FixedClusterPool.numberOfQueuedTasks</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L196">src/pools/abstract-pool.ts:196</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L218">src/pools/abstract-pool.ts:218</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><a id="numberOfRunningTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span><a href="#numberOfRunningTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from FixedClusterPool.numberOfRunningTasks</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L186">src/pools/abstract-pool.ts:186</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L208">src/pools/abstract-pool.ts:208</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures">
+<li class="tsd-signature" id="size.size-1"><span class="tsd-signature-symbol">get</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Pool maximum size.</p>
+</div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
+<p>Overrides FixedClusterPool.size</p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/dynamic.ts#L43">src/pools/cluster/dynamic.ts:43</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <a href="../enums/PoolType.html" class="tsd-signature-type tsd-kind-enum">PoolType</a></h4><aside class="tsd-sources">
<p>Overrides FixedClusterPool.type</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/dynamic.ts#L38">src/pools/cluster/dynamic.ts:38</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/dynamic.ts#L38">src/pools/cluster/dynamic.ts:38</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="afterTaskExecutionHook" class="tsd-anchor"></a>
<div class="tsd-comment tsd-typography"><p>The worker.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The received message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#afterTaskExecutionHook">afterTaskExecutionHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L387">src/pools/abstract-pool.ts:387</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L411">src/pools/abstract-pool.ts:411</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="afterWorkerSetup" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>after<wbr/>Worker<wbr/>Setup</span><a href="#afterWorkerSetup" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#afterWorkerSetup">afterWorkerSetup</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L93">src/pools/cluster/fixed.ts:93</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L93">src/pools/cluster/fixed.ts:93</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="beforeTaskExecutionHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>before<wbr/>Task<wbr/>Execution<wbr/>Hook</span><a href="#beforeTaskExecutionHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#beforeTaskExecutionHook">beforeTaskExecutionHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L376">src/pools/abstract-pool.ts:376</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L400">src/pools/abstract-pool.ts:400</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="chooseWorkerNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>choose<wbr/>Worker<wbr/>Node</span><a href="#chooseWorkerNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#chooseWorkerNode">chooseWorkerNode</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L420">src/pools/abstract-pool.ts:420</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L446">src/pools/abstract-pool.ts:446</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="createAndSetupWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>And<wbr/>Setup<wbr/>Worker</span><a href="#createAndSetupWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#createAndSetupWorker">createAndSetupWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L482">src/pools/abstract-pool.ts:482</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L509">src/pools/abstract-pool.ts:509</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="createWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>Worker</span><a href="#createWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Worker</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#createWorker">createWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L88">src/pools/cluster/fixed.ts:88</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L88">src/pools/cluster/fixed.ts:88</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="destroy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#destroy">destroy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L339">src/pools/abstract-pool.ts:339</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L363">src/pools/abstract-pool.ts:363</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="destroyWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>destroy<wbr/>Worker</span><a href="#destroyWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#destroyWorker">destroyWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L69">src/pools/cluster/fixed.ts:69</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L69">src/pools/cluster/fixed.ts:69</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="enableTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>enable<wbr/>Tasks<wbr/>Queue</span><a href="#enableTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#enableTasksQueue">enableTasksQueue</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L255">src/pools/abstract-pool.ts:255</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L278">src/pools/abstract-pool.ts:278</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="execute" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>execute</span><a href="#execute" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
-<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Executes the function specified in the worker constructor with the task data input parameter.</p>
</div>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Data</span></h5>
<div class="tsd-comment tsd-typography"><p>The task input data for the specified worker function. This can only be serializable data.</p>
+</div></li>
+<li>
+<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5>
+<div class="tsd-comment tsd-typography"><p>The name of the worker function to execute. If not specified, the default worker function will be executed.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><p>Promise that will be fulfilled when the task is completed.</p>
<aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#execute">execute</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L308">src/pools/abstract-pool.ts:308</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L331">src/pools/abstract-pool.ts:331</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="internalBusy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>internal<wbr/>Busy</span><a href="#internalBusy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#internalBusy">internalBusy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L299">src/pools/abstract-pool.ts:299</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L322">src/pools/abstract-pool.ts:322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="isMain" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>is<wbr/>Main</span><a href="#isMain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#isMain">isMain</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L64">src/pools/cluster/fixed.ts:64</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L64">src/pools/cluster/fixed.ts:64</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="registerWorkerMessageListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>register<wbr/>Worker<wbr/>Message<wbr/>Listener</span><a href="#registerWorkerMessageListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#registerWorkerMessageListener">registerWorkerMessageListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L80">src/pools/cluster/fixed.ts:80</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L80">src/pools/cluster/fixed.ts:80</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="sendToWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>send<wbr/>To<wbr/>Worker</span><a href="#sendToWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<div class="tsd-comment tsd-typography"><p>The worker which should receive the message.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#sendToWorker">sendToWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L75">src/pools/cluster/fixed.ts:75</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L75">src/pools/cluster/fixed.ts:75</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setTasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><a href="#setTasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#setTasksQueueOptions">setTasksQueueOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L290">src/pools/abstract-pool.ts:290</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setWorkerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><a href="#setWorkerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#setWorkerChoiceStrategy">setWorkerChoiceStrategy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L219">src/pools/abstract-pool.ts:219</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L241">src/pools/abstract-pool.ts:241</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setWorkerChoiceStrategyOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#setWorkerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#setWorkerChoiceStrategyOptions">setWorkerChoiceStrategyOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L245">src/pools/abstract-pool.ts:245</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="setupHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>setup<wbr/>Hook</span><a href="#setupHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#setupHook">setupHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L59">src/pools/cluster/fixed.ts:59</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L59">src/pools/cluster/fixed.ts:59</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="workerListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Listener</span><a href="#workerListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><p>The listener function to execute when a message is received from a worker.</p>
</li></ul></li></ul><aside class="tsd-sources">
<p>Inherited from <a href="FixedClusterPool.html">FixedClusterPool</a>.<a href="FixedClusterPool.html#workerListener">workerListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L505">src/pools/abstract-pool.ts:505</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L532">src/pools/abstract-pool.ts:532</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#full" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a></li>
<li><a href="#numberOfQueuedTasks" class="tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a></li>
<li><a href="#numberOfRunningTasks" class="tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a></li>
+<li><a href="#size" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a></li>
<li><a href="#type" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a></li>
<li><a href="#afterTaskExecutionHook" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Task<wbr/>Execution<wbr/>Hook</span></a></li>
<li><a href="#afterWorkerSetup" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Worker<wbr/>Setup</span></a></li>
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">DynamicThreadPool</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/dynamic.ts#L17">src/pools/thread/dynamic.ts:17</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/dynamic.ts#L17">src/pools/thread/dynamic.ts:17</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="DynamicThreadPool.html#full" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a>
<a href="DynamicThreadPool.html#numberOfQueuedTasks" class="tsd-index-link tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a>
<a href="DynamicThreadPool.html#numberOfRunningTasks" class="tsd-index-link tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a>
+<a href="DynamicThreadPool.html#size" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a>
<a href="DynamicThreadPool.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a>
</div></section>
<section class="tsd-index-section">
<h4 class="tsd-returns-title">Returns <a href="DynamicThreadPool.html" class="tsd-signature-type tsd-kind-class">DynamicThreadPool</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#constructor">constructor</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/dynamic.ts#L29">src/pools/thread/dynamic.ts:29</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/dynamic.ts#L29">src/pools/thread/dynamic.ts:29</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="emitter" class="tsd-anchor"></a>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#emitter">emitter</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L43">src/pools/abstract-pool.ts:43</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L44">src/pools/abstract-pool.ts:44</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="filePath" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>file<wbr/>Path</span><a href="#filePath" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">file<wbr/>Path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#filePath">filePath</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L79">src/pools/abstract-pool.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="max" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>max</span><a href="#max" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">max</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Maximum number of threads that can be created by this pool.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/dynamic.ts#L31">src/pools/thread/dynamic.ts:31</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/dynamic.ts#L31">src/pools/thread/dynamic.ts:31</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="numberOfWorkers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>number<wbr/>Of<wbr/>Workers</span><a href="#numberOfWorkers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">number<wbr/>Of<wbr/>Workers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#numberOfWorkers">numberOfWorkers</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L77">src/pools/abstract-pool.ts:77</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="opts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">opts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/PoolOptions.html" class="tsd-signature-type tsd-kind-interface">PoolOptions</a><span class="tsd-signature-symbol"><</span><a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#opts">opts</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L79">src/pools/abstract-pool.ts:79</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L80">src/pools/abstract-pool.ts:80</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="promiseResponseMap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>promise<wbr/>Response<wbr/>Map</span><a href="#promiseResponseMap" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">promise<wbr/>Response<wbr/>Map</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/PromiseResponseWrapper.html" class="tsd-signature-type tsd-kind-interface">PromiseResponseWrapper</a><span class="tsd-signature-symbol"><</span><a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#promiseResponseMap">promiseResponseMap</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L53">src/pools/abstract-pool.ts:53</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L54">src/pools/abstract-pool.ts:54</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="workerChoiceStrategyContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><a href="#workerChoiceStrategyContext" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><span class="tsd-signature-symbol">:</span> <a href="WorkerChoiceStrategyContext.html" class="tsd-signature-type tsd-kind-class">WorkerChoiceStrategyContext</a><span class="tsd-signature-symbol"><</span><a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#workerChoiceStrategyContext">workerChoiceStrategyContext</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L63">src/pools/abstract-pool.ts:63</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L64">src/pools/abstract-pool.ts:64</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="workerNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker<wbr/>Nodes</span><a href="#workerNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Nodes</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/WorkerNode.html" class="tsd-signature-type tsd-kind-interface">WorkerNode</a><span class="tsd-signature-symbol"><</span><a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#workerNodes">workerNodes</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L40">src/pools/abstract-pool.ts:40</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L41">src/pools/abstract-pool.ts:41</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="busy" class="tsd-anchor"></a>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides FixedThreadPool.busy</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/dynamic.ts#L49">src/pools/thread/dynamic.ts:49</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/dynamic.ts#L54">src/pools/thread/dynamic.ts:54</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="full" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>full</span><a href="#full" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides FixedThreadPool.full</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/dynamic.ts#L44">src/pools/thread/dynamic.ts:44</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/dynamic.ts#L44">src/pools/thread/dynamic.ts:44</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><a id="numberOfQueuedTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span><a href="#numberOfQueuedTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from FixedThreadPool.numberOfQueuedTasks</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L196">src/pools/abstract-pool.ts:196</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L218">src/pools/abstract-pool.ts:218</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><a id="numberOfRunningTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span><a href="#numberOfRunningTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from FixedThreadPool.numberOfRunningTasks</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L186">src/pools/abstract-pool.ts:186</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L208">src/pools/abstract-pool.ts:208</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures">
+<li class="tsd-signature" id="size.size-1"><span class="tsd-signature-symbol">get</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Pool maximum size.</p>
+</div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
+<p>Overrides FixedThreadPool.size</p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/dynamic.ts#L49">src/pools/thread/dynamic.ts:49</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <a href="../enums/PoolType.html" class="tsd-signature-type tsd-kind-enum">PoolType</a></h4><aside class="tsd-sources">
<p>Overrides FixedThreadPool.type</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/dynamic.ts#L39">src/pools/thread/dynamic.ts:39</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/dynamic.ts#L39">src/pools/thread/dynamic.ts:39</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="afterTaskExecutionHook" class="tsd-anchor"></a>
<div class="tsd-comment tsd-typography"><p>The worker.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The received message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#afterTaskExecutionHook">afterTaskExecutionHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L387">src/pools/abstract-pool.ts:387</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L411">src/pools/abstract-pool.ts:411</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="afterWorkerSetup" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>after<wbr/>Worker<wbr/>Setup</span><a href="#afterWorkerSetup" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#afterWorkerSetup">afterWorkerSetup</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L85">src/pools/thread/fixed.ts:85</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L85">src/pools/thread/fixed.ts:85</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="beforeTaskExecutionHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>before<wbr/>Task<wbr/>Execution<wbr/>Hook</span><a href="#beforeTaskExecutionHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#beforeTaskExecutionHook">beforeTaskExecutionHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L376">src/pools/abstract-pool.ts:376</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L400">src/pools/abstract-pool.ts:400</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="chooseWorkerNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>choose<wbr/>Worker<wbr/>Node</span><a href="#chooseWorkerNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#chooseWorkerNode">chooseWorkerNode</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L420">src/pools/abstract-pool.ts:420</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L446">src/pools/abstract-pool.ts:446</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="createAndSetupWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>And<wbr/>Setup<wbr/>Worker</span><a href="#createAndSetupWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#createAndSetupWorker">createAndSetupWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L482">src/pools/abstract-pool.ts:482</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L509">src/pools/abstract-pool.ts:509</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="createWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>Worker</span><a href="#createWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#createWorker">createWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L78">src/pools/thread/fixed.ts:78</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L78">src/pools/thread/fixed.ts:78</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="destroy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#destroy">destroy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L339">src/pools/abstract-pool.ts:339</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L363">src/pools/abstract-pool.ts:363</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="destroyWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>destroy<wbr/>Worker</span><a href="#destroyWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#destroyWorker">destroyWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L54">src/pools/thread/fixed.ts:54</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L54">src/pools/thread/fixed.ts:54</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="enableTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>enable<wbr/>Tasks<wbr/>Queue</span><a href="#enableTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#enableTasksQueue">enableTasksQueue</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L255">src/pools/abstract-pool.ts:255</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L278">src/pools/abstract-pool.ts:278</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="execute" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>execute</span><a href="#execute" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
-<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Executes the function specified in the worker constructor with the task data input parameter.</p>
</div>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Data</span></h5>
<div class="tsd-comment tsd-typography"><p>The task input data for the specified worker function. This can only be serializable data.</p>
+</div></li>
+<li>
+<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5>
+<div class="tsd-comment tsd-typography"><p>The name of the worker function to execute. If not specified, the default worker function will be executed.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><p>Promise that will be fulfilled when the task is completed.</p>
<aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#execute">execute</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L308">src/pools/abstract-pool.ts:308</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L331">src/pools/abstract-pool.ts:331</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="internalBusy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>internal<wbr/>Busy</span><a href="#internalBusy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#internalBusy">internalBusy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L299">src/pools/abstract-pool.ts:299</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L322">src/pools/abstract-pool.ts:322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="isMain" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>is<wbr/>Main</span><a href="#isMain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#isMain">isMain</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L49">src/pools/thread/fixed.ts:49</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L49">src/pools/thread/fixed.ts:49</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="registerWorkerMessageListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>register<wbr/>Worker<wbr/>Message<wbr/>Listener</span><a href="#registerWorkerMessageListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#registerWorkerMessageListener">registerWorkerMessageListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L70">src/pools/thread/fixed.ts:70</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L70">src/pools/thread/fixed.ts:70</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="sendToWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>send<wbr/>To<wbr/>Worker</span><a href="#sendToWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<div class="tsd-comment tsd-typography"><p>The worker which should receive the message.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#sendToWorker">sendToWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L62">src/pools/thread/fixed.ts:62</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L62">src/pools/thread/fixed.ts:62</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setTasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><a href="#setTasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#setTasksQueueOptions">setTasksQueueOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L290">src/pools/abstract-pool.ts:290</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setWorkerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><a href="#setWorkerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#setWorkerChoiceStrategy">setWorkerChoiceStrategy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L219">src/pools/abstract-pool.ts:219</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L241">src/pools/abstract-pool.ts:241</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setWorkerChoiceStrategyOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#setWorkerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#setWorkerChoiceStrategyOptions">setWorkerChoiceStrategyOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L245">src/pools/abstract-pool.ts:245</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="setupHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>setup<wbr/>Hook</span><a href="#setupHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#setupHook">setupHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L361">src/pools/abstract-pool.ts:361</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L385">src/pools/abstract-pool.ts:385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="workerListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Listener</span><a href="#workerListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><p>The listener function to execute when a message is received from a worker.</p>
</li></ul></li></ul><aside class="tsd-sources">
<p>Inherited from <a href="FixedThreadPool.html">FixedThreadPool</a>.<a href="FixedThreadPool.html#workerListener">workerListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L505">src/pools/abstract-pool.ts:505</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L532">src/pools/abstract-pool.ts:532</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#full" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a></li>
<li><a href="#numberOfQueuedTasks" class="tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a></li>
<li><a href="#numberOfRunningTasks" class="tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a></li>
+<li><a href="#size" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a></li>
<li><a href="#type" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a></li>
<li><a href="#afterTaskExecutionHook" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Task<wbr/>Execution<wbr/>Hook</span></a></li>
<li><a href="#afterWorkerSetup" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Worker<wbr/>Setup</span></a></li>
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><a href="DynamicClusterPool.html" class="tsd-signature-type tsd-kind-class">DynamicClusterPool</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L39">src/pools/cluster/fixed.ts:39</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L39">src/pools/cluster/fixed.ts:39</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="FixedClusterPool.html#full" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a>
<a href="FixedClusterPool.html#numberOfQueuedTasks" class="tsd-index-link tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a>
<a href="FixedClusterPool.html#numberOfRunningTasks" class="tsd-index-link tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a>
+<a href="FixedClusterPool.html#size" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a>
<a href="FixedClusterPool.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a>
</div></section>
<section class="tsd-index-section">
<h4 class="tsd-returns-title">Returns <a href="FixedClusterPool.html" class="tsd-signature-type tsd-kind-class">FixedClusterPool</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#constructor">constructor</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L50">src/pools/cluster/fixed.ts:50</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L50">src/pools/cluster/fixed.ts:50</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="emitter" class="tsd-anchor"></a>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#emitter">emitter</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L43">src/pools/abstract-pool.ts:43</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L44">src/pools/abstract-pool.ts:44</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="filePath" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>file<wbr/>Path</span><a href="#filePath" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">file<wbr/>Path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#filePath">filePath</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L79">src/pools/abstract-pool.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="numberOfWorkers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>number<wbr/>Of<wbr/>Workers</span><a href="#numberOfWorkers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">number<wbr/>Of<wbr/>Workers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#numberOfWorkers">numberOfWorkers</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L77">src/pools/abstract-pool.ts:77</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="opts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">opts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ClusterPoolOptions.html" class="tsd-signature-type tsd-kind-interface">ClusterPoolOptions</a><span class="tsd-signature-symbol"> = {}</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#opts">opts</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L53">src/pools/cluster/fixed.ts:53</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L53">src/pools/cluster/fixed.ts:53</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="promiseResponseMap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>promise<wbr/>Response<wbr/>Map</span><a href="#promiseResponseMap" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">promise<wbr/>Response<wbr/>Map</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/PromiseResponseWrapper.html" class="tsd-signature-type tsd-kind-interface">PromiseResponseWrapper</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#promiseResponseMap">promiseResponseMap</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L53">src/pools/abstract-pool.ts:53</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L54">src/pools/abstract-pool.ts:54</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="workerChoiceStrategyContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><a href="#workerChoiceStrategyContext" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><span class="tsd-signature-symbol">:</span> <a href="WorkerChoiceStrategyContext.html" class="tsd-signature-type tsd-kind-class">WorkerChoiceStrategyContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#workerChoiceStrategyContext">workerChoiceStrategyContext</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L63">src/pools/abstract-pool.ts:63</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L64">src/pools/abstract-pool.ts:64</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="workerNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker<wbr/>Nodes</span><a href="#workerNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Nodes</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/WorkerNode.html" class="tsd-signature-type tsd-kind-interface">WorkerNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#workerNodes">workerNodes</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L40">src/pools/abstract-pool.ts:40</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L41">src/pools/abstract-pool.ts:41</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="busy" class="tsd-anchor"></a>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides AbstractPool.busy</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L109">src/pools/cluster/fixed.ts:109</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L114">src/pools/cluster/fixed.ts:114</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="full" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>full</span><a href="#full" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides AbstractPool.full</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L104">src/pools/cluster/fixed.ts:104</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L109">src/pools/cluster/fixed.ts:109</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><a id="numberOfQueuedTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span><a href="#numberOfQueuedTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractPool.numberOfQueuedTasks</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L196">src/pools/abstract-pool.ts:196</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L218">src/pools/abstract-pool.ts:218</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><a id="numberOfRunningTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span><a href="#numberOfRunningTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractPool.numberOfRunningTasks</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L186">src/pools/abstract-pool.ts:186</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L208">src/pools/abstract-pool.ts:208</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures">
+<li class="tsd-signature" id="size.size-1"><span class="tsd-signature-symbol">get</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Pool maximum size.</p>
+</div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
+<p>Overrides AbstractPool.size</p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L104">src/pools/cluster/fixed.ts:104</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <a href="../enums/PoolType.html" class="tsd-signature-type tsd-kind-enum">PoolType</a></h4><aside class="tsd-sources">
<p>Overrides AbstractPool.type</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L99">src/pools/cluster/fixed.ts:99</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L99">src/pools/cluster/fixed.ts:99</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="afterTaskExecutionHook" class="tsd-anchor"></a>
<div class="tsd-comment tsd-typography"><p>The worker.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The received message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#afterTaskExecutionHook">afterTaskExecutionHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L387">src/pools/abstract-pool.ts:387</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L411">src/pools/abstract-pool.ts:411</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="afterWorkerSetup" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>after<wbr/>Worker<wbr/>Setup</span><a href="#afterWorkerSetup" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#afterWorkerSetup">afterWorkerSetup</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L93">src/pools/cluster/fixed.ts:93</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L93">src/pools/cluster/fixed.ts:93</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="beforeTaskExecutionHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>before<wbr/>Task<wbr/>Execution<wbr/>Hook</span><a href="#beforeTaskExecutionHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#beforeTaskExecutionHook">beforeTaskExecutionHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L376">src/pools/abstract-pool.ts:376</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L400">src/pools/abstract-pool.ts:400</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="chooseWorkerNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>choose<wbr/>Worker<wbr/>Node</span><a href="#chooseWorkerNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#chooseWorkerNode">chooseWorkerNode</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L420">src/pools/abstract-pool.ts:420</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L446">src/pools/abstract-pool.ts:446</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="createAndSetupWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>And<wbr/>Setup<wbr/>Worker</span><a href="#createAndSetupWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#createAndSetupWorker">createAndSetupWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L482">src/pools/abstract-pool.ts:482</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L509">src/pools/abstract-pool.ts:509</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="createWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>Worker</span><a href="#createWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Worker</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#createWorker">createWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L88">src/pools/cluster/fixed.ts:88</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L88">src/pools/cluster/fixed.ts:88</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="destroy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#destroy">destroy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L339">src/pools/abstract-pool.ts:339</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L363">src/pools/abstract-pool.ts:363</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="destroyWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>destroy<wbr/>Worker</span><a href="#destroyWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#destroyWorker">destroyWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L69">src/pools/cluster/fixed.ts:69</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L69">src/pools/cluster/fixed.ts:69</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="enableTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>enable<wbr/>Tasks<wbr/>Queue</span><a href="#enableTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#enableTasksQueue">enableTasksQueue</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L255">src/pools/abstract-pool.ts:255</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L278">src/pools/abstract-pool.ts:278</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="execute" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>execute</span><a href="#execute" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
-<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Executes the function specified in the worker constructor with the task data input parameter.</p>
</div>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Data</span></h5>
<div class="tsd-comment tsd-typography"><p>The task input data for the specified worker function. This can only be serializable data.</p>
+</div></li>
+<li>
+<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5>
+<div class="tsd-comment tsd-typography"><p>The name of the worker function to execute. If not specified, the default worker function will be executed.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><p>Promise that will be fulfilled when the task is completed.</p>
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#execute">execute</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L308">src/pools/abstract-pool.ts:308</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L331">src/pools/abstract-pool.ts:331</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="internalBusy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>internal<wbr/>Busy</span><a href="#internalBusy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#internalBusy">internalBusy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L299">src/pools/abstract-pool.ts:299</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L322">src/pools/abstract-pool.ts:322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="isMain" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>is<wbr/>Main</span><a href="#isMain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#isMain">isMain</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L64">src/pools/cluster/fixed.ts:64</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L64">src/pools/cluster/fixed.ts:64</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="registerWorkerMessageListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>register<wbr/>Worker<wbr/>Message<wbr/>Listener</span><a href="#registerWorkerMessageListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#registerWorkerMessageListener">registerWorkerMessageListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L80">src/pools/cluster/fixed.ts:80</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L80">src/pools/cluster/fixed.ts:80</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="sendToWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>send<wbr/>To<wbr/>Worker</span><a href="#sendToWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<div class="tsd-comment tsd-typography"><p>The worker which should receive the message.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#sendToWorker">sendToWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L75">src/pools/cluster/fixed.ts:75</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L75">src/pools/cluster/fixed.ts:75</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setTasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><a href="#setTasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#setTasksQueueOptions">setTasksQueueOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L290">src/pools/abstract-pool.ts:290</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setWorkerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><a href="#setWorkerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#setWorkerChoiceStrategy">setWorkerChoiceStrategy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L219">src/pools/abstract-pool.ts:219</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L241">src/pools/abstract-pool.ts:241</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setWorkerChoiceStrategyOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#setWorkerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#setWorkerChoiceStrategyOptions">setWorkerChoiceStrategyOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L245">src/pools/abstract-pool.ts:245</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="setupHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>setup<wbr/>Hook</span><a href="#setupHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#setupHook">setupHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L59">src/pools/cluster/fixed.ts:59</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L59">src/pools/cluster/fixed.ts:59</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="workerListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Listener</span><a href="#workerListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><p>The listener function to execute when a message is received from a worker.</p>
</li></ul></li></ul><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#workerListener">workerListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L505">src/pools/abstract-pool.ts:505</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L532">src/pools/abstract-pool.ts:532</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#full" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a></li>
<li><a href="#numberOfQueuedTasks" class="tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a></li>
<li><a href="#numberOfRunningTasks" class="tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a></li>
+<li><a href="#size" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a></li>
<li><a href="#type" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a></li>
<li><a href="#afterTaskExecutionHook" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Task<wbr/>Execution<wbr/>Hook</span></a></li>
<li><a href="#afterWorkerSetup" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Worker<wbr/>Setup</span></a></li>
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><a href="DynamicThreadPool.html" class="tsd-signature-type tsd-kind-class">DynamicThreadPool</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L29">src/pools/thread/fixed.ts:29</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L29">src/pools/thread/fixed.ts:29</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="FixedThreadPool.html#full" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a>
<a href="FixedThreadPool.html#numberOfQueuedTasks" class="tsd-index-link tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a>
<a href="FixedThreadPool.html#numberOfRunningTasks" class="tsd-index-link tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a>
+<a href="FixedThreadPool.html#size" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a>
<a href="FixedThreadPool.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a>
</div></section>
<section class="tsd-index-section">
<h4 class="tsd-returns-title">Returns <a href="FixedThreadPool.html" class="tsd-signature-type tsd-kind-class">FixedThreadPool</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#constructor">constructor</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L40">src/pools/thread/fixed.ts:40</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L40">src/pools/thread/fixed.ts:40</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="emitter" class="tsd-anchor"></a>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#emitter">emitter</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L43">src/pools/abstract-pool.ts:43</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L44">src/pools/abstract-pool.ts:44</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="filePath" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>file<wbr/>Path</span><a href="#filePath" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">file<wbr/>Path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#filePath">filePath</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L79">src/pools/abstract-pool.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="numberOfWorkers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>number<wbr/>Of<wbr/>Workers</span><a href="#numberOfWorkers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">number<wbr/>Of<wbr/>Workers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#numberOfWorkers">numberOfWorkers</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L77">src/pools/abstract-pool.ts:77</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L78">src/pools/abstract-pool.ts:78</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="opts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">opts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/PoolOptions.html" class="tsd-signature-type tsd-kind-interface">PoolOptions</a><span class="tsd-signature-symbol"><</span><a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#opts">opts</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L79">src/pools/abstract-pool.ts:79</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L80">src/pools/abstract-pool.ts:80</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="promiseResponseMap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>promise<wbr/>Response<wbr/>Map</span><a href="#promiseResponseMap" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">promise<wbr/>Response<wbr/>Map</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/PromiseResponseWrapper.html" class="tsd-signature-type tsd-kind-interface">PromiseResponseWrapper</a><span class="tsd-signature-symbol"><</span><a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#promiseResponseMap">promiseResponseMap</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L53">src/pools/abstract-pool.ts:53</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L54">src/pools/abstract-pool.ts:54</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="workerChoiceStrategyContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><a href="#workerChoiceStrategyContext" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span><span class="tsd-signature-symbol">:</span> <a href="WorkerChoiceStrategyContext.html" class="tsd-signature-type tsd-kind-class">WorkerChoiceStrategyContext</a><span class="tsd-signature-symbol"><</span><a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#workerChoiceStrategyContext">workerChoiceStrategyContext</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L63">src/pools/abstract-pool.ts:63</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L64">src/pools/abstract-pool.ts:64</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="workerNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker<wbr/>Nodes</span><a href="#workerNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Nodes</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/WorkerNode.html" class="tsd-signature-type tsd-kind-interface">WorkerNode</a><span class="tsd-signature-symbol"><</span><a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#workerNodes">workerNodes</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L40">src/pools/abstract-pool.ts:40</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L41">src/pools/abstract-pool.ts:41</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="busy" class="tsd-anchor"></a>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides AbstractPool.busy</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L105">src/pools/thread/fixed.ts:105</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L110">src/pools/thread/fixed.ts:110</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="full" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>full</span><a href="#full" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides AbstractPool.full</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L100">src/pools/thread/fixed.ts:100</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L105">src/pools/thread/fixed.ts:105</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><a id="numberOfQueuedTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span><a href="#numberOfQueuedTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractPool.numberOfQueuedTasks</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L196">src/pools/abstract-pool.ts:196</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L218">src/pools/abstract-pool.ts:218</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><a id="numberOfRunningTasks" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span><a href="#numberOfRunningTasks" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractPool.numberOfRunningTasks</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L186">src/pools/abstract-pool.ts:186</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L208">src/pools/abstract-pool.ts:208</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures">
+<li class="tsd-signature" id="size.size-1"><span class="tsd-signature-symbol">get</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Pool maximum size.</p>
+</div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
+<p>Overrides AbstractPool.size</p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L100">src/pools/thread/fixed.ts:100</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <a href="../enums/PoolType.html" class="tsd-signature-type tsd-kind-enum">PoolType</a></h4><aside class="tsd-sources">
<p>Overrides AbstractPool.type</p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L95">src/pools/thread/fixed.ts:95</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L95">src/pools/thread/fixed.ts:95</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="afterTaskExecutionHook" class="tsd-anchor"></a>
<div class="tsd-comment tsd-typography"><p>The worker.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The received message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#afterTaskExecutionHook">afterTaskExecutionHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L387">src/pools/abstract-pool.ts:387</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L411">src/pools/abstract-pool.ts:411</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="afterWorkerSetup" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>after<wbr/>Worker<wbr/>Setup</span><a href="#afterWorkerSetup" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#afterWorkerSetup">afterWorkerSetup</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L85">src/pools/thread/fixed.ts:85</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L85">src/pools/thread/fixed.ts:85</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="beforeTaskExecutionHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>before<wbr/>Task<wbr/>Execution<wbr/>Hook</span><a href="#beforeTaskExecutionHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#beforeTaskExecutionHook">beforeTaskExecutionHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L376">src/pools/abstract-pool.ts:376</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L400">src/pools/abstract-pool.ts:400</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="chooseWorkerNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>choose<wbr/>Worker<wbr/>Node</span><a href="#chooseWorkerNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#chooseWorkerNode">chooseWorkerNode</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L420">src/pools/abstract-pool.ts:420</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L446">src/pools/abstract-pool.ts:446</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="createAndSetupWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>And<wbr/>Setup<wbr/>Worker</span><a href="#createAndSetupWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#createAndSetupWorker">createAndSetupWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L482">src/pools/abstract-pool.ts:482</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L509">src/pools/abstract-pool.ts:509</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="createWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>create<wbr/>Worker</span><a href="#createWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <a href="../types/ThreadWorkerWithMessageChannel.html" class="tsd-signature-type tsd-kind-type-alias">ThreadWorkerWithMessageChannel</a></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#createWorker">createWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L78">src/pools/thread/fixed.ts:78</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L78">src/pools/thread/fixed.ts:78</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="destroy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#destroy">destroy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L339">src/pools/abstract-pool.ts:339</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L363">src/pools/abstract-pool.ts:363</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="destroyWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>destroy<wbr/>Worker</span><a href="#destroyWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#destroyWorker">destroyWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L54">src/pools/thread/fixed.ts:54</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L54">src/pools/thread/fixed.ts:54</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="enableTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>enable<wbr/>Tasks<wbr/>Queue</span><a href="#enableTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#enableTasksQueue">enableTasksQueue</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L255">src/pools/abstract-pool.ts:255</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L278">src/pools/abstract-pool.ts:278</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="execute" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>execute</span><a href="#execute" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
-<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="execute.execute-1"><span class="tsd-kind-call-signature">execute</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#execute.execute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Executes the function specified in the worker constructor with the task data input parameter.</p>
</div>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Data</span></h5>
<div class="tsd-comment tsd-typography"><p>The task input data for the specified worker function. This can only be serializable data.</p>
+</div></li>
+<li>
+<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5>
+<div class="tsd-comment tsd-typography"><p>The name of the worker function to execute. If not specified, the default worker function will be executed.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><p>Promise that will be fulfilled when the task is completed.</p>
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#execute">execute</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L308">src/pools/abstract-pool.ts:308</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L331">src/pools/abstract-pool.ts:331</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="internalBusy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>internal<wbr/>Busy</span><a href="#internalBusy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#internalBusy">internalBusy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L299">src/pools/abstract-pool.ts:299</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L322">src/pools/abstract-pool.ts:322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="isMain" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>is<wbr/>Main</span><a href="#isMain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#isMain">isMain</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L49">src/pools/thread/fixed.ts:49</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L49">src/pools/thread/fixed.ts:49</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="registerWorkerMessageListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>register<wbr/>Worker<wbr/>Message<wbr/>Listener</span><a href="#registerWorkerMessageListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Message</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#registerWorkerMessageListener">registerWorkerMessageListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L70">src/pools/thread/fixed.ts:70</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L70">src/pools/thread/fixed.ts:70</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="sendToWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>send<wbr/>To<wbr/>Worker</span><a href="#sendToWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<div class="tsd-comment tsd-typography"><p>The worker which should receive the message.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#sendToWorker">sendToWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L62">src/pools/thread/fixed.ts:62</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L62">src/pools/thread/fixed.ts:62</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setTasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><a href="#setTasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#setTasksQueueOptions">setTasksQueueOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L290">src/pools/abstract-pool.ts:290</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setWorkerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><a href="#setWorkerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#setWorkerChoiceStrategy">setWorkerChoiceStrategy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L219">src/pools/abstract-pool.ts:219</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L241">src/pools/abstract-pool.ts:241</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setWorkerChoiceStrategyOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#setWorkerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#setWorkerChoiceStrategyOptions">setWorkerChoiceStrategyOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L245">src/pools/abstract-pool.ts:245</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L267">src/pools/abstract-pool.ts:267</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="setupHook" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>setup<wbr/>Hook</span><a href="#setupHook" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#setupHook">setupHook</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L361">src/pools/abstract-pool.ts:361</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L385">src/pools/abstract-pool.ts:385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="workerListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>worker<wbr/>Listener</span><a href="#workerListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><p>The listener function to execute when a message is received from a worker.</p>
</li></ul></li></ul><aside class="tsd-sources">
<p>Inherited from <a href="AbstractPool.html">AbstractPool</a>.<a href="AbstractPool.html#workerListener">workerListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/abstract-pool.ts#L505">src/pools/abstract-pool.ts:505</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/abstract-pool.ts#L532">src/pools/abstract-pool.ts:532</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#full" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>full</span></a></li>
<li><a href="#numberOfQueuedTasks" class="tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Queued<wbr/>Tasks</span></a></li>
<li><a href="#numberOfRunningTasks" class="tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>number<wbr/>Of<wbr/>Running<wbr/>Tasks</span></a></li>
+<li><a href="#size" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>size</span></a></li>
<li><a href="#type" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>type</span></a></li>
<li><a href="#afterTaskExecutionHook" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Task<wbr/>Execution<wbr/>Hook</span></a></li>
<li><a href="#afterWorkerSetup" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>after<wbr/>Worker<wbr/>Setup</span></a></li>
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">PoolEmitter</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L35">src/pools/pool.ts:35</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L35">src/pools/pool.ts:35</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.constructor</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:111</li></ul></aside></li></ul></section></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:109</li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="captureRejectionSymbol" class="tsd-anchor"></a>
<div class="tsd-signature"><span class="tsd-kind-property">capture<wbr/>Rejection<wbr/>Symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="PoolEmitter.html#captureRejectionSymbol" class="tsd-signature-type tsd-kind-property">captureRejectionSymbol</a></div><aside class="tsd-sources">
<p>Inherited from EventEmitter.captureRejectionSymbol</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:328</li></ul></aside></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:322</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="captureRejections" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>capture<wbr/>Rejections</span><a href="#captureRejections" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">capture<wbr/>Rejections</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
</div><aside class="tsd-sources">
<p>Inherited from EventEmitter.captureRejections</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:333</li></ul></aside></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:327</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="defaultMaxListeners" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>default<wbr/>Max<wbr/>Listeners</span><a href="#defaultMaxListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">default<wbr/>Max<wbr/>Listeners</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<p>Inherited from EventEmitter.defaultMaxListeners</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:334</li></ul></aside></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:328</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="errorMonitor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>error<wbr/>Monitor</span><a href="#errorMonitor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">error<wbr/>Monitor</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="PoolEmitter.html#errorMonitor" class="tsd-signature-type tsd-kind-property">errorMonitor</a></div>
</div><aside class="tsd-sources">
<p>Inherited from EventEmitter.errorMonitor</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:327</li></ul></aside></section></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:321</li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addListener" class="tsd-anchor"></a>
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.addListener</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:354</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:348</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emit" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<div class="tsd-comment tsd-typography"><p>Synchronously calls each of the listeners registered for the event named<code>eventName</code>, in the order they were registered, passing the supplied arguments
to each.</p>
<p>Returns <code>true</code> if the event had listeners, <code>false</code> otherwise.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0"> = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">myEmitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-7">// First listener</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">firstListener</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'Helloooo! first listener'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-7">// Second listener</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">secondListener</span><span class="hl-0">(</span><span class="hl-3">arg1</span><span class="hl-0">, </span><span class="hl-3">arg2</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">`event with parameters </span><span class="hl-4">${</span><span class="hl-3">arg1</span><span class="hl-4">}</span><span class="hl-6">, </span><span class="hl-4">${</span><span class="hl-3">arg2</span><span class="hl-4">}</span><span class="hl-6"> in second listener`</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-7">// Third listener</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">thirdListener</span><span class="hl-0">(...</span><span class="hl-3">args</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">parameters</span><span class="hl-0"> = </span><span class="hl-3">args</span><span class="hl-0">.</span><span class="hl-2">join</span><span class="hl-0">(</span><span class="hl-6">', '</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">`event with parameters </span><span class="hl-4">${</span><span class="hl-3">parameters</span><span class="hl-4">}</span><span class="hl-6"> in third listener`</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">listeners</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">));</span><br/><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-1">1</span><span class="hl-0">, </span><span class="hl-1">2</span><span class="hl-0">, </span><span class="hl-1">3</span><span class="hl-0">, </span><span class="hl-1">4</span><span class="hl-0">, </span><span class="hl-1">5</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// [</span><br/><span class="hl-7">// [Function: firstListener],</span><br/><span class="hl-7">// [Function: secondListener],</span><br/><span class="hl-7">// [Function: thirdListener]</span><br/><span class="hl-7">// ]</span><br/><span class="hl-7">// Helloooo! first listener</span><br/><span class="hl-7">// event with parameters 1, 2 in second listener</span><br/><span class="hl-7">// event with parameters 1, 2, 3, 4, 5 in third listener</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">myEmitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-8">// First listener</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">firstListener</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'Helloooo! first listener'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-8">// Second listener</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">secondListener</span><span class="hl-0">(</span><span class="hl-3">arg1</span><span class="hl-0">, </span><span class="hl-3">arg2</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">`event with parameters </span><span class="hl-4">${</span><span class="hl-3">arg1</span><span class="hl-4">}</span><span class="hl-6">, </span><span class="hl-4">${</span><span class="hl-3">arg2</span><span class="hl-4">}</span><span class="hl-6"> in second listener`</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-8">// Third listener</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">thirdListener</span><span class="hl-0">(...</span><span class="hl-3">args</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">parameters</span><span class="hl-0"> = </span><span class="hl-3">args</span><span class="hl-0">.</span><span class="hl-2">join</span><span class="hl-0">(</span><span class="hl-6">', '</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">`event with parameters </span><span class="hl-4">${</span><span class="hl-3">parameters</span><span class="hl-4">}</span><span class="hl-6"> in third listener`</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">listeners</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">));</span><br/><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-1">1</span><span class="hl-0">, </span><span class="hl-1">2</span><span class="hl-0">, </span><span class="hl-1">3</span><span class="hl-0">, </span><span class="hl-1">4</span><span class="hl-0">, </span><span class="hl-1">5</span><span class="hl-0">);</span><br/><br/><span class="hl-8">// Prints:</span><br/><span class="hl-8">// [</span><br/><span class="hl-8">// [Function: firstListener],</span><br/><span class="hl-8">// [Function: secondListener],</span><br/><span class="hl-8">// [Function: thirdListener]</span><br/><span class="hl-8">// ]</span><br/><span class="hl-8">// Helloooo! first listener</span><br/><span class="hl-8">// event with parameters 1, 2 in second listener</span><br/><span class="hl-8">// event with parameters 1, 2, 3, 4, 5 in third listener</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v0.1.26</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.emit</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:610</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:610</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="eventNames" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>event<wbr/>Names</span><a href="#eventNames" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns an array listing the events for which the emitter has registered
listeners. The values in the array are strings or <code>Symbol</code>s.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0"> = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">myEE</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'bar'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">sym</span><span class="hl-0"> = </span><span class="hl-2">Symbol</span><span class="hl-0">(</span><span class="hl-6">'symbol'</span><span class="hl-0">);</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-3">sym</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">eventNames</span><span class="hl-0">());</span><br/><span class="hl-7">// Prints: [ 'foo', 'bar', Symbol(symbol) ]</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">myEE</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'bar'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">sym</span><span class="hl-0"> = </span><span class="hl-2">Symbol</span><span class="hl-0">(</span><span class="hl-6">'symbol'</span><span class="hl-0">);</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-3">sym</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">eventNames</span><span class="hl-0">());</span><br/><span class="hl-8">// Prints: [ 'foo', 'bar', Symbol(symbol) ]</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v6.0.0</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.eventNames</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:673</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:673</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getMaxListeners" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Max<wbr/>Listeners</span><a href="#getMaxListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.getMaxListeners</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:526</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:525</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="listenerCount.listenerCount-1"><span class="tsd-kind-call-signature">listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount.listenerCount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Returns the number of listeners listening to the event named <code>eventName</code>.</p>
-<p>If <code>listener</code> is provided, it will return how many times the listener
-is found in the list of the listeners of the event.</p>
+<div class="tsd-comment tsd-typography"><p>Returns the number of listeners listening for the event named <code>eventName</code>.
+If <code>listener</code> is provided, it will return how many times the listener is found
+in the list of the listeners of the event.</p>
<h3>Since</h3><p>v3.2.0</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.listenerCount</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:620</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:619</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listeners" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>listeners</span><a href="#listeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="listeners.listeners-1"><span class="tsd-kind-call-signature">listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Function</span><span class="tsd-signature-symbol">[]</span><a href="#listeners.listeners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>.</p>
-<pre><code class="language-js"><span class="hl-3">server</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-3">stream</span><span class="hl-0">) </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">util</span><span class="hl-0">.</span><span class="hl-2">inspect</span><span class="hl-0">(</span><span class="hl-3">server</span><span class="hl-0">.</span><span class="hl-2">listeners</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">)));</span><br/><span class="hl-7">// Prints: [ [Function] ]</span>
+<pre><code class="language-js"><span class="hl-3">server</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-3">stream</span><span class="hl-0">) </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">util</span><span class="hl-0">.</span><span class="hl-2">inspect</span><span class="hl-0">(</span><span class="hl-3">server</span><span class="hl-0">.</span><span class="hl-2">listeners</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">)));</span><br/><span class="hl-8">// Prints: [ [Function] ]</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v0.1.26</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Function</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.listeners</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:539</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:538</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="off" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.off</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:499</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:498</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="on" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>on</span><a href="#on" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependListener()</code> method can be used as an alternative to add the
event listener to the beginning of the listeners array.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">myEE</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'a'</span><span class="hl-0">));</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">prependListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'b'</span><span class="hl-0">));</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">myEE</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'a'</span><span class="hl-0">));</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">prependListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'b'</span><span class="hl-0">));</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">);</span><br/><span class="hl-8">// Prints:</span><br/><span class="hl-8">// b</span><br/><span class="hl-8">// a</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v0.1.101</p>
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.on</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:385</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:380</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="once" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>once</span><a href="#once" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependOnceListener()</code> method can be used as an alternative to add the
event listener to the beginning of the listeners array.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">myEE</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'a'</span><span class="hl-0">));</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">prependOnceListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'b'</span><span class="hl-0">));</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">myEE</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'a'</span><span class="hl-0">));</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">prependOnceListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'b'</span><span class="hl-0">));</span><br/><span class="hl-3">myEE</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">);</span><br/><span class="hl-8">// Prints:</span><br/><span class="hl-8">// b</span><br/><span class="hl-8">// a</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v0.3.0</p>
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.once</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:414</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:410</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="prependListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>prepend<wbr/>Listener</span><a href="#prependListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.prependListener</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:638</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:637</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="prependOnceListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>prepend<wbr/>Once<wbr/>Listener</span><a href="#prependOnceListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.prependOnceListener</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:654</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:653</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="rawListeners" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>raw<wbr/>Listeners</span><a href="#rawListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>,
including any wrappers (such as those created by <code>.once()</code>).</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">emitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'log once'</span><span class="hl-0">));</span><br/><br/><span class="hl-7">// Returns a new Array with a function `onceWrapper` which has a property</span><br/><span class="hl-7">// `listener` which contains the original listener bound above</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">listeners</span><span class="hl-0"> = </span><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">rawListeners</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">logFnWrapper</span><span class="hl-0"> = </span><span class="hl-3">listeners</span><span class="hl-0">[</span><span class="hl-1">0</span><span class="hl-0">];</span><br/><br/><span class="hl-7">// Logs "log once" to the console and does not unbind the `once` event</span><br/><span class="hl-3">logFnWrapper</span><span class="hl-0">.</span><span class="hl-2">listener</span><span class="hl-0">();</span><br/><br/><span class="hl-7">// Logs "log once" to the console and removes the listener</span><br/><span class="hl-2">logFnWrapper</span><span class="hl-0">();</span><br/><br/><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'log persistently'</span><span class="hl-0">));</span><br/><span class="hl-7">// Will return a new Array with a single function bound by `.on()` above</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">newListeners</span><span class="hl-0"> = </span><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">rawListeners</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// Logs "log persistently" twice</span><br/><span class="hl-3">newListeners</span><span class="hl-0">[</span><span class="hl-1">0</span><span class="hl-0">]();</span><br/><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">emitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'log once'</span><span class="hl-0">));</span><br/><br/><span class="hl-8">// Returns a new Array with a function `onceWrapper` which has a property</span><br/><span class="hl-8">// `listener` which contains the original listener bound above</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">listeners</span><span class="hl-0"> = </span><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">rawListeners</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">logFnWrapper</span><span class="hl-0"> = </span><span class="hl-3">listeners</span><span class="hl-0">[</span><span class="hl-1">0</span><span class="hl-0">];</span><br/><br/><span class="hl-8">// Logs "log once" to the console and does not unbind the `once` event</span><br/><span class="hl-3">logFnWrapper</span><span class="hl-0">.</span><span class="hl-2">listener</span><span class="hl-0">();</span><br/><br/><span class="hl-8">// Logs "log once" to the console and removes the listener</span><br/><span class="hl-2">logFnWrapper</span><span class="hl-0">();</span><br/><br/><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'log persistently'</span><span class="hl-0">));</span><br/><span class="hl-8">// Will return a new Array with a single function bound by `.on()` above</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">newListeners</span><span class="hl-0"> = </span><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">rawListeners</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span><br/><br/><span class="hl-8">// Logs "log persistently" twice</span><br/><span class="hl-3">newListeners</span><span class="hl-0">[</span><span class="hl-1">0</span><span class="hl-0">]();</span><br/><span class="hl-3">emitter</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v9.4.0</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Function</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.rawListeners</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:569</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:569</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeAllListeners" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Listeners</span><a href="#removeAllListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.removeAllListeners</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:510</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:509</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Listener</span><a href="#removeListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="removeListener.removeListener-1"><span class="tsd-kind-call-signature">remove<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a><a href="#removeListener.removeListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Removes the specified <code>listener</code> from the listener array for the event named<code>eventName</code>.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">callback</span><span class="hl-0"> = (</span><span class="hl-3">stream</span><span class="hl-0">) </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><span class="hl-3">server</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, </span><span class="hl-3">callback</span><span class="hl-0">);</span><br/><span class="hl-7">// ...</span><br/><span class="hl-3">server</span><span class="hl-0">.</span><span class="hl-2">removeListener</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, </span><span class="hl-3">callback</span><span class="hl-0">);</span>
+<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">callback</span><span class="hl-0"> = (</span><span class="hl-3">stream</span><span class="hl-0">) </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><span class="hl-3">server</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, </span><span class="hl-3">callback</span><span class="hl-0">);</span><br/><span class="hl-8">// ...</span><br/><span class="hl-3">server</span><span class="hl-0">.</span><span class="hl-2">removeListener</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, </span><span class="hl-3">callback</span><span class="hl-0">);</span>
</code><button>Copy</button></pre>
<p><code>removeListener()</code> will remove, at most, one instance of a listener from the
listener array. If any single listener has been added multiple times to the
<p>Once an event is emitted, all listeners attached to it at the
time of emitting are called in order. This implies that any<code>removeListener()</code> or <code>removeAllListeners()</code> calls <em>after</em> emitting and <em>before</em> the last listener finishes execution
will not remove them from<code>emit()</code> in progress. Subsequent events behave as expected.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">myEmitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">MyEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">callbackA</span><span class="hl-0"> = () </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'A'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">removeListener</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">callbackB</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">callbackB</span><span class="hl-0"> = () </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'B'</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">callbackA</span><span class="hl-0">);</span><br/><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">callbackB</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// callbackA removes listener callbackB but it will still be called.</span><br/><span class="hl-7">// Internal listener array at time of emit [callbackA, callbackB]</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span><br/><span class="hl-7">// B</span><br/><br/><span class="hl-7">// callbackB is now removed.</span><br/><span class="hl-7">// Internal listener array [callbackA]</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-4">class</span><span class="hl-0"> </span><span class="hl-9">MyEmitter</span><span class="hl-0"> </span><span class="hl-4">extends</span><span class="hl-0"> </span><span class="hl-9">EventEmitter</span><span class="hl-0"> {}</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">myEmitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">MyEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">callbackA</span><span class="hl-0"> = () </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'A'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">removeListener</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">callbackB</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">callbackB</span><span class="hl-0"> = () </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'B'</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">callbackA</span><span class="hl-0">);</span><br/><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">callbackB</span><span class="hl-0">);</span><br/><br/><span class="hl-8">// callbackA removes listener callbackB but it will still be called.</span><br/><span class="hl-8">// Internal listener array at time of emit [callbackA, callbackB]</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">);</span><br/><span class="hl-8">// Prints:</span><br/><span class="hl-8">// A</span><br/><span class="hl-8">// B</span><br/><br/><span class="hl-8">// callbackB is now removed.</span><br/><span class="hl-8">// Internal listener array [callbackA]</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">);</span><br/><span class="hl-8">// Prints:</span><br/><span class="hl-8">// A</span>
</code><button>Copy</button></pre>
<p>Because listeners are managed using an internal array, calling this will
change the position indices of any listener registered <em>after</em> the listener
<p>When a single function has been added as a handler multiple times for a single
event (as in the example below), <code>removeListener()</code> will remove the most
recently added instance. In the example the <code>once('ping')</code>listener is removed:</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">pong</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'pong'</span><span class="hl-0">);</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-3">pong</span><span class="hl-0">);</span><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-3">pong</span><span class="hl-0">);</span><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">removeListener</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-3">pong</span><span class="hl-0">);</span><br/><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">);</span><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">);</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">pong</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'pong'</span><span class="hl-0">);</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-3">pong</span><span class="hl-0">);</span><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-3">pong</span><span class="hl-0">);</span><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">removeListener</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-3">pong</span><span class="hl-0">);</span><br/><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">);</span><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">);</span>
</code><button>Copy</button></pre>
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.removeListener</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:494</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:493</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setMaxListeners" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Max<wbr/>Listeners</span><a href="#setMaxListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <a href="PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.setMaxListeners</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:520</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:519</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getEventListeners" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Event<wbr/>Listeners</span><a href="#getEventListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
the emitter.</p>
<p>For <code>EventTarget</code>s this is the only way to get the event listeners for the
event target. This is useful for debugging and diagnostic purposes.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> { </span><span class="hl-5">getEventListeners</span><span class="hl-0">, </span><span class="hl-5">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">listener</span><span class="hl-0"> = () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'Events are fun'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-3">listener</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-2">getEventListeners</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-0">}</span><br/><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">et</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventTarget</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">listener</span><span class="hl-0"> = () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'Events are fun'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">et</span><span class="hl-0">.</span><span class="hl-2">addEventListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-3">listener</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-2">getEventListeners</span><span class="hl-0">(</span><span class="hl-3">et</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-0">}</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">getEventListeners</span><span class="hl-0">, </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><br/><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">listener</span><span class="hl-0"> = () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'Events are fun'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-3">listener</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-2">getEventListeners</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">)); </span><span class="hl-8">// [ [Function: listener] ]</span><br/><span class="hl-0">}</span><br/><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">et</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventTarget</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-2">listener</span><span class="hl-0"> = () </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'Events are fun'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">et</span><span class="hl-0">.</span><span class="hl-2">addEventListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-3">listener</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-2">getEventListeners</span><span class="hl-0">(</span><span class="hl-3">et</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">)); </span><span class="hl-8">// [ [Function: listener] ]</span><br/><span class="hl-0">}</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v15.2.0, v14.17.0</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Function</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.getEventListeners</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:299</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:296</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount-2" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>listener<wbr/>Count</span><a href="#listenerCount-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="listenerCount-2.listenerCount-3"><span class="tsd-kind-call-signature">listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount-2.listenerCount-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>A class method that returns the number of listeners for the given <code>eventName</code>registered on the given <code>emitter</code>.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> { </span><span class="hl-5">EventEmitter</span><span class="hl-0">, </span><span class="hl-5">listenerCount</span><span class="hl-0"> } = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">myEmitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-2">listenerCount</span><span class="hl-0">(</span><span class="hl-3">myEmitter</span><span class="hl-0">, </span><span class="hl-6">'event'</span><span class="hl-0">));</span><br/><span class="hl-7">// Prints: 2</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0">, </span><span class="hl-3">listenerCount</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">myEmitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><span class="hl-3">myEmitter</span><span class="hl-0">.</span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, () </span><span class="hl-4">=></span><span class="hl-0"> {});</span><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-2">listenerCount</span><span class="hl-0">(</span><span class="hl-3">myEmitter</span><span class="hl-0">, </span><span class="hl-6">'event'</span><span class="hl-0">));</span><br/><span class="hl-8">// Prints: 2</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v0.9.12</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.listenerCount</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:271</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:268</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="on-2" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>on</span><a href="#on-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="on-2.on-3"><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncIterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><a href="#on-2.on-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> { </span><span class="hl-5">on</span><span class="hl-0">, </span><span class="hl-5">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-0">(</span><span class="hl-4">async</span><span class="hl-0"> () </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-0"> </span><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-6">'bar'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">for</span><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> (</span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">event</span><span class="hl-0"> </span><span class="hl-4">of</span><span class="hl-0"> </span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">)) {</span><br/><span class="hl-0"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-0"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-0"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">event</span><span class="hl-0">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-0">})();</span>
+<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">on</span><span class="hl-0">, </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-5">import</span><span class="hl-0"> </span><span class="hl-3">process</span><span class="hl-0"> </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:process'</span><span class="hl-0">;</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-8">// Emit later on</span><br/><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-6">'bar'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">42</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-5">for</span><span class="hl-0"> </span><span class="hl-5">await</span><span class="hl-0"> (</span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">event</span><span class="hl-0"> </span><span class="hl-4">of</span><span class="hl-0"> </span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">)) {</span><br/><span class="hl-0"> </span><span class="hl-8">// The execution of this inner block is synchronous and it</span><br/><span class="hl-0"> </span><span class="hl-8">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-0"> </span><span class="hl-8">// if concurrent execution is required.</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">event</span><span class="hl-0">); </span><span class="hl-8">// prints ['bar'] [42]</span><br/><span class="hl-0">}</span><br/><span class="hl-8">// Unreachable here</span>
</code><button>Copy</button></pre>
<p>Returns an <code>AsyncIterator</code> that iterates <code>eventName</code> events. It will throw
if the <code>EventEmitter</code> emits <code>'error'</code>. It removes all listeners when
exiting the loop. The <code>value</code> returned by each iteration is an array
composed of the emitted event arguments.</p>
<p>An <code>AbortSignal</code> can be used to cancel waiting on events:</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> { </span><span class="hl-5">on</span><span class="hl-0">, </span><span class="hl-5">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ac</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">AbortController</span><span class="hl-0">();</span><br/><br/><span class="hl-0">(</span><span class="hl-4">async</span><span class="hl-0"> () </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-0"> </span><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-6">'bar'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">for</span><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> (</span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">event</span><span class="hl-0"> </span><span class="hl-4">of</span><span class="hl-0"> </span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">, { </span><span class="hl-3">signal:</span><span class="hl-0"> </span><span class="hl-3">ac</span><span class="hl-0">.</span><span class="hl-3">signal</span><span class="hl-0"> })) {</span><br/><span class="hl-0"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-0"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-0"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">event</span><span class="hl-0">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-0">})();</span><br/><br/><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">ac</span><span class="hl-0">.</span><span class="hl-2">abort</span><span class="hl-0">());</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">on</span><span class="hl-0">, </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-5">import</span><span class="hl-0"> </span><span class="hl-3">process</span><span class="hl-0"> </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:process'</span><span class="hl-0">;</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ac</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">AbortController</span><span class="hl-0">();</span><br/><br/><span class="hl-0">(</span><span class="hl-4">async</span><span class="hl-0"> () </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-8">// Emit later on</span><br/><span class="hl-0"> </span><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-6">'bar'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-5">for</span><span class="hl-0"> </span><span class="hl-5">await</span><span class="hl-0"> (</span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">event</span><span class="hl-0"> </span><span class="hl-4">of</span><span class="hl-0"> </span><span class="hl-2">on</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">, { </span><span class="hl-3">signal:</span><span class="hl-0"> </span><span class="hl-3">ac</span><span class="hl-0">.</span><span class="hl-3">signal</span><span class="hl-0"> })) {</span><br/><span class="hl-0"> </span><span class="hl-8">// The execution of this inner block is synchronous and it</span><br/><span class="hl-0"> </span><span class="hl-8">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-0"> </span><span class="hl-8">// if concurrent execution is required.</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">event</span><span class="hl-0">); </span><span class="hl-8">// prints ['bar'] [42]</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> </span><span class="hl-8">// Unreachable here</span><br/><span class="hl-0">})();</span><br/><br/><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">ac</span><span class="hl-0">.</span><span class="hl-2">abort</span><span class="hl-0">());</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v13.6.0, v12.16.0</p>
<aside class="tsd-sources">
<p>Inherited from EventEmitter.on</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:254</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:250</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="once-2" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>once</span><a href="#once-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
given event.</p>
<p>This method is intentionally generic and works with the web platform <a href="https://dom.spec.whatwg.org/#interface-eventtarget">EventTarget</a> interface, which has no special<code>'error'</code> event
semantics and does not listen to the <code>'error'</code> event.</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> { </span><span class="hl-5">once</span><span class="hl-0">, </span><span class="hl-5">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-4">async</span><span class="hl-0"> </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">run</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'myevent'</span><span class="hl-0">, </span><span class="hl-1">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> [</span><span class="hl-5">value</span><span class="hl-0">] = </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'myevent'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">value</span><span class="hl-0">);</span><br/><br/><span class="hl-0"> </span><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">err</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">Error</span><span class="hl-0">(</span><span class="hl-6">'kaboom'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-3">err</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">try</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'myevent'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">catch</span><span class="hl-0"> (</span><span class="hl-3">err</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'error happened'</span><span class="hl-0">, </span><span class="hl-3">err</span><span class="hl-0">);</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-2">run</span><span class="hl-0">();</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">once</span><span class="hl-0">, </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><span class="hl-5">import</span><span class="hl-0"> </span><span class="hl-3">process</span><span class="hl-0"> </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:process'</span><span class="hl-0">;</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'myevent'</span><span class="hl-0">, </span><span class="hl-1">42</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> [</span><span class="hl-7">value</span><span class="hl-0">] = </span><span class="hl-5">await</span><span class="hl-0"> </span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'myevent'</span><span class="hl-0">);</span><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-3">value</span><span class="hl-0">);</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">err</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">Error</span><span class="hl-0">(</span><span class="hl-6">'kaboom'</span><span class="hl-0">);</span><br/><span class="hl-3">process</span><span class="hl-0">.</span><span class="hl-2">nextTick</span><span class="hl-0">(() </span><span class="hl-4">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-3">err</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-5">try</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">await</span><span class="hl-0"> </span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'myevent'</span><span class="hl-0">);</span><br/><span class="hl-0">} </span><span class="hl-5">catch</span><span class="hl-0"> (</span><span class="hl-3">err</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">error</span><span class="hl-0">(</span><span class="hl-6">'error happened'</span><span class="hl-0">, </span><span class="hl-3">err</span><span class="hl-0">);</span><br/><span class="hl-0">}</span>
</code><button>Copy</button></pre>
<p>The special handling of the <code>'error'</code> event is only used when <code>events.once()</code>is used to wait for another event. If <code>events.once()</code> is used to wait for the
'<code>error'</code> event itself, then it is treated as any other kind of event without
special handling:</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> { </span><span class="hl-5">EventEmitter</span><span class="hl-0">, </span><span class="hl-5">once</span><span class="hl-0"> } = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'error'</span><span class="hl-0">)</span><br/><span class="hl-0"> .</span><span class="hl-2">then</span><span class="hl-0">(([</span><span class="hl-3">err</span><span class="hl-0">]) </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'ok'</span><span class="hl-0">, </span><span class="hl-3">err</span><span class="hl-0">.</span><span class="hl-3">message</span><span class="hl-0">))</span><br/><span class="hl-0"> .</span><span class="hl-2">catch</span><span class="hl-0">((</span><span class="hl-3">err</span><span class="hl-0">) </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-3">err</span><span class="hl-0">.</span><span class="hl-3">message</span><span class="hl-0">));</span><br/><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">Error</span><span class="hl-0">(</span><span class="hl-6">'boom'</span><span class="hl-0">));</span><br/><br/><span class="hl-7">// Prints: ok boom</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0">, </span><span class="hl-3">once</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'error'</span><span class="hl-0">)</span><br/><span class="hl-0"> .</span><span class="hl-2">then</span><span class="hl-0">(([</span><span class="hl-3">err</span><span class="hl-0">]) </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'ok'</span><span class="hl-0">, </span><span class="hl-3">err</span><span class="hl-0">.</span><span class="hl-3">message</span><span class="hl-0">))</span><br/><span class="hl-0"> .</span><span class="hl-2">catch</span><span class="hl-0">((</span><span class="hl-3">err</span><span class="hl-0">) </span><span class="hl-4">=></span><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">error</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-3">err</span><span class="hl-0">.</span><span class="hl-3">message</span><span class="hl-0">));</span><br/><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">Error</span><span class="hl-0">(</span><span class="hl-6">'boom'</span><span class="hl-0">));</span><br/><br/><span class="hl-8">// Prints: ok boom</span>
</code><button>Copy</button></pre>
<p>An <code>AbortSignal</code> can be used to cancel waiting for the event:</p>
-<pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> { </span><span class="hl-5">EventEmitter</span><span class="hl-0">, </span><span class="hl-5">once</span><span class="hl-0"> } = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">ac</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">AbortController</span><span class="hl-0">();</span><br/><br/><span class="hl-4">async</span><span class="hl-0"> </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">foo</span><span class="hl-0">(</span><span class="hl-3">emitter</span><span class="hl-0">, </span><span class="hl-3">event</span><span class="hl-0">, </span><span class="hl-3">signal</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-8">try</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-3">emitter</span><span class="hl-0">, </span><span class="hl-3">event</span><span class="hl-0">, { </span><span class="hl-3">signal</span><span class="hl-0"> });</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'event emitted!'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">catch</span><span class="hl-0"> (</span><span class="hl-3">error</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-8">if</span><span class="hl-0"> (</span><span class="hl-3">error</span><span class="hl-0">.</span><span class="hl-3">name</span><span class="hl-0"> === </span><span class="hl-6">'AbortError'</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">error</span><span class="hl-0">(</span><span class="hl-6">'Waiting for the event was canceled!'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">else</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">error</span><span class="hl-0">(</span><span class="hl-6">'There was an error'</span><span class="hl-0">, </span><span class="hl-3">error</span><span class="hl-0">.</span><span class="hl-3">message</span><span class="hl-0">);</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-2">foo</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-3">ac</span><span class="hl-0">.</span><span class="hl-3">signal</span><span class="hl-0">);</span><br/><span class="hl-3">ac</span><span class="hl-0">.</span><span class="hl-2">abort</span><span class="hl-0">(); </span><span class="hl-7">// Abort waiting for the event</span><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// Prints: Waiting for the event was canceled!</span>
+<pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">EventEmitter</span><span class="hl-0">, </span><span class="hl-3">once</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ee</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">ac</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">AbortController</span><span class="hl-0">();</span><br/><br/><span class="hl-4">async</span><span class="hl-0"> </span><span class="hl-4">function</span><span class="hl-0"> </span><span class="hl-2">foo</span><span class="hl-0">(</span><span class="hl-3">emitter</span><span class="hl-0">, </span><span class="hl-3">event</span><span class="hl-0">, </span><span class="hl-3">signal</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-5">try</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">await</span><span class="hl-0"> </span><span class="hl-2">once</span><span class="hl-0">(</span><span class="hl-3">emitter</span><span class="hl-0">, </span><span class="hl-3">event</span><span class="hl-0">, { </span><span class="hl-3">signal</span><span class="hl-0"> });</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">log</span><span class="hl-0">(</span><span class="hl-6">'event emitted!'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-5">catch</span><span class="hl-0"> (</span><span class="hl-3">error</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-5">if</span><span class="hl-0"> (</span><span class="hl-3">error</span><span class="hl-0">.</span><span class="hl-3">name</span><span class="hl-0"> === </span><span class="hl-6">'AbortError'</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">error</span><span class="hl-0">(</span><span class="hl-6">'Waiting for the event was canceled!'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-5">else</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-2">error</span><span class="hl-0">(</span><span class="hl-6">'There was an error'</span><span class="hl-0">, </span><span class="hl-3">error</span><span class="hl-0">.</span><span class="hl-3">message</span><span class="hl-0">);</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-2">foo</span><span class="hl-0">(</span><span class="hl-3">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-3">ac</span><span class="hl-0">.</span><span class="hl-3">signal</span><span class="hl-0">);</span><br/><span class="hl-3">ac</span><span class="hl-0">.</span><span class="hl-2">abort</span><span class="hl-0">(); </span><span class="hl-8">// Abort waiting for the event</span><br/><span class="hl-3">ee</span><span class="hl-0">.</span><span class="hl-2">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-8">// Prints: Waiting for the event was canceled!</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v11.13.0, v10.16.0</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.once</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:194</li></ul></aside></li>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:189</li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="once-2.once-4"><span class="tsd-kind-call-signature">once</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#once-2.once-4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.once</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:195</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:190</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setMaxListeners-2" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>set<wbr/>Max<wbr/>Listeners</span><a href="#setMaxListeners-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="setMaxListeners-2.setMaxListeners-3"><span class="tsd-kind-call-signature">set<wbr/>Max<wbr/>Listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">n</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">eventTargets</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setMaxListeners-2.setMaxListeners-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-4">const</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">setMaxListeners</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><br/><span class="hl-0">} = </span><span class="hl-2">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">target</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventTarget</span><span class="hl-0">();</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">emitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-2">setMaxListeners</span><span class="hl-0">(</span><span class="hl-1">5</span><span class="hl-0">, </span><span class="hl-3">target</span><span class="hl-0">, </span><span class="hl-3">emitter</span><span class="hl-0">);</span>
+<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-5">import</span><span class="hl-0"> { </span><span class="hl-3">setMaxListeners</span><span class="hl-0">, </span><span class="hl-3">EventEmitter</span><span class="hl-0"> } </span><span class="hl-5">from</span><span class="hl-0"> </span><span class="hl-6">'node:events'</span><span class="hl-0">;</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">target</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventTarget</span><span class="hl-0">();</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-7">emitter</span><span class="hl-0"> = </span><span class="hl-4">new</span><span class="hl-0"> </span><span class="hl-2">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-2">setMaxListeners</span><span class="hl-0">(</span><span class="hl-1">5</span><span class="hl-0">, </span><span class="hl-3">target</span><span class="hl-0">, </span><span class="hl-3">emitter</span><span class="hl-0">);</span>
</code><button>Copy</button></pre>
<h3>Since</h3><p>v15.4.0</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from EventEmitter.setMaxListeners</p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/events.d.ts:317</li></ul></aside></li></ul></section></section></div>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/events.d.ts:311</li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">Queue</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/queue.ts#L8">src/queue.ts:8</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/queue.ts#L8">src/queue.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<h4><span class="tsd-kind-type-parameter">T</span></h4></li></ul></section>
<h4 class="tsd-returns-title">Returns <a href="Queue.html" class="tsd-signature-type tsd-kind-class">Queue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/queue.ts#L13">src/queue.ts:13</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/queue.ts#L13">src/queue.ts:13</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="head" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>head</span><a href="#head" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">head</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/queue.ts#L10">src/queue.ts:10</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/queue.ts#L10">src/queue.ts:10</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="items" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>items</span><a href="#items" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">items</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/queue.ts#L9">src/queue.ts:9</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/queue.ts#L9">src/queue.ts:9</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="tail" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>tail</span><a href="#tail" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">tail</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/queue.ts#L11">src/queue.ts:11</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/queue.ts#L11">src/queue.ts:11</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The size of the queue.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/queue.ts#L25">src/queue.ts:25</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/queue.ts#L25">src/queue.ts:25</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="dequeue" class="tsd-anchor"></a>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><p>The dequeued item or <code>undefined</code> if the queue is empty.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/queue.ts#L46">src/queue.ts:46</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/queue.ts#L46">src/queue.ts:46</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="enqueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>enqueue</span><a href="#enqueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The new size of the queue.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/queue.ts#L35">src/queue.ts:35</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/queue.ts#L35">src/queue.ts:35</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">ThreadWorker</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/thread-worker.ts#L21">src/worker/thread-worker.ts:21</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/thread-worker.ts#L25">src/worker/thread-worker.ts:25</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="ThreadWorker.html#lastTaskTimestamp" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>last<wbr/>Task<wbr/>Timestamp</span></a>
<a href="ThreadWorker.html#mainWorker" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>main<wbr/>Worker</span></a>
<a href="ThreadWorker.html#opts" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>opts</span></a>
+<a href="ThreadWorker.html#taskFunctions" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>task<wbr/>Functions</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<a href="ThreadWorker.html#getMainWorker" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Main<wbr/>Worker</span></a>
<a href="ThreadWorker.html#handleError" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Error</span></a>
<a href="ThreadWorker.html#messageListener" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>message<wbr/>Listener</span></a>
-<a href="ThreadWorker.html#run" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run</span></a>
<a href="ThreadWorker.html#runAsync" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Async</span></a>
<a href="ThreadWorker.html#runInAsyncScope" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span></a>
+<a href="ThreadWorker.html#runSync" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Sync</span></a>
<a href="ThreadWorker.html#sendToMainWorker" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>send<wbr/>To<wbr/>Main<wbr/>Worker</span></a>
<a href="ThreadWorker.html#triggerAsyncId" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>trigger<wbr/>Async<wbr/>Id</span></a>
<a href="ThreadWorker.html#bind-2" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a>
<section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
<ul class="tsd-signatures">
-<li class="tsd-signature tsd-anchor-link" id="constructor.new_ThreadWorker"><span class="tsd-kind-constructor-signature">new <wbr/>Thread<wbr/>Worker</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ThreadWorker.html" class="tsd-signature-type tsd-kind-class">ThreadWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#constructor.new_ThreadWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="constructor.new_ThreadWorker"><span class="tsd-kind-constructor-signature">new <wbr/>Thread<wbr/>Worker</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">taskFunctions</span>, <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ThreadWorker.html" class="tsd-signature-type tsd-kind-class">ThreadWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><a href="#constructor.new_ThreadWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Constructs a new poolifier thread worker.</p>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function processed by the worker when the pool's <code>execution</code> function is invoked.</p>
+<h5><span class="tsd-kind-parameter">taskFunctions</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><a href="../types/TaskFunctions.html" class="tsd-signature-type tsd-kind-type-alias">TaskFunctions</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Task function(s) processed by the worker when the pool's <code>execution</code> function is invoked.</p>
</div></li>
<li>
<h5><span class="tsd-kind-parameter">opts</span>: <a href="../interfaces/WorkerOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerOptions</a><span class="tsd-signature-symbol"> = {}</span></h5>
<h4 class="tsd-returns-title">Returns <a href="ThreadWorker.html" class="tsd-signature-type tsd-kind-class">ThreadWorker</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#constructor">constructor</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/thread-worker.ts#L31">src/worker/thread-worker.ts:31</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/thread-worker.ts#L35">src/worker/thread-worker.ts:35</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="aliveInterval" class="tsd-anchor"></a>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#aliveInterval">aliveInterval</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L36">src/worker/abstract-worker.ts:36</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L42">src/worker/abstract-worker.ts:42</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="isMain" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>is<wbr/>Main</span><a href="#isMain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">is<wbr/>Main</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#isMain">isMain</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L48">src/worker/abstract-worker.ts:48</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L54">src/worker/abstract-worker.ts:54</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="lastTaskTimestamp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>last<wbr/>Task<wbr/>Timestamp</span><a href="#lastTaskTimestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">last<wbr/>Task<wbr/>Timestamp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#lastTaskTimestamp">lastTaskTimestamp</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L32">src/worker/abstract-worker.ts:32</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L38">src/worker/abstract-worker.ts:38</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="mainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>main<wbr/>Worker</span><a href="#mainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">main<wbr/>Worker</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#mainWorker">mainWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L50">src/worker/abstract-worker.ts:50</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L58">src/worker/abstract-worker.ts:58</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="opts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opts</span><a href="#opts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">opts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/WorkerOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerOptions</a><span class="tsd-signature-symbol"> = ...</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#opts">opts</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L51">src/worker/abstract-worker.ts:51</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L59">src/worker/abstract-worker.ts:59</a></li></ul></aside></section>
+<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="taskFunctions" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>task<wbr/>Functions</span><a href="#taskFunctions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<div class="tsd-signature"><span class="tsd-kind-property">task<wbr/>Functions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div>
+<div class="tsd-comment tsd-typography"><p>Task function(s) processed by the worker when the pool's <code>execution</code> function is invoked.</p>
+</div><aside class="tsd-sources">
+<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#taskFunctions">taskFunctions</a></p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L34">src/worker/abstract-worker.ts:34</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="asyncId" class="tsd-anchor"></a>
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#asyncId">asyncId</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:315</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:312</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bind" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>bind</span><a href="#bind" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
-<li class="tsd-signature tsd-anchor-link" id="bind.bind-1"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#bind.bind-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="bind.bind-1"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><a href="#bind.bind-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Binds the given function to execute to this <code>AsyncResource</code>'s scope.</p>
-<p>The returned function will have an <code>asyncResource</code> property referencing
-the <code>AsyncResource</code> to which the function is bound.</p>
<h3>Since</h3><p>v14.8.0, v12.19.0</p>
</div>
<h5><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h5>
<div class="tsd-comment tsd-typography"><p>The function to bind to the current <code>AsyncResource</code>.</p>
</div></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#bind">bind</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:288</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:287</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="checkAlive" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>check<wbr/>Alive</span><a href="#checkAlive" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#checkAlive">checkAlive</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L156">src/worker/abstract-worker.ts:156</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L179">src/worker/abstract-worker.ts:179</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emitDestroy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>emit<wbr/>Destroy</span><a href="#emitDestroy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#emitDestroy">emitDestroy</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:311</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:308</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="getMainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Main<wbr/>Worker</span><a href="#getMainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#getMainWorker">getMainWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L139">src/worker/abstract-worker.ts:139</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L162">src/worker/abstract-worker.ts:162</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="handleError" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>handle<wbr/>Error</span><a href="#handleError" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#handleError">handleError</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L171">src/worker/abstract-worker.ts:171</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L194">src/worker/abstract-worker.ts:194</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="messageListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>message<wbr/>Listener</span><a href="#messageListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
-<li class="tsd-signature tsd-anchor-link" id="messageListener.messageListener-1"><span class="tsd-kind-call-signature">message<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span>, <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#messageListener.messageListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="messageListener.messageListener-1"><span class="tsd-kind-call-signature">message<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#messageListener.messageListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Worker message listener.</p>
</div>
<li>
<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>Message received.</p>
-</div></li>
-<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function processed by the worker when the pool's <code>execution</code> function is invoked.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#messageListener">messageListener</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L113">src/worker/abstract-worker.ts:113</a></li></ul></aside></li></ul></section>
-<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="run" class="tsd-anchor"></a>
-<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run</span><a href="#run" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
-<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
-<li class="tsd-signature tsd-anchor-link" id="run.run-1"><span class="tsd-kind-call-signature">run</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#run.run-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
-<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Runs the given function synchronously.</p>
-</div>
-<div class="tsd-parameters">
-<h4 class="tsd-parameters-title">Parameters</h4>
-<ul class="tsd-parameter-list">
-<li>
-<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerSyncFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerSyncFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
-</div></li>
-<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
-<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
-</div></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
-<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#run">run</a></p>
-<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L181">src/worker/abstract-worker.ts:181</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L138">src/worker/abstract-worker.ts:138</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="runAsync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run<wbr/>Async</span><a href="#runAsync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
</div></li>
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#runAsync">runAsync</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/abstract-worker.ts#L208">src/worker/abstract-worker.ts:208</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L231">src/worker/abstract-worker.ts:231</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="runInAsyncScope" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span><a href="#runInAsyncScope" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Result</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#runInAsyncScope">runInAsyncScope</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:303</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:300</li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="runSync" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>run<wbr/>Sync</span><a href="#runSync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
+<li class="tsd-signature tsd-anchor-link" id="runSync.runSync-1"><span class="tsd-kind-call-signature">run<wbr/>Sync</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#runSync.runSync-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Runs the given function synchronously.</p>
+</div>
+<div class="tsd-parameters">
+<h4 class="tsd-parameters-title">Parameters</h4>
+<ul class="tsd-parameter-list">
+<li>
+<h5><span class="tsd-kind-parameter">fn</span>: <a href="../types/WorkerSyncFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerSyncFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Function that will be executed.</p>
+</div></li>
+<li>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
+<div class="tsd-comment tsd-typography"><p>Input data for the given function.</p>
+</div></li></ul></div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
+<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#runSync">runSync</a></p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/abstract-worker.ts#L204">src/worker/abstract-worker.ts:204</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="sendToMainWorker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>send<wbr/>To<wbr/>Main<wbr/>Worker</span><a href="#sendToMainWorker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
-<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></h5>
+<h5><span class="tsd-kind-parameter">message</span>: <a href="../interfaces/MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol">></span></h5>
<div class="tsd-comment tsd-typography"><p>The response message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#sendToMainWorker">sendToMainWorker</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/thread-worker.ts#L39">src/worker/thread-worker.ts:39</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/thread-worker.ts#L51">src/worker/thread-worker.ts:51</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="triggerAsyncId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>trigger<wbr/>Async<wbr/>Id</span><a href="#triggerAsyncId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
<aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#triggerAsyncId">triggerAsyncId</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:320</li></ul></aside></li></ul></section>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:317</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bind-2" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>bind</span><a href="#bind-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
-<li class="tsd-signature tsd-anchor-link" id="bind-2.bind-3"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#bind-2.bind-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-signature tsd-anchor-link" id="bind-2.bind-3"><span class="tsd-kind-call-signature">bind</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">thisArg</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">Func</span><a href="#bind-2.bind-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Binds the given function to the current execution context.</p>
-<p>The returned function will have an <code>asyncResource</code> property referencing
-the <code>AsyncResource</code> to which the function is bound.</p>
<h3>Since</h3><p>v14.8.0, v12.19.0</p>
</div>
</div></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">thisArg</span>: <span class="tsd-signature-type tsd-kind-type-parameter">ThisArg</span></h5></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span>Â Â Â Â </span><span class="tsd-kind-property">asyncResource</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncResource</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Func</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="AbstractWorker.html">AbstractWorker</a>.<a href="AbstractWorker.html#bind-2">bind</a></p>
<ul>
-<li>Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:273</li></ul></aside></li></ul></section></section></div>
+<li>Defined in node_modules/.pnpm/@types+node@20.1.0/node_modules/@types/node/async_hooks.d.ts:277</li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#lastTaskTimestamp" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>last<wbr/>Task<wbr/>Timestamp</span></a></li>
<li><a href="#mainWorker" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>main<wbr/>Worker</span></a></li>
<li><a href="#opts" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>opts</span></a></li>
+<li><a href="#taskFunctions" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>task<wbr/>Functions</span></a></li>
<li><a href="#asyncId" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>async<wbr/>Id</span></a></li>
<li><a href="#bind" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a></li>
<li><a href="#checkAlive" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check<wbr/>Alive</span></a></li>
<li><a href="#getMainWorker" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Main<wbr/>Worker</span></a></li>
<li><a href="#handleError" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Error</span></a></li>
<li><a href="#messageListener" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>message<wbr/>Listener</span></a></li>
-<li><a href="#run" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run</span></a></li>
<li><a href="#runAsync" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Async</span></a></li>
<li><a href="#runInAsyncScope" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>In<wbr/>Async<wbr/>Scope</span></a></li>
+<li><a href="#runSync" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>run<wbr/>Sync</span></a></li>
<li><a href="#sendToMainWorker" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>send<wbr/>To<wbr/>Main<wbr/>Worker</span></a></li>
<li><a href="#triggerAsyncId" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>trigger<wbr/>Async<wbr/>Id</span></a></li>
<li><a href="#bind-2" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>bind</span></a></li></ul></div></details></div>
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">WorkerChoiceStrategyContext</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L24">src/pools/selection-strategies/worker-choice-strategy-context.ts:24</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L24">src/pools/selection-strategies/worker-choice-strategy-context.ts:24</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="WorkerChoiceStrategyContext.html#remove" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>remove</span></a>
<a href="WorkerChoiceStrategyContext.html#setOptions" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Options</span></a>
<a href="WorkerChoiceStrategyContext.html#setWorkerChoiceStrategy" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span></a>
+<a href="WorkerChoiceStrategyContext.html#update" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>update</span></a>
</div></section></div></details></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Constructors</h2>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="WorkerChoiceStrategyContext.html" class="tsd-signature-type tsd-kind-class">WorkerChoiceStrategyContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L41">src/pools/selection-strategies/worker-choice-strategy-context.ts:41</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L41">src/pools/selection-strategies/worker-choice-strategy-context.ts:41</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="workerChoiceStrategies" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker<wbr/>Choice<wbr/>Strategies</span><a href="#workerChoiceStrategies" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategies</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"ROUND_ROBIN"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_USED"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_BUSY"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"FAIR_SHARE"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"WEIGHTED_ROUND_ROBIN"</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/IWorkerChoiceStrategy.html" class="tsd-signature-type tsd-kind-interface">IWorkerChoiceStrategy</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L29">src/pools/selection-strategies/worker-choice-strategy-context.ts:29</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L29">src/pools/selection-strategies/worker-choice-strategy-context.ts:29</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="workerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>worker<wbr/>Choice<wbr/>Strategy</span><a href="#workerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"ROUND_ROBIN"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_USED"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_BUSY"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"FAIR_SHARE"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"WEIGHTED_ROUND_ROBIN"</span><span class="tsd-signature-symbol"> = WorkerChoiceStrategies.ROUND_ROBIN</span></div>
<div class="tsd-comment tsd-typography"><p>The worker choice strategy.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L43">src/pools/selection-strategies/worker-choice-strategy-context.ts:43</a></li></ul></aside></section></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L43">src/pools/selection-strategies/worker-choice-strategy-context.ts:43</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="execute" class="tsd-anchor"></a>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The key of the worker node.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L122">src/pools/selection-strategies/worker-choice-strategy-context.ts:122</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L135">src/pools/selection-strategies/worker-choice-strategy-context.ts:135</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getRequiredStatistics" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Required<wbr/>Statistics</span><a href="#getRequiredStatistics" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<h4 class="tsd-returns-title">Returns <a href="../interfaces/RequiredStatistics.html" class="tsd-signature-type tsd-kind-interface">RequiredStatistics</a></h4><p>The required statistics.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L95">src/pools/selection-strategies/worker-choice-strategy-context.ts:95</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L95">src/pools/selection-strategies/worker-choice-strategy-context.ts:95</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="remove.remove-1"><span class="tsd-kind-call-signature">remove</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerNodeKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#remove.remove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Removes a worker node key from the worker choice strategy in the context.</p>
+<div class="tsd-comment tsd-typography"><p>Removes the worker node key from the worker choice strategy in the context.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the removal is successful, <code>false</code> otherwise.</p>
<aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L136">src/pools/selection-strategies/worker-choice-strategy-context.ts:136</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L149">src/pools/selection-strategies/worker-choice-strategy-context.ts:149</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Options</span><a href="#setOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L149">src/pools/selection-strategies/worker-choice-strategy-context.ts:149</a></li></ul></aside></li></ul></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L162">src/pools/selection-strategies/worker-choice-strategy-context.ts:162</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setWorkerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><a href="#setWorkerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures">
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/worker-choice-strategy-context.ts#L108">src/pools/selection-strategies/worker-choice-strategy-context.ts:108</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L108">src/pools/selection-strategies/worker-choice-strategy-context.ts:108</a></li></ul></aside></li></ul></section>
+<section class="tsd-panel tsd-member"><a id="update" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<ul class="tsd-signatures">
+<li class="tsd-signature tsd-anchor-link" id="update.update-1"><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerNodeKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#update.update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Updates the worker node key in the worker choice strategy internals in the context.</p>
+</div>
+<div class="tsd-parameters">
+<h4 class="tsd-parameters-title">Parameters</h4>
+<ul class="tsd-parameter-list">
+<li>
+<h5><span class="tsd-kind-parameter">workerNodeKey</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the update is successful, <code>false</code> otherwise.</p>
+<aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/worker-choice-strategy-context.ts#L122">src/pools/selection-strategies/worker-choice-strategy-context.ts:122</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#getRequiredStatistics" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Required<wbr/>Statistics</span></a></li>
<li><a href="#remove" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>remove</span></a></li>
<li><a href="#setOptions" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Options</span></a></li>
-<li><a href="#setWorkerChoiceStrategy" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span></a></li></ul></div></details></div>
+<li><a href="#setWorkerChoiceStrategy" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
+<li><a href="#update" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>update</span></a></li></ul></div></details></div>
<div class="site-menu">
<nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>poolifier</span></a>
<ul class="tsd-small-nested-navigation">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Pool types.</p>
</div></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L21">src/pools/pool.ts:21</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L21">src/pools/pool.ts:21</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<div class="tsd-comment tsd-typography"><p>Dynamic pool type.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L29">src/pools/pool.ts:29</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L29">src/pools/pool.ts:29</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="FIXED" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>FIXED</span><a href="#FIXED" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">FIXED</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"fixed"</span></div>
<div class="tsd-comment tsd-typography"><p>Fixed pool type.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L25">src/pools/pool.ts:25</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L25">src/pools/pool.ts:25</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<a href="types/MessageHandler.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a>
<a href="types/OnlineHandler.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a>
<a href="types/PoolEvent.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a>
+<a href="types/TaskFunctions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a>
<a href="types/ThreadWorkerWithMessageChannel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a>
<a href="types/WorkerAsyncFunction.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a>
<a href="types/WorkerChoiceStrategy.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a>
<li><a href="types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">ClusterPoolOptions</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L11">src/pools/cluster/fixed.ts:11</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L11">src/pools/cluster/fixed.ts:11</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#enableEvents">enableEvents</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L99">src/pools/pool.ts:99</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L99">src/pools/pool.ts:99</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="enableTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>enable<wbr/>Tasks<wbr/>Queue</span><a href="#enableTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Tasks<wbr/>Queue</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#enableTasksQueue">enableTasksQueue</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L105">src/pools/pool.ts:105</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L105">src/pools/pool.ts:105</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="env" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>env</span><a href="#env" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">env</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span></div>
<h3>See</h3><p><a href="https://nodejs.org/api/cluster.html#cluster_cluster_fork_env">https://nodejs.org/api/cluster.html#cluster_cluster_fork_env</a></p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L18">src/pools/cluster/fixed.ts:18</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L18">src/pools/cluster/fixed.ts:18</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="errorHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>error<wbr/>Handler</span><a href="#errorHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">error<wbr/>Handler</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ErrorHandler.html" class="tsd-signature-type tsd-kind-type-alias">ErrorHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#errorHandler">errorHandler</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L75">src/pools/pool.ts:75</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L75">src/pools/pool.ts:75</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="exitHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>exit<wbr/>Handler</span><a href="#exitHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">exit<wbr/>Handler</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ExitHandler.html" class="tsd-signature-type tsd-kind-type-alias">ExitHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#exitHandler">exitHandler</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L83">src/pools/pool.ts:83</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L83">src/pools/pool.ts:83</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="messageHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>message<wbr/>Handler</span><a href="#messageHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">message<wbr/>Handler</span><span class="tsd-signature-symbol">?:</span> <a href="../types/MessageHandler.html" class="tsd-signature-type tsd-kind-type-alias">MessageHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#messageHandler">messageHandler</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L71">src/pools/pool.ts:71</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L71">src/pools/pool.ts:71</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="onlineHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>online<wbr/>Handler</span><a href="#onlineHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">online<wbr/>Handler</span><span class="tsd-signature-symbol">?:</span> <a href="../types/OnlineHandler.html" class="tsd-signature-type tsd-kind-type-alias">OnlineHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type ">Worker</span><span class="tsd-signature-symbol">></span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#onlineHandler">onlineHandler</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L79">src/pools/pool.ts:79</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L79">src/pools/pool.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="settings" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>settings</span><a href="#settings" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">settings</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type ">ClusterSettings</span></div>
<h3>See</h3><p><a href="https://nodejs.org/api/cluster.html#cluster_cluster_settings">https://nodejs.org/api/cluster.html#cluster_cluster_settings</a></p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/cluster/fixed.ts#L24">src/pools/cluster/fixed.ts:24</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/cluster/fixed.ts#L24">src/pools/cluster/fixed.ts:24</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="tasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>tasks<wbr/>Queue<wbr/>Options</span><a href="#tasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">tasks<wbr/>Queue<wbr/>Options</span><span class="tsd-signature-symbol">?:</span> <a href="TasksQueueOptions.html" class="tsd-signature-type tsd-kind-interface">TasksQueueOptions</a></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#tasksQueueOptions">tasksQueueOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L109">src/pools/pool.ts:109</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L109">src/pools/pool.ts:109</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="workerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>worker<wbr/>Choice<wbr/>Strategy</span><a href="#workerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"ROUND_ROBIN"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_USED"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_BUSY"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"FAIR_SHARE"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"WEIGHTED_ROUND_ROBIN"</span></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#workerChoiceStrategy">workerChoiceStrategy</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L89">src/pools/pool.ts:89</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L89">src/pools/pool.ts:89</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="workerChoiceStrategyOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#workerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><span class="tsd-signature-symbol">?:</span> <a href="WorkerChoiceStrategyOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerChoiceStrategyOptions</a></div>
</div><aside class="tsd-sources">
<p>Inherited from <a href="PoolOptions.html">PoolOptions</a>.<a href="PoolOptions.html#workerChoiceStrategyOptions">workerChoiceStrategyOptions</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L93">src/pools/pool.ts:93</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L93">src/pools/pool.ts:93</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><a href="../classes/AbstractPool.html" class="tsd-signature-type tsd-kind-class">AbstractPool</a></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L119">src/pools/pool.ts:119</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L119">src/pools/pool.ts:119</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="IPool.html#setTasksQueueOptions" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span></a>
<a href="IPool.html#setWorkerChoiceStrategy" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span></a>
<a href="IPool.html#setWorkerChoiceStrategyOptions" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span></a>
+<a href="IPool.html#size" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>size</span></a>
<a href="IPool.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>type</span></a>
<a href="IPool.html#workerNodes" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>worker<wbr/>Nodes</span></a>
</div></section></div></details></section></section>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L153">src/pools/pool.ts:153</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L158">src/pools/pool.ts:158</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="emitter" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>emitter</span><a href="#emitter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">emitter</span><span class="tsd-signature-symbol">?:</span> <a href="../classes/PoolEmitter.html" class="tsd-signature-type tsd-kind-class">PoolEmitter</a></div>
</ul>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L142">src/pools/pool.ts:142</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L146">src/pools/pool.ts:146</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="enableTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>enable<wbr/>Tasks<wbr/>Queue</span><a href="#enableTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Tasks<wbr/>Queue</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span>, <span class="tsd-kind-parameter">tasksQueueOptions</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L178">src/pools/pool.ts:178</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L183">src/pools/pool.ts:183</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="execute" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>execute</span><a href="#execute" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
-<div class="tsd-signature"><span class="tsd-kind-property">execute</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></div>
+<div class="tsd-signature"><span class="tsd-kind-property">execute</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></div>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
-<li class="tsd-signature" id="execute.__type-4.__type-5"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></li>
+<li class="tsd-signature" id="execute.__type-4.__type-5"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Executes the function specified in the worker constructor with the task data input parameter.</p>
</div>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Data</span></h5>
<div class="tsd-comment tsd-typography"><p>The task input data for the specified worker function. This can only be serializable data.</p>
+</div></li>
+<li>
+<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5>
+<div class="tsd-comment tsd-typography"><p>The name of the worker function to execute. If not specified, the default worker function will be executed.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4><p>Promise that will be fulfilled when the task is completed.</p>
</li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L149">src/pools/pool.ts:149</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L154">src/pools/pool.ts:154</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="setTasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><a href="#setTasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tasksQueueOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L187">src/pools/pool.ts:187</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L192">src/pools/pool.ts:192</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="setWorkerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><a href="#setWorkerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerChoiceStrategy</span>, <span class="tsd-kind-parameter">workerChoiceStrategyOptions</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L160">src/pools/pool.ts:160</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L165">src/pools/pool.ts:165</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="setWorkerChoiceStrategyOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#setWorkerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerChoiceStrategyOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L169">src/pools/pool.ts:169</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L174">src/pools/pool.ts:174</a></li></ul></aside></section>
+<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<div class="tsd-signature"><span class="tsd-kind-property">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
+<div class="tsd-comment tsd-typography"><p>Pool maximum size.</p>
+</div><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L133">src/pools/pool.ts:133</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/PoolType.html" class="tsd-signature-type tsd-kind-enum">PoolType</a></div>
<p>If it is <code>'dynamic'</code>, it provides the <code>max</code> property.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L129">src/pools/pool.ts:129</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L129">src/pools/pool.ts:129</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="workerNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker<wbr/>Nodes</span><a href="#workerNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Nodes</span><span class="tsd-signature-symbol">:</span> <a href="WorkerNode.html" class="tsd-signature-type tsd-kind-interface">WorkerNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span></div>
<div class="tsd-comment tsd-typography"><p>Pool worker nodes.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L133">src/pools/pool.ts:133</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L137">src/pools/pool.ts:137</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#setTasksQueueOptions" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Tasks<wbr/>Queue<wbr/>Options</span></a></li>
<li><a href="#setWorkerChoiceStrategy" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<li><a href="#setWorkerChoiceStrategyOptions" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span></a></li>
+<li><a href="#size" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>size</span></a></li>
<li><a href="#type" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>type</span></a></li>
<li><a href="#workerNodes" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>worker<wbr/>Nodes</span></a></li></ul></div></details></div>
<div class="site-menu">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">IWorker</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L89">src/pools/worker.ts:89</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L93">src/pools/worker.ts:93</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<h3>Param</h3><p>The event handler.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L96">src/pools/worker.ts:96</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L100">src/pools/worker.ts:100</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="once" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>once</span><a href="#once" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">once</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">handler</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L106">src/pools/worker.ts:106</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L110">src/pools/worker.ts:110</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">IWorkerChoiceStrategy</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L67">src/pools/selection-strategies/selection-strategies-types.ts:67</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L74">src/pools/selection-strategies/selection-strategies-types.ts:74</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="IWorkerChoiceStrategy.html#requiredStatistics" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>required<wbr/>Statistics</span></a>
<a href="IWorkerChoiceStrategy.html#reset" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>reset</span></a>
<a href="IWorkerChoiceStrategy.html#setOptions" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Options</span></a>
+<a href="IWorkerChoiceStrategy.html#update" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>update</span></a>
</div></section></div></details></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Chooses a worker node in the pool and returns its key.</p>
</div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The worker node key.</p>
+</li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L79">src/pools/selection-strategies/selection-strategies-types.ts:79</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L96">src/pools/selection-strategies/selection-strategies-types.ts:96</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">remove</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerNodeKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></div>
<ul class="tsd-signatures">
<li class="tsd-signature" id="remove.__type-2.__type-3"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerNodeKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Removes a worker node key from strategy internals.</p>
+<div class="tsd-comment tsd-typography"><p>Removes the worker node key from strategy internals.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<h5><span class="tsd-kind-parameter">workerNodeKey</span>: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>The worker node key.</p>
</div></li></ul></div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the worker node key is removed, <code>false</code> otherwise.</p>
+</li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L85">src/pools/selection-strategies/selection-strategies-types.ts:85</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L103">src/pools/selection-strategies/selection-strategies-types.ts:103</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="requiredStatistics" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>required<wbr/>Statistics</span><a href="#requiredStatistics" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">required<wbr/>Statistics</span><span class="tsd-signature-symbol">:</span> <a href="RequiredStatistics.html" class="tsd-signature-type tsd-kind-interface">RequiredStatistics</a></div>
<div class="tsd-comment tsd-typography"><p>Required tasks usage statistics.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L71">src/pools/selection-strategies/selection-strategies-types.ts:71</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L78">src/pools/selection-strategies/selection-strategies-types.ts:78</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="reset" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">reset</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></div>
<ul class="tsd-signatures">
<li class="tsd-signature" id="reset.__type-4.__type-5"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-description">
-<div class="tsd-comment tsd-typography"><p>Resets strategy internals (counters, statistics, etc.).</p>
+<div class="tsd-comment tsd-typography"><p>Resets strategy internals.</p>
</div>
-<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the reset is successful, <code>false</code> otherwise.</p>
+</li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L75">src/pools/selection-strategies/selection-strategies-types.ts:75</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L84">src/pools/selection-strategies/selection-strategies-types.ts:84</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="setOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Options</span><a href="#setOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">set<wbr/>Options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L91">src/pools/selection-strategies/selection-strategies-types.ts:91</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L109">src/pools/selection-strategies/selection-strategies-types.ts:109</a></li></ul></aside></section>
+<section class="tsd-panel tsd-member"><a id="update" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<div class="tsd-signature"><span class="tsd-kind-property">update</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerNodeKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></div>
+<div class="tsd-type-declaration">
+<h4>Type declaration</h4>
+<ul class="tsd-parameters">
+<li class="tsd-parameter-signature">
+<ul class="tsd-signatures">
+<li class="tsd-signature" id="update.__type-8.__type-9"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">workerNodeKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
+<li class="tsd-description">
+<div class="tsd-comment tsd-typography"><p>Updates the worker node key strategy internals.</p>
+</div>
+<div class="tsd-parameters">
+<h4 class="tsd-parameters-title">Parameters</h4>
+<ul class="tsd-parameter-list">
+<li>
+<h5><span class="tsd-kind-parameter">workerNodeKey</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
+<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the update is successful, <code>false</code> otherwise.</p>
+</li></ul></li></ul></div><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L90">src/pools/selection-strategies/selection-strategies-types.ts:90</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#remove" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>remove</span></a></li>
<li><a href="#requiredStatistics" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>required<wbr/>Statistics</span></a></li>
<li><a href="#reset" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>reset</span></a></li>
-<li><a href="#setOptions" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Options</span></a></li></ul></div></details></div>
+<li><a href="#setOptions" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>set<wbr/>Options</span></a></li>
+<li><a href="#update" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>update</span></a></li></ul></div></details></div>
<div class="site-menu">
<nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>poolifier</span></a>
<ul class="tsd-small-nested-navigation">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Type of data sent to the worker. This can only be serializable data.</p>
</div></li>
<li>
-<h4><span class="tsd-kind-type-parameter">MainWorker</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type ">ClusterWorker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">unknown</span> = <span class="tsd-signature-type">unknown</span></h4>
+<h4><span class="tsd-kind-type-parameter">MainWorker</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type ">ClusterWorker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span> = <span class="tsd-signature-type ">ClusterWorker</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">MessagePort</span></h4>
<div class="tsd-comment tsd-typography"><p>Type of main worker.</p>
</div></li></ul></section>
<section class="tsd-panel tsd-hierarchy">
<ul class="tsd-hierarchy">
<li><span class="target">MessageValue</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L20">src/utility-types.ts:20</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L20">src/utility-types.ts:20</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<a href="MessageValue.html#error" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>error?</span></a>
<a href="MessageValue.html#id" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>id?</span></a>
<a href="MessageValue.html#kill" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>kill?</span></a>
+<a href="MessageValue.html#name" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>name?</span></a>
<a href="MessageValue.html#parent" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>parent?</span></a>
<a href="MessageValue.html#runTime" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>run<wbr/>Time?</span></a>
</div></section></div></details></section></section>
</div><aside class="tsd-sources">
<p>Inherited from <a href="Task.html">Task</a>.<a href="Task.html#data">data</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L43">src/pools/worker.ts:43</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L47">src/pools/worker.ts:47</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="error" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>error</span><a href="#error" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">error</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>Error.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L31">src/utility-types.ts:31</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L31">src/utility-types.ts:31</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
-<div class="tsd-comment tsd-typography"><p>UUID of the message.</p>
+<div class="tsd-comment tsd-typography"><p>Message UUID.</p>
</div><aside class="tsd-sources">
<p>Inherited from <a href="Task.html">Task</a>.<a href="Task.html#id">id</a></p>
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L47">src/pools/worker.ts:47</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L51">src/pools/worker.ts:51</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="kill" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>kill</span><a href="#kill" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">kill</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SOFT"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"HARD"</span></div>
<div class="tsd-comment tsd-typography"><p>Kill code.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L27">src/utility-types.ts:27</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L27">src/utility-types.ts:27</a></li></ul></aside></section>
+<section class="tsd-panel tsd-member tsd-is-inherited"><a id="name" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
+<div class="tsd-comment tsd-typography"><p>Task name.</p>
+</div><aside class="tsd-sources">
+<p>Inherited from <a href="Task.html">Task</a>.<a href="Task.html#name">name</a></p>
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L43">src/pools/worker.ts:43</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="parent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>parent</span><a href="#parent" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">parent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type tsd-kind-type-parameter">MainWorker</span></div>
<div class="tsd-comment tsd-typography"><p>Reference to main worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L39">src/utility-types.ts:39</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L39">src/utility-types.ts:39</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="runTime" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>run<wbr/>Time</span><a href="#runTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">run<wbr/>Time</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Runtime.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L35">src/utility-types.ts:35</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L35">src/utility-types.ts:35</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="#error" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>error</span></a></li>
<li><a href="#id" class="tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>id</span></a></li>
<li><a href="#kill" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>kill</span></a></li>
+<li><a href="#name" class="tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>name</span></a></li>
<li><a href="#parent" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>parent</span></a></li>
<li><a href="#runTime" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>run<wbr/>Time</span></a></li></ul></div></details></div>
<div class="site-menu">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><a href="ClusterPoolOptions.html" class="tsd-signature-type tsd-kind-interface">ClusterPoolOptions</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L67">src/pools/pool.ts:67</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L67">src/pools/pool.ts:67</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<h3>Default Value</h3><p>true</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L99">src/pools/pool.ts:99</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L99">src/pools/pool.ts:99</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="enableTasksQueue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>enable<wbr/>Tasks<wbr/>Queue</span><a href="#enableTasksQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Tasks<wbr/>Queue</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
<h3>Default Value</h3><p>false</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L105">src/pools/pool.ts:105</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L105">src/pools/pool.ts:105</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="errorHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>error<wbr/>Handler</span><a href="#errorHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">error<wbr/>Handler</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ErrorHandler.html" class="tsd-signature-type tsd-kind-type-alias">ErrorHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">></span></div>
<div class="tsd-comment tsd-typography"><p>A function that will listen for error event on each worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L75">src/pools/pool.ts:75</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L75">src/pools/pool.ts:75</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="exitHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>exit<wbr/>Handler</span><a href="#exitHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">exit<wbr/>Handler</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ExitHandler.html" class="tsd-signature-type tsd-kind-type-alias">ExitHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">></span></div>
<div class="tsd-comment tsd-typography"><p>A function that will listen for exit event on each worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L83">src/pools/pool.ts:83</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L83">src/pools/pool.ts:83</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="messageHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>message<wbr/>Handler</span><a href="#messageHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">message<wbr/>Handler</span><span class="tsd-signature-symbol">?:</span> <a href="../types/MessageHandler.html" class="tsd-signature-type tsd-kind-type-alias">MessageHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">></span></div>
<div class="tsd-comment tsd-typography"><p>A function that will listen for message event on each worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L71">src/pools/pool.ts:71</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L71">src/pools/pool.ts:71</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="onlineHandler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>online<wbr/>Handler</span><a href="#onlineHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">online<wbr/>Handler</span><span class="tsd-signature-symbol">?:</span> <a href="../types/OnlineHandler.html" class="tsd-signature-type tsd-kind-type-alias">OnlineHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Worker</span><span class="tsd-signature-symbol">></span></div>
<div class="tsd-comment tsd-typography"><p>A function that will listen for online event on each worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L79">src/pools/pool.ts:79</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L79">src/pools/pool.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="tasksQueueOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>tasks<wbr/>Queue<wbr/>Options</span><a href="#tasksQueueOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">tasks<wbr/>Queue<wbr/>Options</span><span class="tsd-signature-symbol">?:</span> <a href="TasksQueueOptions.html" class="tsd-signature-type tsd-kind-interface">TasksQueueOptions</a></div>
<div class="tsd-comment tsd-typography"><p>Pool worker tasks queue options.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L109">src/pools/pool.ts:109</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L109">src/pools/pool.ts:109</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="workerChoiceStrategy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>worker<wbr/>Choice<wbr/>Strategy</span><a href="#workerChoiceStrategy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"ROUND_ROBIN"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_USED"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"LESS_BUSY"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"FAIR_SHARE"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"WEIGHTED_ROUND_ROBIN"</span></div>
<h3>Default Value</h3><p>WorkerChoiceStrategies.ROUND_ROBIN</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L89">src/pools/pool.ts:89</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L89">src/pools/pool.ts:89</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="workerChoiceStrategyOptions" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><a href="#workerChoiceStrategyOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span><span class="tsd-signature-symbol">?:</span> <a href="WorkerChoiceStrategyOptions.html" class="tsd-signature-type tsd-kind-interface">WorkerChoiceStrategyOptions</a></div>
<div class="tsd-comment tsd-typography"><p>The worker choice strategy options.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L93">src/pools/pool.ts:93</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L93">src/pools/pool.ts:93</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">PromiseResponseWrapper</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L79">src/utility-types.ts:79</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L95">src/utility-types.ts:95</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">reason</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L90">src/utility-types.ts:90</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L106">src/utility-types.ts:106</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="resolve" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>resolve</span><a href="#resolve" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">resolve</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Response</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L86">src/utility-types.ts:86</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L102">src/utility-types.ts:102</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="worker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker</span><a href="#worker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">Worker</span></div>
<div class="tsd-comment tsd-typography"><p>The worker handling the execution.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L94">src/utility-types.ts:94</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L110">src/utility-types.ts:110</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">RequiredStatistics</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L49">src/pools/selection-strategies/selection-strategies-types.ts:49</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L56">src/pools/selection-strategies/selection-strategies-types.ts:56</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<div class="tsd-comment tsd-typography"><p>Require tasks average run time.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L57">src/pools/selection-strategies/selection-strategies-types.ts:57</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L64">src/pools/selection-strategies/selection-strategies-types.ts:64</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="medRunTime" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>med<wbr/>Run<wbr/>Time</span><a href="#medRunTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">med<wbr/>Run<wbr/>Time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<div class="tsd-comment tsd-typography"><p>Require tasks median run time.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L61">src/pools/selection-strategies/selection-strategies-types.ts:61</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L68">src/pools/selection-strategies/selection-strategies-types.ts:68</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="runTime" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>run<wbr/>Time</span><a href="#runTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">run<wbr/>Time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<div class="tsd-comment tsd-typography"><p>Require tasks run time.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L53">src/pools/selection-strategies/selection-strategies-types.ts:53</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L60">src/pools/selection-strategies/selection-strategies-types.ts:60</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><a href="MessageValue.html" class="tsd-signature-type tsd-kind-interface">MessageValue</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L39">src/pools/worker.ts:39</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L39">src/pools/worker.ts:39</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<h3 class="tsd-index-heading">Properties</h3>
<div class="tsd-index-list"><a href="Task.html#data" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>data?</span></a>
<a href="Task.html#id" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>id?</span></a>
+<a href="Task.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>name?</span></a>
</div></section></div></details></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<div class="tsd-comment tsd-typography"><p>Task input data that will be passed to the worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L43">src/pools/worker.ts:43</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L47">src/pools/worker.ts:47</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
-<div class="tsd-comment tsd-typography"><p>UUID of the message.</p>
+<div class="tsd-comment tsd-typography"><p>Message UUID.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L47">src/pools/worker.ts:47</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L51">src/pools/worker.ts:51</a></li></ul></aside></section>
+<section class="tsd-panel tsd-member"><a id="name" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
+<div class="tsd-comment tsd-typography"><p>Task name.</p>
+</div><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L43">src/pools/worker.ts:43</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<div class="tsd-accordion-details">
<ul>
<li><a href="#data" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>data</span></a></li>
-<li><a href="#id" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>id</span></a></li></ul></div></details></div>
+<li><a href="#id" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>id</span></a></li>
+<li><a href="#name" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>name</span></a></li></ul></div></details></div>
<div class="site-menu">
<nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>poolifier</span></a>
<ul class="tsd-small-nested-navigation">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">TasksQueueOptions</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L53">src/pools/pool.ts:53</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L53">src/pools/pool.ts:53</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<h3>Default Value</h3><p>1</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L59">src/pools/pool.ts:59</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L59">src/pools/pool.ts:59</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">TasksUsage</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L55">src/pools/worker.ts:55</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L59">src/pools/worker.ts:59</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<div class="tsd-comment tsd-typography"><p>Average tasks runtime.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L75">src/pools/worker.ts:75</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L79">src/pools/worker.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="error" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>error</span><a href="#error" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Number of tasks errored.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L83">src/pools/worker.ts:83</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L87">src/pools/worker.ts:87</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="medRunTime" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>med<wbr/>Run<wbr/>Time</span><a href="#medRunTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">med<wbr/>Run<wbr/>Time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Median tasks runtime.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L79">src/pools/worker.ts:79</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L83">src/pools/worker.ts:83</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="run" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>run</span><a href="#run" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">run</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Number of tasks executed.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L59">src/pools/worker.ts:59</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L63">src/pools/worker.ts:63</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="runTime" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>run<wbr/>Time</span><a href="#runTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">run<wbr/>Time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Tasks runtime.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L67">src/pools/worker.ts:67</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L71">src/pools/worker.ts:71</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="runTimeHistory" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>run<wbr/>Time<wbr/>History</span><a href="#runTimeHistory" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">run<wbr/>Time<wbr/>History</span><span class="tsd-signature-symbol">:</span> <a href="../classes/CircularArray.html" class="tsd-signature-type tsd-kind-class">CircularArray</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></div>
<div class="tsd-comment tsd-typography"><p>Tasks runtime history.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L71">src/pools/worker.ts:71</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L75">src/pools/worker.ts:75</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="running" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>running</span><a href="#running" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">running</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Number of tasks running.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L63">src/pools/worker.ts:63</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L67">src/pools/worker.ts:67</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">WorkerChoiceStrategyOptions</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L35">src/pools/selection-strategies/selection-strategies-types.ts:35</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L35">src/pools/selection-strategies/selection-strategies-types.ts:35</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Properties</h3>
<div class="tsd-index-list"><a href="WorkerChoiceStrategyOptions.html#medRunTime" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>med<wbr/>Run<wbr/>Time?</span></a>
+<a href="WorkerChoiceStrategyOptions.html#weights" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>weights?</span></a>
</div></section></div></details></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<h3>Default Value</h3><p>false</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L41">src/pools/selection-strategies/selection-strategies-types.ts:41</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L41">src/pools/selection-strategies/selection-strategies-types.ts:41</a></li></ul></aside></section>
+<section class="tsd-panel tsd-member"><a id="weights" class="tsd-anchor"></a>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>weights</span><a href="#weights" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
+<div class="tsd-signature"><span class="tsd-kind-property">weights</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type ">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></div>
+<div class="tsd-comment tsd-typography"><p>Worker weights to use for weighted round robin worker selection strategy.
+Weight is the tasks maximum average or median runtime in milliseconds.</p>
+
+<h3>Default Value</h3><p>Computed worker weights automatically given the CPU performance.</p>
+</div><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L48">src/pools/selection-strategies/selection-strategies-types.ts:48</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>On This Page</h3></summary>
<div class="tsd-accordion-details">
<ul>
-<li><a href="#medRunTime" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>med<wbr/>Run<wbr/>Time</span></a></li></ul></div></details></div>
+<li><a href="#medRunTime" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>med<wbr/>Run<wbr/>Time</span></a></li>
+<li><a href="#weights" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>weights</span></a></li></ul></div></details></div>
<div class="site-menu">
<nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>poolifier</span></a>
<ul class="tsd-small-nested-navigation">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">WorkerNode</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L116">src/pools/worker.ts:116</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L120">src/pools/worker.ts:120</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<div class="tsd-comment tsd-typography"><p>Worker node tasks queue.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L128">src/pools/worker.ts:128</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L132">src/pools/worker.ts:132</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="tasksUsage" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>tasks<wbr/>Usage</span><a href="#tasksUsage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">tasks<wbr/>Usage</span><span class="tsd-signature-symbol">:</span> <a href="TasksUsage.html" class="tsd-signature-type tsd-kind-interface">TasksUsage</a></div>
<div class="tsd-comment tsd-typography"><p>Worker node tasks usage statistics.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L124">src/pools/worker.ts:124</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L128">src/pools/worker.ts:128</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="worker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>worker</span><a href="#worker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">worker</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">Worker</span></div>
<div class="tsd-comment tsd-typography"><p>Worker node worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L120">src/pools/worker.ts:120</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L124">src/pools/worker.ts:124</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<ul class="tsd-hierarchy">
<li><span class="target">WorkerOptions</span></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/worker-options.ts#L38">src/worker/worker-options.ts:38</a></li></ul></aside>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/worker-options.ts#L38">src/worker/worker-options.ts:38</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
<div class="tsd-accordion-details">
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Properties</h3>
-<div class="tsd-index-list"><a href="WorkerOptions.html#async" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>async?</span></a>
+<div class="tsd-index-list"><a href="WorkerOptions.html#async" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>async?</span></a>
<a href="WorkerOptions.html#killBehavior" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>kill<wbr/>Behavior?</span></a>
<a href="WorkerOptions.html#maxInactiveTime" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>max<wbr/>Inactive<wbr/>Time?</span></a>
</div></section></div></details></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="async" class="tsd-anchor"></a>
-<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>async</span><a href="#async" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
+<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span class="deprecated">async</span><a href="#async" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">async</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
<div class="tsd-comment tsd-typography"><p>Whether your worker will perform asynchronous or not.</p>
<h3>Default Value</h3><p>false</p>
+
+<h3>Deprecated</h3><p>This option will be removed in the next major version.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/worker-options.ts#L57">src/worker/worker-options.ts:57</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/worker-options.ts#L58">src/worker/worker-options.ts:58</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="killBehavior" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>kill<wbr/>Behavior</span><a href="#killBehavior" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">kill<wbr/>Behavior</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"SOFT"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"HARD"</span></div>
<h3>Default Value</h3><p>KillBehaviors.SOFT</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/worker-options.ts#L68">src/worker/worker-options.ts:68</a></li></ul></aside></section>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/worker-options.ts#L69">src/worker/worker-options.ts:69</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="maxInactiveTime" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>max<wbr/>Inactive<wbr/>Time</span><a href="#maxInactiveTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">max<wbr/>Inactive<wbr/>Time</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
<h3>Default Value</h3><p>60000</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/worker-options.ts#L51">src/worker/worker-options.ts:51</a></li></ul></aside></section></section></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/worker-options.ts#L51">src/worker/worker-options.ts:51</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Type in which properties will be non-readonly.</p>
</div></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L11">src/utility-types.ts:11</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L11">src/utility-types.ts:11</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<h5><span class="tsd-kind-parameter">e</span>: <span class="tsd-signature-type ">Error</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L15">src/pools/worker.ts:15</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L15">src/pools/worker.ts:15</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<h5><span class="tsd-kind-parameter">code</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L28">src/pools/worker.ts:28</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L28">src/pools/worker.ts:28</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Kill behavior.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/worker-options.ts#L18">src/worker/worker-options.ts:18</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/worker-options.ts#L18">src/worker/worker-options.ts:18</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<h5><span class="tsd-kind-parameter">m</span>: <span class="tsd-signature-type">unknown</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L7">src/pools/worker.ts:7</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L7">src/pools/worker.ts:7</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<h5><span class="tsd-kind-parameter">this</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Worker</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/worker.ts#L23">src/pools/worker.ts:23</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/worker.ts#L23">src/pools/worker.ts:23</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Pool event.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L48">src/pools/pool.ts:48</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L48">src/pools/pool.ts:48</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
--- /dev/null
+<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TaskFunctions | poolifier</title><meta name="description" content="Documentation for poolifier"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
+<div class="tsd-toolbar-contents container">
+<div class="table-cell" id="tsd-search" data-base="..">
+<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
+<div class="field">
+<div id="tsd-toolbar-links"></div></div>
+<ul class="results">
+<li class="state loading">Preparing search index...</li>
+<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">poolifier</a></div>
+<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
+<div class="container container-main">
+<div class="col-content">
+<div class="tsd-page-title">
+<ul class="tsd-breadcrumb">
+<li><a href="../index.html">poolifier</a></li>
+<li><a href="TaskFunctions.html">TaskFunctions</a></li></ul>
+<h1>Type alias TaskFunctions<Data, Response></h1></div>
+<div class="tsd-signature"><span class="tsd-kind-type-alias">Task<wbr/>Functions</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="WorkerFunction.html" class="tsd-signature-type tsd-kind-type-alias">WorkerFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Data</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div>
+<div class="tsd-comment tsd-typography"><p>Worker functions that can be executed.
+This object can contain synchronous or asynchronous functions.
+The key is the name of the function.
+The value is the function itself.</p>
+</div>
+<section class="tsd-panel">
+<h4>Type Parameters</h4>
+<ul class="tsd-type-parameter-list">
+<li>
+<h4><span class="tsd-kind-type-parameter">Data</span> = <span class="tsd-signature-type">unknown</span></h4>
+<div class="tsd-comment tsd-typography"><p>Type of data sent to the worker. This can only be serializable data.</p>
+</div></li>
+<li>
+<h4><span class="tsd-kind-type-parameter">Response</span> = <span class="tsd-signature-type">unknown</span></h4>
+<div class="tsd-comment tsd-typography"><p>Type of execution response. This can only be serializable data.</p>
+</div></li></ul></section><aside class="tsd-sources">
+<ul>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L83">src/utility-types.ts:83</a></li></ul></aside></div>
+<div class="col-sidebar">
+<div class="page-menu">
+<div class="tsd-navigation settings">
+<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
+<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>Settings</h3></summary>
+<div class="tsd-accordion-details">
+<div class="tsd-filter-visibility">
+<h4 class="uppercase">Member Visibility</h4><form>
+<ul id="tsd-filter-options">
+<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
+<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
+<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
+<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
+<div class="tsd-theme-toggle">
+<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
+<div class="site-menu">
+<nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>poolifier</span></a>
+<ul class="tsd-small-nested-navigation">
+<li><a href="../enums/PoolType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Pool<wbr/>Type</span></a></li>
+<li><a href="../classes/AbstractPool.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Abstract<wbr/>Pool</span></a></li>
+<li><a href="../classes/AbstractWorker.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Abstract<wbr/>Worker</span></a></li>
+<li><a href="../classes/CircularArray.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Circular<wbr/>Array</span></a></li>
+<li><a href="../classes/ClusterWorker.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Cluster<wbr/>Worker</span></a></li>
+<li><a href="../classes/DynamicClusterPool.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Dynamic<wbr/>Cluster<wbr/>Pool</span></a></li>
+<li><a href="../classes/DynamicThreadPool.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Dynamic<wbr/>Thread<wbr/>Pool</span></a></li>
+<li><a href="../classes/FixedClusterPool.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Fixed<wbr/>Cluster<wbr/>Pool</span></a></li>
+<li><a href="../classes/FixedThreadPool.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Fixed<wbr/>Thread<wbr/>Pool</span></a></li>
+<li><a href="../classes/PoolEmitter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Pool<wbr/>Emitter</span></a></li>
+<li><a href="../classes/Queue.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Queue</span></a></li>
+<li><a href="../classes/ThreadWorker.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Thread<wbr/>Worker</span></a></li>
+<li><a href="../classes/WorkerChoiceStrategyContext.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Context</span></a></li>
+<li><a href="../interfaces/ClusterPoolOptions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Cluster<wbr/>Pool<wbr/>Options</span></a></li>
+<li><a href="../interfaces/IPool.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>IPool</span></a></li>
+<li><a href="../interfaces/IWorker.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>IWorker</span></a></li>
+<li><a href="../interfaces/IWorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>IWorker<wbr/>Choice<wbr/>Strategy</span></a></li>
+<li><a href="../interfaces/MessageValue.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Message<wbr/>Value</span></a></li>
+<li><a href="../interfaces/PoolOptions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Pool<wbr/>Options</span></a></li>
+<li><a href="../interfaces/PromiseResponseWrapper.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Promise<wbr/>Response<wbr/>Wrapper</span></a></li>
+<li><a href="../interfaces/RequiredStatistics.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Required<wbr/>Statistics</span></a></li>
+<li><a href="../interfaces/Task.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Task</span></a></li>
+<li><a href="../interfaces/TasksQueueOptions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Tasks<wbr/>Queue<wbr/>Options</span></a></li>
+<li><a href="../interfaces/TasksUsage.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Tasks<wbr/>Usage</span></a></li>
+<li><a href="../interfaces/WorkerChoiceStrategyOptions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy<wbr/>Options</span></a></li>
+<li><a href="../interfaces/WorkerNode.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Worker<wbr/>Node</span></a></li>
+<li><a href="../interfaces/WorkerOptions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Worker<wbr/>Options</span></a></li>
+<li><a href="Draft.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg><span>Draft</span></a></li>
+<li><a href="ErrorHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Error<wbr/>Handler</span></a></li>
+<li><a href="ExitHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Exit<wbr/>Handler</span></a></li>
+<li><a href="KillBehavior.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Kill<wbr/>Behavior</span></a></li>
+<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
+<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
+<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
+<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
+<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
+<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
+<li><a href="WorkerFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Function</span></a></li>
+<li><a href="WorkerSyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Sync<wbr/>Function</span></a></li>
+<li><a href="../variables/KillBehaviors.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg><span>Kill<wbr/>Behaviors</span></a></li>
+<li><a href="../variables/PoolEvents.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg><span>Pool<wbr/>Events</span></a></li>
+<li><a href="../variables/WorkerChoiceStrategies.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategies</span></a></li></ul></nav></div></div></div>
+<div class="tsd-generator">
+<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
+<div class="overlay"></div></body></html>
\ No newline at end of file
<div class="tsd-comment tsd-typography"><p>A thread worker with message channels for communication between main thread and thread worker.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/thread/fixed.ts#L15">src/pools/thread/fixed.ts:15</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/thread/fixed.ts#L15">src/pools/thread/fixed.ts:15</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Data</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">Response</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L58">src/utility-types.ts:58</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L59">src/utility-types.ts:59</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Worker choice strategy.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L30">src/pools/selection-strategies/selection-strategies-types.ts:30</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L30">src/pools/selection-strategies/selection-strategies-types.ts:30</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Type of execution response. This can only be serializable data.</p>
</div></li></ul></section><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L68">src/utility-types.ts:68</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L70">src/utility-types.ts:70</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">Data</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">Response</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/utility-types.ts#L48">src/utility-types.ts:48</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/utility-types.ts#L48">src/utility-types.ts:48</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Enumeration of kill behaviors.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/worker/worker-options.ts#L4">src/worker/worker-options.ts:4</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/worker/worker-options.ts#L4">src/worker/worker-options.ts:4</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Enumeration of pool events.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/pool.ts#L40">src/pools/pool.ts:40</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/pool.ts#L40">src/pools/pool.ts:40</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>
<div class="tsd-comment tsd-typography"><p>Enumeration of worker choice strategies.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/bf4dcb9/src/pools/selection-strategies/selection-strategies-types.ts#L4">src/pools/selection-strategies/selection-strategies-types.ts:4</a></li></ul></aside></div>
+<li>Defined in <a href="https://github.com/poolifier/poolifier/blob/c7e196b/src/pools/selection-strategies/selection-strategies-types.ts#L4">src/pools/selection-strategies/selection-strategies-types.ts:4</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
<li><a href="../types/MessageHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Message<wbr/>Handler</span></a></li>
<li><a href="../types/OnlineHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Online<wbr/>Handler</span></a></li>
<li><a href="../types/PoolEvent.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pool<wbr/>Event</span></a></li>
+<li><a href="../types/TaskFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Task<wbr/>Functions</span></a></li>
<li><a href="../types/ThreadWorkerWithMessageChannel.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Thread<wbr/>Worker<wbr/>With<wbr/>Message<wbr/>Channel</span></a></li>
<li><a href="../types/WorkerAsyncFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Async<wbr/>Function</span></a></li>
<li><a href="../types/WorkerChoiceStrategy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Worker<wbr/>Choice<wbr/>Strategy</span></a></li>