From 15d6dfaf877ec6a99e2bde48cb3c8a9e8671c075 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 5 Jun 2023 22:00:59 +0000 Subject: [PATCH] chore: generate documentation --- docs/assets/search.js | 2 +- docs/classes/AbstractPool.html | 836 ++++++++++-------- docs/classes/AbstractWorker.html | 458 +++++----- docs/classes/CircularArray.html | 770 +++++++++------- docs/classes/ClusterWorker.html | 408 +++++---- docs/classes/DynamicClusterPool.html | 599 +++++++------ docs/classes/DynamicThreadPool.html | 599 +++++++------ docs/classes/FixedClusterPool.html | 585 ++++++------ docs/classes/FixedThreadPool.html | 585 ++++++------ docs/classes/PoolEmitter.html | 497 ++++++----- docs/classes/Queue.html | 214 ++--- docs/classes/ThreadWorker.html | 408 +++++---- docs/classes/WorkerChoiceStrategyContext.html | 246 +++--- docs/index.html | 192 ++-- docs/interfaces/ClusterPoolOptions.html | 247 +++--- docs/interfaces/IPool.html | 237 ++--- docs/interfaces/IWorker.html | 197 +++-- docs/interfaces/IWorkerChoiceStrategy.html | 177 ++-- docs/interfaces/MessageValue.html | 221 ++--- docs/interfaces/PoolInfo.html | 185 ++-- docs/interfaces/PoolOptions.html | 224 ++--- docs/interfaces/PromiseResponseWrapper.html | 144 +-- docs/interfaces/RequiredStatistics.html | 171 ++-- docs/interfaces/Task.html | 152 ++-- docs/interfaces/TasksQueueOptions.html | 118 +-- docs/interfaces/TasksUsage.html | 230 ++--- .../WorkerChoiceStrategyOptions.html | 144 +-- docs/interfaces/WorkerNode.html | 144 +-- docs/interfaces/WorkerOptions.html | 146 +-- docs/types/Draft.html | 104 +-- docs/types/ErrorHandler.html | 103 +-- docs/types/ExitHandler.html | 103 +-- docs/types/KillBehavior.html | 103 +-- docs/types/MessageHandler.html | 103 +-- docs/types/OnlineHandler.html | 103 +-- docs/types/PoolEvent.html | 103 +-- docs/types/PoolType.html | 103 +-- docs/types/TaskFunctions.html | 107 +-- .../types/ThreadWorkerWithMessageChannel.html | 103 +-- docs/types/WorkerAsyncFunction.html | 109 +-- docs/types/WorkerChoiceStrategy.html | 103 +-- docs/types/WorkerFunction.html | 107 +-- docs/types/WorkerSyncFunction.html | 109 +-- docs/types/WorkerType.html | 103 +-- docs/variables/KillBehaviors.html | 116 +-- docs/variables/PoolEvents.html | 114 +-- docs/variables/PoolTypes.html | 116 +-- docs/variables/WorkerChoiceStrategies.html | 136 +-- docs/variables/WorkerTypes.html | 110 +-- 49 files changed, 6081 insertions(+), 5213 deletions(-) diff --git a/docs/assets/search.js b/docs/assets/search.js index 21b169d6..77fdf907 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -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\":\"tsd-is-protected\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicClusterPool.html#type\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/DynamicClusterPool.html#maxSize\",\"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-protected 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\":262144,\"name\":\"worker\",\"url\":\"classes/DynamicClusterPool.html#worker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/DynamicClusterPool.html#minSize\",\"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-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicClusterPool.html#filePath\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"info\",\"url\":\"classes/DynamicClusterPool.html#info\",\"classes\":\"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\":262144,\"name\":\"full\",\"url\":\"classes/DynamicClusterPool.html#full\",\"classes\":\"tsd-is-protected 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-protected 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\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"worker\",\"url\":\"classes/FixedClusterPool.html#worker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/FixedClusterPool.html#minSize\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/FixedClusterPool.html#maxSize\",\"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-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedClusterPool.html#filePath\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"info\",\"url\":\"classes/FixedClusterPool.html#info\",\"classes\":\"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\":262144,\"name\":\"full\",\"url\":\"classes/FixedClusterPool.html#full\",\"classes\":\"tsd-is-protected 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\":\"restartWorkerOnError\",\"url\":\"interfaces/ClusterPoolOptions.html#restartWorkerOnError\",\"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\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/AbstractPool.html#filePath\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/AbstractPool.html#opts\",\"classes\":\"tsd-is-protected\",\"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\":\"info\",\"url\":\"classes/AbstractPool.html#info\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/AbstractPool.html#type\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"worker\",\"url\":\"classes/AbstractPool.html#worker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/AbstractPool.html#minSize\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/AbstractPool.html#maxSize\",\"classes\":\"tsd-is-protected\",\"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\":\"updateRunTimeTasksUsage\",\"url\":\"classes/AbstractPool.html#updateRunTimeTasksUsage\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"updateWaitTimeTasksUsage\",\"url\":\"classes/AbstractPool.html#updateWaitTimeTasksUsage\",\"classes\":\"tsd-is-private\",\"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\":32,\"name\":\"PoolTypes\",\"url\":\"variables/PoolTypes.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"WorkerTypes\",\"url\":\"variables/WorkerTypes.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"IPool\",\"url\":\"interfaces/IPool.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"info\",\"url\":\"interfaces/IPool.html#info\",\"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\":\"PoolInfo\",\"url\":\"interfaces/PoolInfo.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/PoolInfo.html#type\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"worker\",\"url\":\"interfaces/PoolInfo.html#worker\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"minSize\",\"url\":\"interfaces/PoolInfo.html#minSize\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"maxSize\",\"url\":\"interfaces/PoolInfo.html#maxSize\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"interfaces/PoolInfo.html#workerNodes\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"idleWorkerNodes\",\"url\":\"interfaces/PoolInfo.html#idleWorkerNodes\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"busyWorkerNodes\",\"url\":\"interfaces/PoolInfo.html#busyWorkerNodes\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"runningTasks\",\"url\":\"interfaces/PoolInfo.html#runningTasks\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"queuedTasks\",\"url\":\"interfaces/PoolInfo.html#queuedTasks\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"maxQueuedTasks\",\"url\":\"interfaces/PoolInfo.html#maxQueuedTasks\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"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\":\"restartWorkerOnError\",\"url\":\"interfaces/PoolOptions.html#restartWorkerOnError\",\"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\":\"PoolType\",\"url\":\"types/PoolType.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"TasksQueueOptions\",\"url\":\"interfaces/TasksQueueOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"concurrency\",\"url\":\"interfaces/TasksQueueOptions.html#concurrency\",\"classes\":\"\",\"parent\":\"TasksQueueOptions\"},{\"kind\":4194304,\"name\":\"WorkerType\",\"url\":\"types/WorkerType.html\",\"classes\":\"\"},{\"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\":\"submissionTimestamp\",\"url\":\"interfaces/Task.html#submissionTimestamp\",\"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\":\"waitTime\",\"url\":\"interfaces/TasksUsage.html#waitTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"waitTimeHistory\",\"url\":\"interfaces/TasksUsage.html#waitTimeHistory\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"avgWaitTime\",\"url\":\"interfaces/TasksUsage.html#avgWaitTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"medWaitTime\",\"url\":\"interfaces/TasksUsage.html#medWaitTime\",\"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\":1024,\"name\":\"waitTime\",\"url\":\"interfaces/RequiredStatistics.html#waitTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":1024,\"name\":\"avgWaitTime\",\"url\":\"interfaces/RequiredStatistics.html#avgWaitTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":1024,\"name\":\"medWaitTime\",\"url\":\"interfaces/RequiredStatistics.html#medWaitTime\",\"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\":\"medWaitTime\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html#medWaitTime\",\"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\":\"tsd-is-protected\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicThreadPool.html#type\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/DynamicThreadPool.html#maxSize\",\"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\":262144,\"name\":\"worker\",\"url\":\"classes/DynamicThreadPool.html#worker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/DynamicThreadPool.html#minSize\",\"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-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicThreadPool.html#filePath\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicThreadPool.html#opts\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"info\",\"url\":\"classes/DynamicThreadPool.html#info\",\"classes\":\"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\":262144,\"name\":\"full\",\"url\":\"classes/DynamicThreadPool.html#full\",\"classes\":\"tsd-is-protected 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\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"worker\",\"url\":\"classes/FixedThreadPool.html#worker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/FixedThreadPool.html#minSize\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/FixedThreadPool.html#maxSize\",\"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-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedThreadPool.html#filePath\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedThreadPool.html#opts\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"info\",\"url\":\"classes/FixedThreadPool.html#info\",\"classes\":\"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\":262144,\"name\":\"full\",\"url\":\"classes/FixedThreadPool.html#full\",\"classes\":\"tsd-is-protected 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\":\"errorData\",\"url\":\"interfaces/MessageValue.html#errorData\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"runTime\",\"url\":\"interfaces/MessageValue.html#runTime\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"waitTime\",\"url\":\"interfaces/MessageValue.html#waitTime\",\"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\":\"submissionTimestamp\",\"url\":\"interfaces/MessageValue.html#submissionTimestamp\",\"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\":1024,\"name\":\"max\",\"url\":\"classes/Queue.html#max\",\"classes\":\"tsd-is-private\",\"parent\":\"Queue\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/Queue.html#size\",\"classes\":\"\",\"parent\":\"Queue\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/Queue.html#maxSize\",\"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\"},{\"kind\":2048,\"name\":\"peek\",\"url\":\"classes/Queue.html#peek\",\"classes\":\"\",\"parent\":\"Queue\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,56.653]],[\"comment/0\",[]],[\"name/1\",[1,36.284]],[\"comment/1\",[]],[\"name/2\",[2,48.18]],[\"comment/2\",[]],[\"name/3\",[3,41.989]],[\"comment/3\",[]],[\"name/4\",[4,40.558]],[\"comment/4\",[]],[\"name/5\",[5,43.66]],[\"comment/5\",[]],[\"name/6\",[6,39.307]],[\"comment/6\",[]],[\"name/7\",[7,43.66]],[\"comment/7\",[]],[\"name/8\",[8,39.307]],[\"comment/8\",[]],[\"name/9\",[9,43.66]],[\"comment/9\",[]],[\"name/10\",[10,43.66]],[\"comment/10\",[]],[\"name/11\",[11,43.66]],[\"comment/11\",[]],[\"name/12\",[12,43.66]],[\"comment/12\",[]],[\"name/13\",[13,43.66]],[\"comment/13\",[]],[\"name/14\",[14,39.307]],[\"comment/14\",[]],[\"name/15\",[15,41.989]],[\"comment/15\",[]],[\"name/16\",[16,40.558]],[\"comment/16\",[]],[\"name/17\",[17,41.989]],[\"comment/17\",[]],[\"name/18\",[18,43.66]],[\"comment/18\",[]],[\"name/19\",[19,41.989]],[\"comment/19\",[]],[\"name/20\",[20,43.66]],[\"comment/20\",[]],[\"name/21\",[21,43.66]],[\"comment/21\",[]],[\"name/22\",[22,41.989]],[\"comment/22\",[]],[\"name/23\",[23,40.558]],[\"comment/23\",[]],[\"name/24\",[24,41.989]],[\"comment/24\",[]],[\"name/25\",[25,39.307]],[\"comment/25\",[]],[\"name/26\",[26,41.989]],[\"comment/26\",[]],[\"name/27\",[27,41.989]],[\"comment/27\",[]],[\"name/28\",[28,43.66]],[\"comment/28\",[]],[\"name/29\",[29,40.558]],[\"comment/29\",[]],[\"name/30\",[30,41.989]],[\"comment/30\",[]],[\"name/31\",[31,43.66]],[\"comment/31\",[]],[\"name/32\",[32,43.66]],[\"comment/32\",[]],[\"name/33\",[33,43.66]],[\"comment/33\",[]],[\"name/34\",[34,43.66]],[\"comment/34\",[]],[\"name/35\",[35,43.66]],[\"comment/35\",[]],[\"name/36\",[36,28.321]],[\"comment/36\",[]],[\"name/37\",[37,56.653]],[\"comment/37\",[]],[\"name/38\",[1,36.284]],[\"comment/38\",[]],[\"name/39\",[6,39.307]],[\"comment/39\",[]],[\"name/40\",[7,43.66]],[\"comment/40\",[]],[\"name/41\",[8,39.307]],[\"comment/41\",[]],[\"name/42\",[9,43.66]],[\"comment/42\",[]],[\"name/43\",[10,43.66]],[\"comment/43\",[]],[\"name/44\",[11,43.66]],[\"comment/44\",[]],[\"name/45\",[12,43.66]],[\"comment/45\",[]],[\"name/46\",[13,43.66]],[\"comment/46\",[]],[\"name/47\",[3,41.989]],[\"comment/47\",[]],[\"name/48\",[14,39.307]],[\"comment/48\",[]],[\"name/49\",[15,41.989]],[\"comment/49\",[]],[\"name/50\",[4,40.558]],[\"comment/50\",[]],[\"name/51\",[5,43.66]],[\"comment/51\",[]],[\"name/52\",[16,40.558]],[\"comment/52\",[]],[\"name/53\",[17,41.989]],[\"comment/53\",[]],[\"name/54\",[18,43.66]],[\"comment/54\",[]],[\"name/55\",[19,41.989]],[\"comment/55\",[]],[\"name/56\",[20,43.66]],[\"comment/56\",[]],[\"name/57\",[21,43.66]],[\"comment/57\",[]],[\"name/58\",[22,41.989]],[\"comment/58\",[]],[\"name/59\",[23,40.558]],[\"comment/59\",[]],[\"name/60\",[24,41.989]],[\"comment/60\",[]],[\"name/61\",[25,39.307]],[\"comment/61\",[]],[\"name/62\",[26,41.989]],[\"comment/62\",[]],[\"name/63\",[27,41.989]],[\"comment/63\",[]],[\"name/64\",[28,43.66]],[\"comment/64\",[]],[\"name/65\",[29,40.558]],[\"comment/65\",[]],[\"name/66\",[30,41.989]],[\"comment/66\",[]],[\"name/67\",[31,43.66]],[\"comment/67\",[]],[\"name/68\",[32,43.66]],[\"comment/68\",[]],[\"name/69\",[33,43.66]],[\"comment/69\",[]],[\"name/70\",[34,43.66]],[\"comment/70\",[]],[\"name/71\",[35,43.66]],[\"comment/71\",[]],[\"name/72\",[36,28.321]],[\"comment/72\",[]],[\"name/73\",[38,56.653]],[\"comment/73\",[]],[\"name/74\",[39,56.653]],[\"comment/74\",[]],[\"name/75\",[40,56.653]],[\"comment/75\",[]],[\"name/76\",[41,48.18]],[\"comment/76\",[]],[\"name/77\",[42,48.18]],[\"comment/77\",[]],[\"name/78\",[43,48.18]],[\"comment/78\",[]],[\"name/79\",[44,48.18]],[\"comment/79\",[]],[\"name/80\",[45,45.667]],[\"comment/80\",[]],[\"name/81\",[46,48.18]],[\"comment/81\",[]],[\"name/82\",[47,51.544]],[\"comment/82\",[]],[\"name/83\",[48,51.544]],[\"comment/83\",[]],[\"name/84\",[25,39.307]],[\"comment/84\",[]],[\"name/85\",[49,48.18]],[\"comment/85\",[]],[\"name/86\",[50,56.653]],[\"comment/86\",[]],[\"name/87\",[1,36.284]],[\"comment/87\",[]],[\"name/88\",[16,40.558]],[\"comment/88\",[]],[\"name/89\",[17,41.989]],[\"comment/89\",[]],[\"name/90\",[18,43.66]],[\"comment/90\",[]],[\"name/91\",[19,41.989]],[\"comment/91\",[]],[\"name/92\",[20,43.66]],[\"comment/92\",[]],[\"name/93\",[21,43.66]],[\"comment/93\",[]],[\"name/94\",[6,39.307]],[\"comment/94\",[]],[\"name/95\",[51,56.653]],[\"comment/95\",[]],[\"name/96\",[52,56.653]],[\"comment/96\",[]],[\"name/97\",[53,56.653]],[\"comment/97\",[]],[\"name/98\",[54,56.653]],[\"comment/98\",[]],[\"name/99\",[55,56.653]],[\"comment/99\",[]],[\"name/100\",[56,56.653]],[\"comment/100\",[]],[\"name/101\",[22,41.989]],[\"comment/101\",[]],[\"name/102\",[3,41.989]],[\"comment/102\",[]],[\"name/103\",[14,39.307]],[\"comment/103\",[]],[\"name/104\",[15,41.989]],[\"comment/104\",[]],[\"name/105\",[4,40.558]],[\"comment/105\",[]],[\"name/106\",[57,56.653]],[\"comment/106\",[]],[\"name/107\",[23,40.558]],[\"comment/107\",[]],[\"name/108\",[24,41.989]],[\"comment/108\",[]],[\"name/109\",[25,39.307]],[\"comment/109\",[]],[\"name/110\",[26,41.989]],[\"comment/110\",[]],[\"name/111\",[58,56.653]],[\"comment/111\",[]],[\"name/112\",[27,41.989]],[\"comment/112\",[]],[\"name/113\",[5,43.66]],[\"comment/113\",[]],[\"name/114\",[28,43.66]],[\"comment/114\",[]],[\"name/115\",[29,40.558]],[\"comment/115\",[]],[\"name/116\",[30,41.989]],[\"comment/116\",[]],[\"name/117\",[9,43.66]],[\"comment/117\",[]],[\"name/118\",[7,43.66]],[\"comment/118\",[]],[\"name/119\",[8,39.307]],[\"comment/119\",[]],[\"name/120\",[31,43.66]],[\"comment/120\",[]],[\"name/121\",[32,43.66]],[\"comment/121\",[]],[\"name/122\",[59,56.653]],[\"comment/122\",[]],[\"name/123\",[60,56.653]],[\"comment/123\",[]],[\"name/124\",[33,43.66]],[\"comment/124\",[]],[\"name/125\",[10,43.66]],[\"comment/125\",[]],[\"name/126\",[11,43.66]],[\"comment/126\",[]],[\"name/127\",[12,43.66]],[\"comment/127\",[]],[\"name/128\",[13,43.66]],[\"comment/128\",[]],[\"name/129\",[34,43.66]],[\"comment/129\",[]],[\"name/130\",[35,43.66]],[\"comment/130\",[]],[\"name/131\",[36,28.321]],[\"comment/131\",[]],[\"name/132\",[61,56.653]],[\"comment/132\",[]],[\"name/133\",[62,56.653]],[\"comment/133\",[]],[\"name/134\",[63,56.653]],[\"comment/134\",[]],[\"name/135\",[64,56.653]],[\"comment/135\",[]],[\"name/136\",[65,56.653]],[\"comment/136\",[]],[\"name/137\",[66,56.653]],[\"comment/137\",[]],[\"name/138\",[67,56.653]],[\"comment/138\",[]],[\"name/139\",[68,56.653]],[\"comment/139\",[]],[\"name/140\",[69,56.653]],[\"comment/140\",[]],[\"name/141\",[70,56.653]],[\"comment/141\",[]],[\"name/142\",[71,56.653]],[\"comment/142\",[]],[\"name/143\",[72,56.653]],[\"comment/143\",[]],[\"name/144\",[73,56.653]],[\"comment/144\",[]],[\"name/145\",[74,56.653]],[\"comment/145\",[]],[\"name/146\",[75,56.653]],[\"comment/146\",[]],[\"name/147\",[22,41.989]],[\"comment/147\",[]],[\"name/148\",[16,40.558]],[\"comment/148\",[]],[\"name/149\",[17,41.989]],[\"comment/149\",[]],[\"name/150\",[29,40.558]],[\"comment/150\",[]],[\"name/151\",[36,28.321]],[\"comment/151\",[]],[\"name/152\",[30,41.989]],[\"comment/152\",[]],[\"name/153\",[36,28.321]],[\"comment/153\",[]],[\"name/154\",[23,40.558]],[\"comment/154\",[]],[\"name/155\",[36,28.321]],[\"comment/155\",[]],[\"name/156\",[24,41.989]],[\"comment/156\",[]],[\"name/157\",[36,28.321]],[\"comment/157\",[]],[\"name/158\",[25,39.307]],[\"comment/158\",[]],[\"name/159\",[36,28.321]],[\"comment/159\",[]],[\"name/160\",[26,41.989]],[\"comment/160\",[]],[\"name/161\",[36,28.321]],[\"comment/161\",[]],[\"name/162\",[76,56.653]],[\"comment/162\",[]],[\"name/163\",[77,56.653]],[\"comment/163\",[]],[\"name/164\",[78,56.653]],[\"comment/164\",[]],[\"name/165\",[3,41.989]],[\"comment/165\",[]],[\"name/166\",[14,39.307]],[\"comment/166\",[]],[\"name/167\",[15,41.989]],[\"comment/167\",[]],[\"name/168\",[4,40.558]],[\"comment/168\",[]],[\"name/169\",[16,40.558]],[\"comment/169\",[]],[\"name/170\",[79,56.653]],[\"comment/170\",[]],[\"name/171\",[80,56.653]],[\"comment/171\",[]],[\"name/172\",[81,56.653]],[\"comment/172\",[]],[\"name/173\",[82,56.653]],[\"comment/173\",[]],[\"name/174\",[83,56.653]],[\"comment/174\",[]],[\"name/175\",[84,56.653]],[\"comment/175\",[]],[\"name/176\",[41,48.18]],[\"comment/176\",[]],[\"name/177\",[42,48.18]],[\"comment/177\",[]],[\"name/178\",[43,48.18]],[\"comment/178\",[]],[\"name/179\",[44,48.18]],[\"comment/179\",[]],[\"name/180\",[45,45.667]],[\"comment/180\",[]],[\"name/181\",[46,48.18]],[\"comment/181\",[]],[\"name/182\",[47,51.544]],[\"comment/182\",[]],[\"name/183\",[48,51.544]],[\"comment/183\",[]],[\"name/184\",[25,39.307]],[\"comment/184\",[]],[\"name/185\",[49,48.18]],[\"comment/185\",[]],[\"name/186\",[85,56.653]],[\"comment/186\",[]],[\"name/187\",[49,48.18]],[\"comment/187\",[]],[\"name/188\",[86,56.653]],[\"comment/188\",[]],[\"name/189\",[87,56.653]],[\"comment/189\",[]],[\"name/190\",[42,48.18]],[\"comment/190\",[]],[\"name/191\",[36,28.321]],[\"comment/191\",[]],[\"name/192\",[44,48.18]],[\"comment/192\",[]],[\"name/193\",[36,28.321]],[\"comment/193\",[]],[\"name/194\",[88,56.653]],[\"comment/194\",[]],[\"name/195\",[89,56.653]],[\"comment/195\",[]],[\"name/196\",[90,56.653]],[\"comment/196\",[]],[\"name/197\",[36,28.321]],[\"comment/197\",[]],[\"name/198\",[41,48.18]],[\"comment/198\",[]],[\"name/199\",[36,28.321]],[\"comment/199\",[]],[\"name/200\",[43,48.18]],[\"comment/200\",[]],[\"name/201\",[36,28.321]],[\"comment/201\",[]],[\"name/202\",[91,56.653]],[\"comment/202\",[]],[\"name/203\",[92,51.544]],[\"comment/203\",[]],[\"name/204\",[93,51.544]],[\"comment/204\",[]],[\"name/205\",[94,51.544]],[\"comment/205\",[]],[\"name/206\",[95,51.544]],[\"comment/206\",[]],[\"name/207\",[96,51.544]],[\"comment/207\",[]],[\"name/208\",[97,56.653]],[\"comment/208\",[]],[\"name/209\",[98,56.653]],[\"comment/209\",[]],[\"name/210\",[99,48.18]],[\"comment/210\",[]],[\"name/211\",[100,56.653]],[\"comment/211\",[]],[\"name/212\",[101,51.544]],[\"comment/212\",[]],[\"name/213\",[102,48.18]],[\"comment/213\",[]],[\"name/214\",[103,48.18]],[\"comment/214\",[]],[\"name/215\",[104,56.653]],[\"comment/215\",[]],[\"name/216\",[105,51.544]],[\"comment/216\",[]],[\"name/217\",[106,48.18]],[\"comment/217\",[]],[\"name/218\",[107,51.544]],[\"comment/218\",[]],[\"name/219\",[108,56.653]],[\"comment/219\",[]],[\"name/220\",[14,39.307]],[\"comment/220\",[]],[\"name/221\",[96,51.544]],[\"comment/221\",[]],[\"name/222\",[109,56.653]],[\"comment/222\",[]],[\"name/223\",[110,51.544]],[\"comment/223\",[]],[\"name/224\",[111,56.653]],[\"comment/224\",[]],[\"name/225\",[112,51.544]],[\"comment/225\",[]],[\"name/226\",[113,56.653]],[\"comment/226\",[]],[\"name/227\",[36,28.321]],[\"comment/227\",[]],[\"name/228\",[114,51.544]],[\"comment/228\",[]],[\"name/229\",[36,28.321]],[\"comment/229\",[]],[\"name/230\",[115,56.653]],[\"comment/230\",[]],[\"name/231\",[36,28.321]],[\"comment/231\",[]],[\"name/232\",[116,51.544]],[\"comment/232\",[]],[\"name/233\",[36,28.321]],[\"comment/233\",[]],[\"name/234\",[117,51.544]],[\"comment/234\",[]],[\"name/235\",[36,28.321]],[\"comment/235\",[]],[\"name/236\",[112,51.544]],[\"comment/236\",[]],[\"name/237\",[99,48.18]],[\"comment/237\",[]],[\"name/238\",[101,51.544]],[\"comment/238\",[]],[\"name/239\",[102,48.18]],[\"comment/239\",[]],[\"name/240\",[103,48.18]],[\"comment/240\",[]],[\"name/241\",[105,51.544]],[\"comment/241\",[]],[\"name/242\",[106,48.18]],[\"comment/242\",[]],[\"name/243\",[45,45.667]],[\"comment/243\",[]],[\"name/244\",[46,48.18]],[\"comment/244\",[]],[\"name/245\",[102,48.18]],[\"comment/245\",[]],[\"name/246\",[106,48.18]],[\"comment/246\",[]],[\"name/247\",[118,56.653]],[\"comment/247\",[]],[\"name/248\",[19,41.989]],[\"comment/248\",[]],[\"name/249\",[1,36.284]],[\"comment/249\",[]],[\"name/250\",[110,51.544]],[\"comment/250\",[]],[\"name/251\",[45,45.667]],[\"comment/251\",[]],[\"name/252\",[119,56.653]],[\"comment/252\",[]],[\"name/253\",[23,40.558]],[\"comment/253\",[]],[\"name/254\",[114,51.544]],[\"comment/254\",[]],[\"name/255\",[29,40.558]],[\"comment/255\",[]],[\"name/256\",[116,51.544]],[\"comment/256\",[]],[\"name/257\",[117,51.544]],[\"comment/257\",[]],[\"name/258\",[120,56.653]],[\"comment/258\",[]],[\"name/259\",[1,36.284]],[\"comment/259\",[]],[\"name/260\",[2,48.18]],[\"comment/260\",[]],[\"name/261\",[3,41.989]],[\"comment/261\",[]],[\"name/262\",[4,40.558]],[\"comment/262\",[]],[\"name/263\",[5,43.66]],[\"comment/263\",[]],[\"name/264\",[8,39.307]],[\"comment/264\",[]],[\"name/265\",[9,43.66]],[\"comment/265\",[]],[\"name/266\",[10,43.66]],[\"comment/266\",[]],[\"name/267\",[11,43.66]],[\"comment/267\",[]],[\"name/268\",[12,43.66]],[\"comment/268\",[]],[\"name/269\",[13,43.66]],[\"comment/269\",[]],[\"name/270\",[14,39.307]],[\"comment/270\",[]],[\"name/271\",[15,41.989]],[\"comment/271\",[]],[\"name/272\",[16,40.558]],[\"comment/272\",[]],[\"name/273\",[17,41.989]],[\"comment/273\",[]],[\"name/274\",[18,43.66]],[\"comment/274\",[]],[\"name/275\",[19,41.989]],[\"comment/275\",[]],[\"name/276\",[20,43.66]],[\"comment/276\",[]],[\"name/277\",[21,43.66]],[\"comment/277\",[]],[\"name/278\",[6,39.307]],[\"comment/278\",[]],[\"name/279\",[22,41.989]],[\"comment/279\",[]],[\"name/280\",[23,40.558]],[\"comment/280\",[]],[\"name/281\",[24,41.989]],[\"comment/281\",[]],[\"name/282\",[25,39.307]],[\"comment/282\",[]],[\"name/283\",[26,41.989]],[\"comment/283\",[]],[\"name/284\",[27,41.989]],[\"comment/284\",[]],[\"name/285\",[28,43.66]],[\"comment/285\",[]],[\"name/286\",[29,40.558]],[\"comment/286\",[]],[\"name/287\",[30,41.989]],[\"comment/287\",[]],[\"name/288\",[7,43.66]],[\"comment/288\",[]],[\"name/289\",[31,43.66]],[\"comment/289\",[]],[\"name/290\",[32,43.66]],[\"comment/290\",[]],[\"name/291\",[33,43.66]],[\"comment/291\",[]],[\"name/292\",[34,43.66]],[\"comment/292\",[]],[\"name/293\",[35,43.66]],[\"comment/293\",[]],[\"name/294\",[36,28.321]],[\"comment/294\",[]],[\"name/295\",[121,56.653]],[\"comment/295\",[]],[\"name/296\",[1,36.284]],[\"comment/296\",[]],[\"name/297\",[8,39.307]],[\"comment/297\",[]],[\"name/298\",[9,43.66]],[\"comment/298\",[]],[\"name/299\",[10,43.66]],[\"comment/299\",[]],[\"name/300\",[11,43.66]],[\"comment/300\",[]],[\"name/301\",[12,43.66]],[\"comment/301\",[]],[\"name/302\",[13,43.66]],[\"comment/302\",[]],[\"name/303\",[3,41.989]],[\"comment/303\",[]],[\"name/304\",[14,39.307]],[\"comment/304\",[]],[\"name/305\",[15,41.989]],[\"comment/305\",[]],[\"name/306\",[4,40.558]],[\"comment/306\",[]],[\"name/307\",[5,43.66]],[\"comment/307\",[]],[\"name/308\",[16,40.558]],[\"comment/308\",[]],[\"name/309\",[17,41.989]],[\"comment/309\",[]],[\"name/310\",[18,43.66]],[\"comment/310\",[]],[\"name/311\",[19,41.989]],[\"comment/311\",[]],[\"name/312\",[20,43.66]],[\"comment/312\",[]],[\"name/313\",[21,43.66]],[\"comment/313\",[]],[\"name/314\",[6,39.307]],[\"comment/314\",[]],[\"name/315\",[22,41.989]],[\"comment/315\",[]],[\"name/316\",[23,40.558]],[\"comment/316\",[]],[\"name/317\",[24,41.989]],[\"comment/317\",[]],[\"name/318\",[25,39.307]],[\"comment/318\",[]],[\"name/319\",[26,41.989]],[\"comment/319\",[]],[\"name/320\",[27,41.989]],[\"comment/320\",[]],[\"name/321\",[28,43.66]],[\"comment/321\",[]],[\"name/322\",[29,40.558]],[\"comment/322\",[]],[\"name/323\",[30,41.989]],[\"comment/323\",[]],[\"name/324\",[7,43.66]],[\"comment/324\",[]],[\"name/325\",[31,43.66]],[\"comment/325\",[]],[\"name/326\",[32,43.66]],[\"comment/326\",[]],[\"name/327\",[33,43.66]],[\"comment/327\",[]],[\"name/328\",[34,43.66]],[\"comment/328\",[]],[\"name/329\",[35,43.66]],[\"comment/329\",[]],[\"name/330\",[36,28.321]],[\"comment/330\",[]],[\"name/331\",[122,56.653]],[\"comment/331\",[]],[\"name/332\",[123,56.653]],[\"comment/332\",[]],[\"name/333\",[1,36.284]],[\"comment/333\",[]],[\"name/334\",[124,45.667]],[\"comment/334\",[]],[\"name/335\",[125,48.18]],[\"comment/335\",[]],[\"name/336\",[126,48.18]],[\"comment/336\",[]],[\"name/337\",[8,39.307]],[\"comment/337\",[]],[\"name/338\",[127,48.18]],[\"comment/338\",[]],[\"name/339\",[6,39.307]],[\"comment/339\",[]],[\"name/340\",[128,56.653]],[\"comment/340\",[]],[\"name/341\",[129,56.653]],[\"comment/341\",[]],[\"name/342\",[130,48.18]],[\"comment/342\",[]],[\"name/343\",[131,48.18]],[\"comment/343\",[]],[\"name/344\",[132,48.18]],[\"comment/344\",[]],[\"name/345\",[133,48.18]],[\"comment/345\",[]],[\"name/346\",[134,48.18]],[\"comment/346\",[]],[\"name/347\",[135,48.18]],[\"comment/347\",[]],[\"name/348\",[136,48.18]],[\"comment/348\",[]],[\"name/349\",[137,56.653]],[\"comment/349\",[]],[\"name/350\",[138,56.653]],[\"comment/350\",[]],[\"name/351\",[1,36.284]],[\"comment/351\",[]],[\"name/352\",[132,48.18]],[\"comment/352\",[]],[\"name/353\",[134,48.18]],[\"comment/353\",[]],[\"name/354\",[124,45.667]],[\"comment/354\",[]],[\"name/355\",[125,48.18]],[\"comment/355\",[]],[\"name/356\",[126,48.18]],[\"comment/356\",[]],[\"name/357\",[8,39.307]],[\"comment/357\",[]],[\"name/358\",[127,48.18]],[\"comment/358\",[]],[\"name/359\",[6,39.307]],[\"comment/359\",[]],[\"name/360\",[130,48.18]],[\"comment/360\",[]],[\"name/361\",[131,48.18]],[\"comment/361\",[]],[\"name/362\",[133,48.18]],[\"comment/362\",[]],[\"name/363\",[135,48.18]],[\"comment/363\",[]],[\"name/364\",[136,48.18]],[\"comment/364\",[]],[\"name/365\",[139,56.653]],[\"comment/365\",[]],[\"name/366\",[1,36.284]],[\"comment/366\",[]],[\"name/367\",[132,48.18]],[\"comment/367\",[]],[\"name/368\",[124,45.667]],[\"comment/368\",[]],[\"name/369\",[125,48.18]],[\"comment/369\",[]],[\"name/370\",[126,48.18]],[\"comment/370\",[]],[\"name/371\",[8,39.307]],[\"comment/371\",[]],[\"name/372\",[127,48.18]],[\"comment/372\",[]],[\"name/373\",[6,39.307]],[\"comment/373\",[]],[\"name/374\",[130,48.18]],[\"comment/374\",[]],[\"name/375\",[131,48.18]],[\"comment/375\",[]],[\"name/376\",[133,48.18]],[\"comment/376\",[]],[\"name/377\",[134,48.18]],[\"comment/377\",[]],[\"name/378\",[135,48.18]],[\"comment/378\",[]],[\"name/379\",[136,48.18]],[\"comment/379\",[]],[\"name/380\",[140,56.653]],[\"comment/380\",[]],[\"name/381\",[141,51.544]],[\"comment/381\",[]],[\"name/382\",[142,56.653]],[\"comment/382\",[]],[\"name/383\",[143,56.653]],[\"comment/383\",[]],[\"name/384\",[144,56.653]],[\"comment/384\",[]],[\"name/385\",[141,51.544]],[\"comment/385\",[]],[\"name/386\",[145,56.653]],[\"comment/386\",[]],[\"name/387\",[146,56.653]],[\"comment/387\",[]],[\"name/388\",[147,56.653]],[\"comment/388\",[]],[\"name/389\",[107,51.544]],[\"comment/389\",[]],[\"name/390\",[148,56.653]],[\"comment/390\",[]],[\"name/391\",[99,48.18]],[\"comment/391\",[]],[\"name/392\",[103,48.18]],[\"comment/392\",[]],[\"name/393\",[149,56.653]],[\"comment/393\",[]],[\"name/394\",[92,51.544]],[\"comment/394\",[]],[\"name/395\",[93,51.544]],[\"comment/395\",[]],[\"name/396\",[94,51.544]],[\"comment/396\",[]],[\"name/397\",[95,51.544]],[\"comment/397\",[]],[\"name/398\",[150,56.653]],[\"comment/398\",[]],[\"name/399\",[151,56.653]],[\"comment/399\",[]],[\"name/400\",[36,28.321]],[\"comment/400\",[]],[\"name/401\",[152,56.653]],[\"comment/401\",[]],[\"name/402\",[36,28.321]],[\"comment/402\",[]],[\"name/403\",[14,39.307]],[\"comment/403\",[]],[\"name/404\",[124,45.667]],[\"comment/404\",[]],[\"name/405\",[153,56.653]],[\"comment/405\",[]],[\"name/406\",[36,28.321]],[\"comment/406\",[]],[\"name/407\",[154,56.653]],[\"comment/407\",[]],[\"name/408\",[155,56.653]],[\"comment/408\",[]],[\"name/409\",[36,28.321]],[\"comment/409\",[]],[\"name/410\",[156,56.653]],[\"comment/410\",[]],[\"name/411\",[1,36.284]],[\"comment/411\",[]],[\"name/412\",[157,51.544]],[\"comment/412\",[]],[\"name/413\",[158,56.653]],[\"comment/413\",[]],[\"name/414\",[159,56.653]],[\"comment/414\",[]],[\"name/415\",[160,56.653]],[\"comment/415\",[]],[\"name/416\",[161,56.653]],[\"comment/416\",[]],[\"name/417\",[162,56.653]],[\"comment/417\",[]],[\"name/418\",[163,56.653]],[\"comment/418\",[]],[\"name/419\",[27,41.989]],[\"comment/419\",[]],[\"name/420\",[164,56.653]],[\"comment/420\",[]],[\"name/421\",[165,56.653]],[\"comment/421\",[]],[\"name/422\",[1,36.284]],[\"comment/422\",[]],[\"name/423\",[166,56.653]],[\"comment/423\",[]],[\"name/424\",[167,56.653]],[\"comment/424\",[]],[\"name/425\",[168,56.653]],[\"comment/425\",[]],[\"name/426\",[2,48.18]],[\"comment/426\",[]],[\"name/427\",[157,51.544]],[\"comment/427\",[]],[\"name/428\",[4,40.558]],[\"comment/428\",[]],[\"name/429\",[169,56.653]],[\"comment/429\",[]],[\"name/430\",[170,56.653]],[\"comment/430\",[]],[\"name/431\",[171,56.653]],[\"comment/431\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":36,\"name\":{\"36\":{},\"72\":{},\"131\":{},\"151\":{},\"153\":{},\"155\":{},\"157\":{},\"159\":{},\"161\":{},\"191\":{},\"193\":{},\"197\":{},\"199\":{},\"201\":{},\"227\":{},\"229\":{},\"231\":{},\"233\":{},\"235\":{},\"294\":{},\"330\":{},\"400\":{},\"402\":{},\"406\":{},\"409\":{}},\"comment\":{}}],[\"abstractpool\",{\"_index\":50,\"name\":{\"86\":{}},\"comment\":{}}],[\"abstractworker\",{\"_index\":123,\"name\":{\"332\":{}},\"comment\":{}}],[\"aftertaskexecutionhook\",{\"_index\":32,\"name\":{\"32\":{},\"68\":{},\"121\":{},\"290\":{},\"326\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":13,\"name\":{\"13\":{},\"46\":{},\"128\":{},\"269\":{},\"302\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":126,\"name\":{\"336\":{},\"356\":{},\"370\":{}},\"comment\":{}}],[\"async\",{\"_index\":144,\"name\":{\"384\":{}},\"comment\":{}}],[\"avgruntime\",{\"_index\":101,\"name\":{\"212\":{},\"238\":{}},\"comment\":{}}],[\"avgwaittime\",{\"_index\":105,\"name\":{\"216\":{},\"241\":{}},\"comment\":{}}],[\"beforetaskexecutionhook\",{\"_index\":31,\"name\":{\"31\":{},\"67\":{},\"120\":{},\"289\":{},\"325\":{}},\"comment\":{}}],[\"buildtasksqueueoptions\",{\"_index\":58,\"name\":{\"111\":{}},\"comment\":{}}],[\"busy\",{\"_index\":5,\"name\":{\"5\":{},\"51\":{},\"113\":{},\"263\":{},\"307\":{}},\"comment\":{}}],[\"busyworkernodes\",{\"_index\":80,\"name\":{\"171\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":133,\"name\":{\"345\":{},\"362\":{},\"376\":{}},\"comment\":{}}],[\"checkandemitevents\",{\"_index\":61,\"name\":{\"132\":{}},\"comment\":{}}],[\"checkfilepath\",{\"_index\":51,\"name\":{\"95\":{}},\"comment\":{}}],[\"checknumberofworkers\",{\"_index\":52,\"name\":{\"96\":{}},\"comment\":{}}],[\"checkpooloptions\",{\"_index\":53,\"name\":{\"97\":{}},\"comment\":{}}],[\"checksize\",{\"_index\":164,\"name\":{\"420\":{}},\"comment\":{}}],[\"checktaskfunctions\",{\"_index\":129,\"name\":{\"341\":{}},\"comment\":{}}],[\"checkvalidtasksqueueoptions\",{\"_index\":56,\"name\":{\"100\":{}},\"comment\":{}}],[\"checkvalidworkerchoicestrategy\",{\"_index\":54,\"name\":{\"98\":{}},\"comment\":{}}],[\"checkvalidworkerchoicestrategyoptions\",{\"_index\":55,\"name\":{\"99\":{}},\"comment\":{}}],[\"checkworkeroptions\",{\"_index\":128,\"name\":{\"340\":{}},\"comment\":{}}],[\"choose\",{\"_index\":115,\"name\":{\"230\":{}},\"comment\":{}}],[\"chooseworkernode\",{\"_index\":33,\"name\":{\"33\":{},\"69\":{},\"124\":{},\"291\":{},\"327\":{}},\"comment\":{}}],[\"circulararray\",{\"_index\":156,\"name\":{\"410\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":38,\"name\":{\"73\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":138,\"name\":{\"350\":{}},\"comment\":{}}],[\"concat\",{\"_index\":160,\"name\":{\"415\":{}},\"comment\":{}}],[\"concurrency\",{\"_index\":86,\"name\":{\"188\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"38\":{},\"87\":{},\"249\":{},\"259\":{},\"296\":{},\"333\":{},\"351\":{},\"366\":{},\"411\":{},\"422\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":34,\"name\":{\"34\":{},\"70\":{},\"129\":{},\"292\":{},\"328\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":12,\"name\":{\"12\":{},\"45\":{},\"127\":{},\"268\":{},\"301\":{}},\"comment\":{}}],[\"data\",{\"_index\":93,\"name\":{\"204\":{},\"395\":{}},\"comment\":{}}],[\"dequeue\",{\"_index\":170,\"name\":{\"430\":{}},\"comment\":{}}],[\"dequeuetask\",{\"_index\":68,\"name\":{\"139\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":30,\"name\":{\"30\":{},\"66\":{},\"116\":{},\"152\":{},\"287\":{},\"323\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":9,\"name\":{\"9\":{},\"42\":{},\"117\":{},\"265\":{},\"298\":{}},\"comment\":{}}],[\"draft\",{\"_index\":145,\"name\":{\"386\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":120,\"name\":{\"258\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":17,\"name\":{\"17\":{},\"53\":{},\"89\":{},\"149\":{},\"273\":{},\"309\":{}},\"comment\":{}}],[\"empty\",{\"_index\":163,\"name\":{\"418\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":48,\"name\":{\"83\":{},\"183\":{}},\"comment\":{}}],[\"enabletasksqueue\",{\"_index\":25,\"name\":{\"25\":{},\"61\":{},\"84\":{},\"109\":{},\"158\":{},\"184\":{},\"282\":{},\"318\":{}},\"comment\":{}}],[\"enqueue\",{\"_index\":169,\"name\":{\"429\":{}},\"comment\":{}}],[\"enqueuetask\",{\"_index\":67,\"name\":{\"138\":{}},\"comment\":{}}],[\"env\",{\"_index\":39,\"name\":{\"74\":{}},\"comment\":{}}],[\"error\",{\"_index\":107,\"name\":{\"218\":{},\"389\":{}},\"comment\":{}}],[\"errordata\",{\"_index\":148,\"name\":{\"390\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":42,\"name\":{\"77\":{},\"177\":{},\"190\":{}},\"comment\":{}}],[\"execute\",{\"_index\":29,\"name\":{\"29\":{},\"65\":{},\"115\":{},\"150\":{},\"255\":{},\"286\":{},\"322\":{}},\"comment\":{}}],[\"executetask\",{\"_index\":66,\"name\":{\"137\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":44,\"name\":{\"79\":{},\"179\":{},\"192\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":21,\"name\":{\"21\":{},\"57\":{},\"93\":{},\"277\":{},\"313\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":37,\"name\":{\"37\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":121,\"name\":{\"295\":{}},\"comment\":{}}],[\"flushtasksqueue\",{\"_index\":70,\"name\":{\"141\":{}},\"comment\":{}}],[\"flushtasksqueues\",{\"_index\":71,\"name\":{\"142\":{}},\"comment\":{}}],[\"full\",{\"_index\":27,\"name\":{\"27\":{},\"63\":{},\"112\":{},\"284\":{},\"320\":{},\"419\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":131,\"name\":{\"343\":{},\"361\":{},\"375\":{}},\"comment\":{}}],[\"getrequiredstatistics\",{\"_index\":119,\"name\":{\"252\":{}},\"comment\":{}}],[\"gettaskfunction\",{\"_index\":137,\"name\":{\"349\":{}},\"comment\":{}}],[\"getworkernodekey\",{\"_index\":57,\"name\":{\"106\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":134,\"name\":{\"346\":{},\"353\":{},\"377\":{}},\"comment\":{}}],[\"head\",{\"_index\":167,\"name\":{\"424\":{}},\"comment\":{}}],[\"id\",{\"_index\":95,\"name\":{\"206\":{},\"397\":{}},\"comment\":{}}],[\"idleworkernodes\",{\"_index\":79,\"name\":{\"170\":{}},\"comment\":{}}],[\"info\",{\"_index\":22,\"name\":{\"22\":{},\"58\":{},\"101\":{},\"147\":{},\"279\":{},\"315\":{}},\"comment\":{}}],[\"internalbusy\",{\"_index\":28,\"name\":{\"28\":{},\"64\":{},\"114\":{},\"285\":{},\"321\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":75,\"name\":{\"146\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":8,\"name\":{\"8\":{},\"41\":{},\"119\":{},\"264\":{},\"297\":{},\"337\":{},\"357\":{},\"371\":{}},\"comment\":{}}],[\"items\",{\"_index\":166,\"name\":{\"423\":{}},\"comment\":{}}],[\"iworker\",{\"_index\":88,\"name\":{\"194\":{}},\"comment\":{}}],[\"iworkerchoicestrategy\",{\"_index\":111,\"name\":{\"224\":{}},\"comment\":{}}],[\"kill\",{\"_index\":147,\"name\":{\"388\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":141,\"name\":{\"381\":{},\"385\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":140,\"name\":{\"380\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":125,\"name\":{\"335\":{},\"355\":{},\"369\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":127,\"name\":{\"338\":{},\"358\":{},\"372\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"260\":{},\"426\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":143,\"name\":{\"383\":{}},\"comment\":{}}],[\"maxqueuedtasks\",{\"_index\":83,\"name\":{\"174\":{}},\"comment\":{}}],[\"maxsize\",{\"_index\":4,\"name\":{\"4\":{},\"50\":{},\"105\":{},\"168\":{},\"262\":{},\"306\":{},\"428\":{}},\"comment\":{}}],[\"medruntime\",{\"_index\":102,\"name\":{\"213\":{},\"239\":{},\"245\":{}},\"comment\":{}}],[\"medwaittime\",{\"_index\":106,\"name\":{\"217\":{},\"242\":{},\"246\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":41,\"name\":{\"76\":{},\"176\":{},\"198\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":130,\"name\":{\"342\":{},\"360\":{},\"374\":{}},\"comment\":{}}],[\"messagevalue\",{\"_index\":146,\"name\":{\"387\":{}},\"comment\":{}}],[\"minsize\",{\"_index\":15,\"name\":{\"15\":{},\"49\":{},\"104\":{},\"167\":{},\"271\":{},\"305\":{}},\"comment\":{}}],[\"name\",{\"_index\":92,\"name\":{\"203\":{},\"394\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":20,\"name\":{\"20\":{},\"56\":{},\"92\":{},\"276\":{},\"312\":{}},\"comment\":{}}],[\"on\",{\"_index\":89,\"name\":{\"195\":{}},\"comment\":{}}],[\"once\",{\"_index\":90,\"name\":{\"196\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":43,\"name\":{\"78\":{},\"178\":{},\"200\":{}},\"comment\":{}}],[\"opts\",{\"_index\":6,\"name\":{\"6\":{},\"39\":{},\"94\":{},\"278\":{},\"314\":{},\"339\":{},\"359\":{},\"373\":{}},\"comment\":{}}],[\"parent\",{\"_index\":149,\"name\":{\"393\":{}},\"comment\":{}}],[\"peek\",{\"_index\":171,\"name\":{\"431\":{}},\"comment\":{}}],[\"poolemitter\",{\"_index\":76,\"name\":{\"162\":{}},\"comment\":{}}],[\"poolevent\",{\"_index\":77,\"name\":{\"163\":{}},\"comment\":{}}],[\"poolevents\",{\"_index\":72,\"name\":{\"143\":{}},\"comment\":{}}],[\"poolinfo\",{\"_index\":78,\"name\":{\"164\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":84,\"name\":{\"175\":{}},\"comment\":{}}],[\"pooltype\",{\"_index\":85,\"name\":{\"186\":{}},\"comment\":{}}],[\"pooltypes\",{\"_index\":73,\"name\":{\"144\":{}},\"comment\":{}}],[\"promiseresponsemap\",{\"_index\":18,\"name\":{\"18\":{},\"54\":{},\"90\":{},\"274\":{},\"310\":{}},\"comment\":{}}],[\"promiseresponsewrapper\",{\"_index\":150,\"name\":{\"398\":{}},\"comment\":{}}],[\"push\",{\"_index\":158,\"name\":{\"413\":{}},\"comment\":{}}],[\"pushworkernode\",{\"_index\":63,\"name\":{\"134\":{}},\"comment\":{}}],[\"queue\",{\"_index\":165,\"name\":{\"421\":{}},\"comment\":{}}],[\"queuedtasks\",{\"_index\":82,\"name\":{\"173\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":11,\"name\":{\"11\":{},\"44\":{},\"126\":{},\"267\":{},\"300\":{}},\"comment\":{}}],[\"reject\",{\"_index\":152,\"name\":{\"401\":{}},\"comment\":{}}],[\"remove\",{\"_index\":116,\"name\":{\"232\":{},\"256\":{}},\"comment\":{}}],[\"removeworkernode\",{\"_index\":65,\"name\":{\"136\":{}},\"comment\":{}}],[\"requiredstatistics\",{\"_index\":112,\"name\":{\"225\":{},\"236\":{}},\"comment\":{}}],[\"reset\",{\"_index\":113,\"name\":{\"226\":{}},\"comment\":{}}],[\"resize\",{\"_index\":162,\"name\":{\"417\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":151,\"name\":{\"399\":{}},\"comment\":{}}],[\"restartworkeronerror\",{\"_index\":47,\"name\":{\"82\":{},\"182\":{}},\"comment\":{}}],[\"run\",{\"_index\":97,\"name\":{\"208\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":136,\"name\":{\"348\":{},\"364\":{},\"379\":{}},\"comment\":{}}],[\"running\",{\"_index\":98,\"name\":{\"209\":{}},\"comment\":{}}],[\"runningtasks\",{\"_index\":81,\"name\":{\"172\":{}},\"comment\":{}}],[\"runsync\",{\"_index\":135,\"name\":{\"347\":{},\"363\":{},\"378\":{}},\"comment\":{}}],[\"runtime\",{\"_index\":99,\"name\":{\"210\":{},\"237\":{},\"391\":{}},\"comment\":{}}],[\"runtimehistory\",{\"_index\":100,\"name\":{\"211\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":132,\"name\":{\"344\":{},\"352\":{},\"367\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":10,\"name\":{\"10\":{},\"43\":{},\"125\":{},\"266\":{},\"299\":{}},\"comment\":{}}],[\"setoptions\",{\"_index\":117,\"name\":{\"234\":{},\"257\":{}},\"comment\":{}}],[\"settasksqueueoptions\",{\"_index\":26,\"name\":{\"26\":{},\"62\":{},\"110\":{},\"160\":{},\"283\":{},\"319\":{}},\"comment\":{}}],[\"settings\",{\"_index\":40,\"name\":{\"75\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":7,\"name\":{\"7\":{},\"40\":{},\"118\":{},\"288\":{},\"324\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":23,\"name\":{\"23\":{},\"59\":{},\"107\":{},\"154\":{},\"253\":{},\"280\":{},\"316\":{}},\"comment\":{}}],[\"setworkerchoicestrategyoptions\",{\"_index\":24,\"name\":{\"24\":{},\"60\":{},\"108\":{},\"156\":{},\"281\":{},\"317\":{}},\"comment\":{}}],[\"setworkernode\",{\"_index\":64,\"name\":{\"135\":{}},\"comment\":{}}],[\"setworkernodetasksusage\",{\"_index\":62,\"name\":{\"133\":{}},\"comment\":{}}],[\"size\",{\"_index\":157,\"name\":{\"412\":{},\"427\":{}},\"comment\":{}}],[\"splice\",{\"_index\":161,\"name\":{\"416\":{}},\"comment\":{}}],[\"submissiontimestamp\",{\"_index\":94,\"name\":{\"205\":{},\"396\":{}},\"comment\":{}}],[\"tail\",{\"_index\":168,\"name\":{\"425\":{}},\"comment\":{}}],[\"task\",{\"_index\":91,\"name\":{\"202\":{}},\"comment\":{}}],[\"taskfunctions\",{\"_index\":124,\"name\":{\"334\":{},\"354\":{},\"368\":{},\"404\":{}},\"comment\":{}}],[\"tasksqueue\",{\"_index\":109,\"name\":{\"222\":{}},\"comment\":{}}],[\"tasksqueueoptions\",{\"_index\":49,\"name\":{\"85\":{},\"185\":{},\"187\":{}},\"comment\":{}}],[\"tasksqueuesize\",{\"_index\":69,\"name\":{\"140\":{}},\"comment\":{}}],[\"tasksusage\",{\"_index\":96,\"name\":{\"207\":{},\"221\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":139,\"name\":{\"365\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":122,\"name\":{\"331\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"47\":{},\"102\":{},\"165\":{},\"261\":{},\"303\":{}},\"comment\":{}}],[\"unshift\",{\"_index\":159,\"name\":{\"414\":{}},\"comment\":{}}],[\"update\",{\"_index\":114,\"name\":{\"228\":{},\"254\":{}},\"comment\":{}}],[\"updateruntimetasksusage\",{\"_index\":59,\"name\":{\"122\":{}},\"comment\":{}}],[\"updatewaittimetasksusage\",{\"_index\":60,\"name\":{\"123\":{}},\"comment\":{}}],[\"waittime\",{\"_index\":103,\"name\":{\"214\":{},\"240\":{},\"392\":{}},\"comment\":{}}],[\"waittimehistory\",{\"_index\":104,\"name\":{\"215\":{}},\"comment\":{}}],[\"weights\",{\"_index\":118,\"name\":{\"247\":{}},\"comment\":{}}],[\"worker\",{\"_index\":14,\"name\":{\"14\":{},\"48\":{},\"103\":{},\"166\":{},\"220\":{},\"270\":{},\"304\":{},\"403\":{}},\"comment\":{}}],[\"workerasyncfunction\",{\"_index\":153,\"name\":{\"405\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":110,\"name\":{\"223\":{},\"250\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":45,\"name\":{\"80\":{},\"180\":{},\"243\":{},\"251\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":19,\"name\":{\"19\":{},\"55\":{},\"91\":{},\"248\":{},\"275\":{},\"311\":{}},\"comment\":{}}],[\"workerchoicestrategyoptions\",{\"_index\":46,\"name\":{\"81\":{},\"181\":{},\"244\":{}},\"comment\":{}}],[\"workerfunction\",{\"_index\":154,\"name\":{\"407\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":35,\"name\":{\"35\":{},\"71\":{},\"130\":{},\"293\":{},\"329\":{}},\"comment\":{}}],[\"workernode\",{\"_index\":108,\"name\":{\"219\":{}},\"comment\":{}}],[\"workernodes\",{\"_index\":16,\"name\":{\"16\":{},\"52\":{},\"88\":{},\"148\":{},\"169\":{},\"272\":{},\"308\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":142,\"name\":{\"382\":{}},\"comment\":{}}],[\"workersyncfunction\",{\"_index\":155,\"name\":{\"408\":{}},\"comment\":{}}],[\"workertype\",{\"_index\":87,\"name\":{\"189\":{}},\"comment\":{}}],[\"workertypes\",{\"_index\":74,\"name\":{\"145\":{}},\"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\":\"tsd-is-protected\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicClusterPool.html#type\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/DynamicClusterPool.html#maxSize\",\"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-protected 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\":262144,\"name\":\"worker\",\"url\":\"classes/DynamicClusterPool.html#worker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/DynamicClusterPool.html#minSize\",\"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-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicClusterPool.html#filePath\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"info\",\"url\":\"classes/DynamicClusterPool.html#info\",\"classes\":\"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\":262144,\"name\":\"full\",\"url\":\"classes/DynamicClusterPool.html#full\",\"classes\":\"tsd-is-protected 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-protected 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\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"worker\",\"url\":\"classes/FixedClusterPool.html#worker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/FixedClusterPool.html#minSize\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/FixedClusterPool.html#maxSize\",\"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-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedClusterPool.html#filePath\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"info\",\"url\":\"classes/FixedClusterPool.html#info\",\"classes\":\"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\":262144,\"name\":\"full\",\"url\":\"classes/FixedClusterPool.html#full\",\"classes\":\"tsd-is-protected 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\":\"restartWorkerOnError\",\"url\":\"interfaces/ClusterPoolOptions.html#restartWorkerOnError\",\"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\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/AbstractPool.html#filePath\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/AbstractPool.html#opts\",\"classes\":\"tsd-is-protected\",\"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\":\"info\",\"url\":\"classes/AbstractPool.html#info\",\"classes\":\"\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/AbstractPool.html#type\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"worker\",\"url\":\"classes/AbstractPool.html#worker\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/AbstractPool.html#minSize\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/AbstractPool.html#maxSize\",\"classes\":\"tsd-is-protected\",\"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\":\"updateRunTimeTasksUsage\",\"url\":\"classes/AbstractPool.html#updateRunTimeTasksUsage\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractPool\"},{\"kind\":2048,\"name\":\"updateWaitTimeTasksUsage\",\"url\":\"classes/AbstractPool.html#updateWaitTimeTasksUsage\",\"classes\":\"tsd-is-private\",\"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\":32,\"name\":\"PoolTypes\",\"url\":\"variables/PoolTypes.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"WorkerTypes\",\"url\":\"variables/WorkerTypes.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"IPool\",\"url\":\"interfaces/IPool.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"info\",\"url\":\"interfaces/IPool.html#info\",\"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\":\"PoolInfo\",\"url\":\"interfaces/PoolInfo.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/PoolInfo.html#type\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"worker\",\"url\":\"interfaces/PoolInfo.html#worker\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"minSize\",\"url\":\"interfaces/PoolInfo.html#minSize\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"maxSize\",\"url\":\"interfaces/PoolInfo.html#maxSize\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"workerNodes\",\"url\":\"interfaces/PoolInfo.html#workerNodes\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"idleWorkerNodes\",\"url\":\"interfaces/PoolInfo.html#idleWorkerNodes\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"busyWorkerNodes\",\"url\":\"interfaces/PoolInfo.html#busyWorkerNodes\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"runningTasks\",\"url\":\"interfaces/PoolInfo.html#runningTasks\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"queuedTasks\",\"url\":\"interfaces/PoolInfo.html#queuedTasks\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"kind\":1024,\"name\":\"maxQueuedTasks\",\"url\":\"interfaces/PoolInfo.html#maxQueuedTasks\",\"classes\":\"\",\"parent\":\"PoolInfo\"},{\"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\":\"restartWorkerOnError\",\"url\":\"interfaces/PoolOptions.html#restartWorkerOnError\",\"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\":\"PoolType\",\"url\":\"types/PoolType.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"TasksQueueOptions\",\"url\":\"interfaces/TasksQueueOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"concurrency\",\"url\":\"interfaces/TasksQueueOptions.html#concurrency\",\"classes\":\"\",\"parent\":\"TasksQueueOptions\"},{\"kind\":4194304,\"name\":\"WorkerType\",\"url\":\"types/WorkerType.html\",\"classes\":\"\"},{\"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\":\"submissionTimestamp\",\"url\":\"interfaces/Task.html#submissionTimestamp\",\"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\":\"ran\",\"url\":\"interfaces/TasksUsage.html#ran\",\"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\":\"waitTime\",\"url\":\"interfaces/TasksUsage.html#waitTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"waitTimeHistory\",\"url\":\"interfaces/TasksUsage.html#waitTimeHistory\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"avgWaitTime\",\"url\":\"interfaces/TasksUsage.html#avgWaitTime\",\"classes\":\"\",\"parent\":\"TasksUsage\"},{\"kind\":1024,\"name\":\"medWaitTime\",\"url\":\"interfaces/TasksUsage.html#medWaitTime\",\"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\":1024,\"name\":\"waitTime\",\"url\":\"interfaces/RequiredStatistics.html#waitTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":1024,\"name\":\"avgWaitTime\",\"url\":\"interfaces/RequiredStatistics.html#avgWaitTime\",\"classes\":\"\",\"parent\":\"RequiredStatistics\"},{\"kind\":1024,\"name\":\"medWaitTime\",\"url\":\"interfaces/RequiredStatistics.html#medWaitTime\",\"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\":\"medWaitTime\",\"url\":\"interfaces/WorkerChoiceStrategyOptions.html#medWaitTime\",\"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\":\"tsd-is-protected\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicThreadPool.html#type\",\"classes\":\"tsd-is-protected\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/DynamicThreadPool.html#maxSize\",\"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\":262144,\"name\":\"worker\",\"url\":\"classes/DynamicThreadPool.html#worker\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/DynamicThreadPool.html#minSize\",\"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-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicThreadPool.html#filePath\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicThreadPool.html#opts\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"info\",\"url\":\"classes/DynamicThreadPool.html#info\",\"classes\":\"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\":262144,\"name\":\"full\",\"url\":\"classes/DynamicThreadPool.html#full\",\"classes\":\"tsd-is-protected 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\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"worker\",\"url\":\"classes/FixedThreadPool.html#worker\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"minSize\",\"url\":\"classes/FixedThreadPool.html#minSize\",\"classes\":\"tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/FixedThreadPool.html#maxSize\",\"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-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedThreadPool.html#filePath\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedThreadPool.html#opts\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"info\",\"url\":\"classes/FixedThreadPool.html#info\",\"classes\":\"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\":262144,\"name\":\"full\",\"url\":\"classes/FixedThreadPool.html#full\",\"classes\":\"tsd-is-protected 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\":\"errorData\",\"url\":\"interfaces/MessageValue.html#errorData\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"runTime\",\"url\":\"interfaces/MessageValue.html#runTime\",\"classes\":\"\",\"parent\":\"MessageValue\"},{\"kind\":1024,\"name\":\"waitTime\",\"url\":\"interfaces/MessageValue.html#waitTime\",\"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\":\"submissionTimestamp\",\"url\":\"interfaces/MessageValue.html#submissionTimestamp\",\"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\":1024,\"name\":\"max\",\"url\":\"classes/Queue.html#max\",\"classes\":\"tsd-is-private\",\"parent\":\"Queue\"},{\"kind\":262144,\"name\":\"size\",\"url\":\"classes/Queue.html#size\",\"classes\":\"\",\"parent\":\"Queue\"},{\"kind\":262144,\"name\":\"maxSize\",\"url\":\"classes/Queue.html#maxSize\",\"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\"},{\"kind\":2048,\"name\":\"peek\",\"url\":\"classes/Queue.html#peek\",\"classes\":\"\",\"parent\":\"Queue\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,56.653]],[\"comment/0\",[]],[\"name/1\",[1,36.284]],[\"comment/1\",[]],[\"name/2\",[2,48.18]],[\"comment/2\",[]],[\"name/3\",[3,41.989]],[\"comment/3\",[]],[\"name/4\",[4,40.558]],[\"comment/4\",[]],[\"name/5\",[5,43.66]],[\"comment/5\",[]],[\"name/6\",[6,39.307]],[\"comment/6\",[]],[\"name/7\",[7,43.66]],[\"comment/7\",[]],[\"name/8\",[8,39.307]],[\"comment/8\",[]],[\"name/9\",[9,43.66]],[\"comment/9\",[]],[\"name/10\",[10,43.66]],[\"comment/10\",[]],[\"name/11\",[11,43.66]],[\"comment/11\",[]],[\"name/12\",[12,43.66]],[\"comment/12\",[]],[\"name/13\",[13,43.66]],[\"comment/13\",[]],[\"name/14\",[14,39.307]],[\"comment/14\",[]],[\"name/15\",[15,41.989]],[\"comment/15\",[]],[\"name/16\",[16,40.558]],[\"comment/16\",[]],[\"name/17\",[17,41.989]],[\"comment/17\",[]],[\"name/18\",[18,43.66]],[\"comment/18\",[]],[\"name/19\",[19,41.989]],[\"comment/19\",[]],[\"name/20\",[20,43.66]],[\"comment/20\",[]],[\"name/21\",[21,43.66]],[\"comment/21\",[]],[\"name/22\",[22,41.989]],[\"comment/22\",[]],[\"name/23\",[23,40.558]],[\"comment/23\",[]],[\"name/24\",[24,41.989]],[\"comment/24\",[]],[\"name/25\",[25,39.307]],[\"comment/25\",[]],[\"name/26\",[26,41.989]],[\"comment/26\",[]],[\"name/27\",[27,41.989]],[\"comment/27\",[]],[\"name/28\",[28,43.66]],[\"comment/28\",[]],[\"name/29\",[29,40.558]],[\"comment/29\",[]],[\"name/30\",[30,41.989]],[\"comment/30\",[]],[\"name/31\",[31,43.66]],[\"comment/31\",[]],[\"name/32\",[32,43.66]],[\"comment/32\",[]],[\"name/33\",[33,43.66]],[\"comment/33\",[]],[\"name/34\",[34,43.66]],[\"comment/34\",[]],[\"name/35\",[35,43.66]],[\"comment/35\",[]],[\"name/36\",[36,28.321]],[\"comment/36\",[]],[\"name/37\",[37,56.653]],[\"comment/37\",[]],[\"name/38\",[1,36.284]],[\"comment/38\",[]],[\"name/39\",[6,39.307]],[\"comment/39\",[]],[\"name/40\",[7,43.66]],[\"comment/40\",[]],[\"name/41\",[8,39.307]],[\"comment/41\",[]],[\"name/42\",[9,43.66]],[\"comment/42\",[]],[\"name/43\",[10,43.66]],[\"comment/43\",[]],[\"name/44\",[11,43.66]],[\"comment/44\",[]],[\"name/45\",[12,43.66]],[\"comment/45\",[]],[\"name/46\",[13,43.66]],[\"comment/46\",[]],[\"name/47\",[3,41.989]],[\"comment/47\",[]],[\"name/48\",[14,39.307]],[\"comment/48\",[]],[\"name/49\",[15,41.989]],[\"comment/49\",[]],[\"name/50\",[4,40.558]],[\"comment/50\",[]],[\"name/51\",[5,43.66]],[\"comment/51\",[]],[\"name/52\",[16,40.558]],[\"comment/52\",[]],[\"name/53\",[17,41.989]],[\"comment/53\",[]],[\"name/54\",[18,43.66]],[\"comment/54\",[]],[\"name/55\",[19,41.989]],[\"comment/55\",[]],[\"name/56\",[20,43.66]],[\"comment/56\",[]],[\"name/57\",[21,43.66]],[\"comment/57\",[]],[\"name/58\",[22,41.989]],[\"comment/58\",[]],[\"name/59\",[23,40.558]],[\"comment/59\",[]],[\"name/60\",[24,41.989]],[\"comment/60\",[]],[\"name/61\",[25,39.307]],[\"comment/61\",[]],[\"name/62\",[26,41.989]],[\"comment/62\",[]],[\"name/63\",[27,41.989]],[\"comment/63\",[]],[\"name/64\",[28,43.66]],[\"comment/64\",[]],[\"name/65\",[29,40.558]],[\"comment/65\",[]],[\"name/66\",[30,41.989]],[\"comment/66\",[]],[\"name/67\",[31,43.66]],[\"comment/67\",[]],[\"name/68\",[32,43.66]],[\"comment/68\",[]],[\"name/69\",[33,43.66]],[\"comment/69\",[]],[\"name/70\",[34,43.66]],[\"comment/70\",[]],[\"name/71\",[35,43.66]],[\"comment/71\",[]],[\"name/72\",[36,28.321]],[\"comment/72\",[]],[\"name/73\",[38,56.653]],[\"comment/73\",[]],[\"name/74\",[39,56.653]],[\"comment/74\",[]],[\"name/75\",[40,56.653]],[\"comment/75\",[]],[\"name/76\",[41,48.18]],[\"comment/76\",[]],[\"name/77\",[42,48.18]],[\"comment/77\",[]],[\"name/78\",[43,48.18]],[\"comment/78\",[]],[\"name/79\",[44,48.18]],[\"comment/79\",[]],[\"name/80\",[45,45.667]],[\"comment/80\",[]],[\"name/81\",[46,48.18]],[\"comment/81\",[]],[\"name/82\",[47,51.544]],[\"comment/82\",[]],[\"name/83\",[48,51.544]],[\"comment/83\",[]],[\"name/84\",[25,39.307]],[\"comment/84\",[]],[\"name/85\",[49,48.18]],[\"comment/85\",[]],[\"name/86\",[50,56.653]],[\"comment/86\",[]],[\"name/87\",[1,36.284]],[\"comment/87\",[]],[\"name/88\",[16,40.558]],[\"comment/88\",[]],[\"name/89\",[17,41.989]],[\"comment/89\",[]],[\"name/90\",[18,43.66]],[\"comment/90\",[]],[\"name/91\",[19,41.989]],[\"comment/91\",[]],[\"name/92\",[20,43.66]],[\"comment/92\",[]],[\"name/93\",[21,43.66]],[\"comment/93\",[]],[\"name/94\",[6,39.307]],[\"comment/94\",[]],[\"name/95\",[51,56.653]],[\"comment/95\",[]],[\"name/96\",[52,56.653]],[\"comment/96\",[]],[\"name/97\",[53,56.653]],[\"comment/97\",[]],[\"name/98\",[54,56.653]],[\"comment/98\",[]],[\"name/99\",[55,56.653]],[\"comment/99\",[]],[\"name/100\",[56,56.653]],[\"comment/100\",[]],[\"name/101\",[22,41.989]],[\"comment/101\",[]],[\"name/102\",[3,41.989]],[\"comment/102\",[]],[\"name/103\",[14,39.307]],[\"comment/103\",[]],[\"name/104\",[15,41.989]],[\"comment/104\",[]],[\"name/105\",[4,40.558]],[\"comment/105\",[]],[\"name/106\",[57,56.653]],[\"comment/106\",[]],[\"name/107\",[23,40.558]],[\"comment/107\",[]],[\"name/108\",[24,41.989]],[\"comment/108\",[]],[\"name/109\",[25,39.307]],[\"comment/109\",[]],[\"name/110\",[26,41.989]],[\"comment/110\",[]],[\"name/111\",[58,56.653]],[\"comment/111\",[]],[\"name/112\",[27,41.989]],[\"comment/112\",[]],[\"name/113\",[5,43.66]],[\"comment/113\",[]],[\"name/114\",[28,43.66]],[\"comment/114\",[]],[\"name/115\",[29,40.558]],[\"comment/115\",[]],[\"name/116\",[30,41.989]],[\"comment/116\",[]],[\"name/117\",[9,43.66]],[\"comment/117\",[]],[\"name/118\",[7,43.66]],[\"comment/118\",[]],[\"name/119\",[8,39.307]],[\"comment/119\",[]],[\"name/120\",[31,43.66]],[\"comment/120\",[]],[\"name/121\",[32,43.66]],[\"comment/121\",[]],[\"name/122\",[59,56.653]],[\"comment/122\",[]],[\"name/123\",[60,56.653]],[\"comment/123\",[]],[\"name/124\",[33,43.66]],[\"comment/124\",[]],[\"name/125\",[10,43.66]],[\"comment/125\",[]],[\"name/126\",[11,43.66]],[\"comment/126\",[]],[\"name/127\",[12,43.66]],[\"comment/127\",[]],[\"name/128\",[13,43.66]],[\"comment/128\",[]],[\"name/129\",[34,43.66]],[\"comment/129\",[]],[\"name/130\",[35,43.66]],[\"comment/130\",[]],[\"name/131\",[36,28.321]],[\"comment/131\",[]],[\"name/132\",[61,56.653]],[\"comment/132\",[]],[\"name/133\",[62,56.653]],[\"comment/133\",[]],[\"name/134\",[63,56.653]],[\"comment/134\",[]],[\"name/135\",[64,56.653]],[\"comment/135\",[]],[\"name/136\",[65,56.653]],[\"comment/136\",[]],[\"name/137\",[66,56.653]],[\"comment/137\",[]],[\"name/138\",[67,56.653]],[\"comment/138\",[]],[\"name/139\",[68,56.653]],[\"comment/139\",[]],[\"name/140\",[69,56.653]],[\"comment/140\",[]],[\"name/141\",[70,56.653]],[\"comment/141\",[]],[\"name/142\",[71,56.653]],[\"comment/142\",[]],[\"name/143\",[72,56.653]],[\"comment/143\",[]],[\"name/144\",[73,56.653]],[\"comment/144\",[]],[\"name/145\",[74,56.653]],[\"comment/145\",[]],[\"name/146\",[75,56.653]],[\"comment/146\",[]],[\"name/147\",[22,41.989]],[\"comment/147\",[]],[\"name/148\",[16,40.558]],[\"comment/148\",[]],[\"name/149\",[17,41.989]],[\"comment/149\",[]],[\"name/150\",[29,40.558]],[\"comment/150\",[]],[\"name/151\",[36,28.321]],[\"comment/151\",[]],[\"name/152\",[30,41.989]],[\"comment/152\",[]],[\"name/153\",[36,28.321]],[\"comment/153\",[]],[\"name/154\",[23,40.558]],[\"comment/154\",[]],[\"name/155\",[36,28.321]],[\"comment/155\",[]],[\"name/156\",[24,41.989]],[\"comment/156\",[]],[\"name/157\",[36,28.321]],[\"comment/157\",[]],[\"name/158\",[25,39.307]],[\"comment/158\",[]],[\"name/159\",[36,28.321]],[\"comment/159\",[]],[\"name/160\",[26,41.989]],[\"comment/160\",[]],[\"name/161\",[36,28.321]],[\"comment/161\",[]],[\"name/162\",[76,56.653]],[\"comment/162\",[]],[\"name/163\",[77,56.653]],[\"comment/163\",[]],[\"name/164\",[78,56.653]],[\"comment/164\",[]],[\"name/165\",[3,41.989]],[\"comment/165\",[]],[\"name/166\",[14,39.307]],[\"comment/166\",[]],[\"name/167\",[15,41.989]],[\"comment/167\",[]],[\"name/168\",[4,40.558]],[\"comment/168\",[]],[\"name/169\",[16,40.558]],[\"comment/169\",[]],[\"name/170\",[79,56.653]],[\"comment/170\",[]],[\"name/171\",[80,56.653]],[\"comment/171\",[]],[\"name/172\",[81,56.653]],[\"comment/172\",[]],[\"name/173\",[82,56.653]],[\"comment/173\",[]],[\"name/174\",[83,56.653]],[\"comment/174\",[]],[\"name/175\",[84,56.653]],[\"comment/175\",[]],[\"name/176\",[41,48.18]],[\"comment/176\",[]],[\"name/177\",[42,48.18]],[\"comment/177\",[]],[\"name/178\",[43,48.18]],[\"comment/178\",[]],[\"name/179\",[44,48.18]],[\"comment/179\",[]],[\"name/180\",[45,45.667]],[\"comment/180\",[]],[\"name/181\",[46,48.18]],[\"comment/181\",[]],[\"name/182\",[47,51.544]],[\"comment/182\",[]],[\"name/183\",[48,51.544]],[\"comment/183\",[]],[\"name/184\",[25,39.307]],[\"comment/184\",[]],[\"name/185\",[49,48.18]],[\"comment/185\",[]],[\"name/186\",[85,56.653]],[\"comment/186\",[]],[\"name/187\",[49,48.18]],[\"comment/187\",[]],[\"name/188\",[86,56.653]],[\"comment/188\",[]],[\"name/189\",[87,56.653]],[\"comment/189\",[]],[\"name/190\",[42,48.18]],[\"comment/190\",[]],[\"name/191\",[36,28.321]],[\"comment/191\",[]],[\"name/192\",[44,48.18]],[\"comment/192\",[]],[\"name/193\",[36,28.321]],[\"comment/193\",[]],[\"name/194\",[88,56.653]],[\"comment/194\",[]],[\"name/195\",[89,56.653]],[\"comment/195\",[]],[\"name/196\",[90,56.653]],[\"comment/196\",[]],[\"name/197\",[36,28.321]],[\"comment/197\",[]],[\"name/198\",[41,48.18]],[\"comment/198\",[]],[\"name/199\",[36,28.321]],[\"comment/199\",[]],[\"name/200\",[43,48.18]],[\"comment/200\",[]],[\"name/201\",[36,28.321]],[\"comment/201\",[]],[\"name/202\",[91,56.653]],[\"comment/202\",[]],[\"name/203\",[92,51.544]],[\"comment/203\",[]],[\"name/204\",[93,51.544]],[\"comment/204\",[]],[\"name/205\",[94,51.544]],[\"comment/205\",[]],[\"name/206\",[95,51.544]],[\"comment/206\",[]],[\"name/207\",[96,51.544]],[\"comment/207\",[]],[\"name/208\",[97,56.653]],[\"comment/208\",[]],[\"name/209\",[98,56.653]],[\"comment/209\",[]],[\"name/210\",[99,48.18]],[\"comment/210\",[]],[\"name/211\",[100,56.653]],[\"comment/211\",[]],[\"name/212\",[101,51.544]],[\"comment/212\",[]],[\"name/213\",[102,48.18]],[\"comment/213\",[]],[\"name/214\",[103,48.18]],[\"comment/214\",[]],[\"name/215\",[104,56.653]],[\"comment/215\",[]],[\"name/216\",[105,51.544]],[\"comment/216\",[]],[\"name/217\",[106,48.18]],[\"comment/217\",[]],[\"name/218\",[107,51.544]],[\"comment/218\",[]],[\"name/219\",[108,56.653]],[\"comment/219\",[]],[\"name/220\",[14,39.307]],[\"comment/220\",[]],[\"name/221\",[96,51.544]],[\"comment/221\",[]],[\"name/222\",[109,56.653]],[\"comment/222\",[]],[\"name/223\",[110,51.544]],[\"comment/223\",[]],[\"name/224\",[111,56.653]],[\"comment/224\",[]],[\"name/225\",[112,51.544]],[\"comment/225\",[]],[\"name/226\",[113,56.653]],[\"comment/226\",[]],[\"name/227\",[36,28.321]],[\"comment/227\",[]],[\"name/228\",[114,51.544]],[\"comment/228\",[]],[\"name/229\",[36,28.321]],[\"comment/229\",[]],[\"name/230\",[115,56.653]],[\"comment/230\",[]],[\"name/231\",[36,28.321]],[\"comment/231\",[]],[\"name/232\",[116,51.544]],[\"comment/232\",[]],[\"name/233\",[36,28.321]],[\"comment/233\",[]],[\"name/234\",[117,51.544]],[\"comment/234\",[]],[\"name/235\",[36,28.321]],[\"comment/235\",[]],[\"name/236\",[112,51.544]],[\"comment/236\",[]],[\"name/237\",[99,48.18]],[\"comment/237\",[]],[\"name/238\",[101,51.544]],[\"comment/238\",[]],[\"name/239\",[102,48.18]],[\"comment/239\",[]],[\"name/240\",[103,48.18]],[\"comment/240\",[]],[\"name/241\",[105,51.544]],[\"comment/241\",[]],[\"name/242\",[106,48.18]],[\"comment/242\",[]],[\"name/243\",[45,45.667]],[\"comment/243\",[]],[\"name/244\",[46,48.18]],[\"comment/244\",[]],[\"name/245\",[102,48.18]],[\"comment/245\",[]],[\"name/246\",[106,48.18]],[\"comment/246\",[]],[\"name/247\",[118,56.653]],[\"comment/247\",[]],[\"name/248\",[19,41.989]],[\"comment/248\",[]],[\"name/249\",[1,36.284]],[\"comment/249\",[]],[\"name/250\",[110,51.544]],[\"comment/250\",[]],[\"name/251\",[45,45.667]],[\"comment/251\",[]],[\"name/252\",[119,56.653]],[\"comment/252\",[]],[\"name/253\",[23,40.558]],[\"comment/253\",[]],[\"name/254\",[114,51.544]],[\"comment/254\",[]],[\"name/255\",[29,40.558]],[\"comment/255\",[]],[\"name/256\",[116,51.544]],[\"comment/256\",[]],[\"name/257\",[117,51.544]],[\"comment/257\",[]],[\"name/258\",[120,56.653]],[\"comment/258\",[]],[\"name/259\",[1,36.284]],[\"comment/259\",[]],[\"name/260\",[2,48.18]],[\"comment/260\",[]],[\"name/261\",[3,41.989]],[\"comment/261\",[]],[\"name/262\",[4,40.558]],[\"comment/262\",[]],[\"name/263\",[5,43.66]],[\"comment/263\",[]],[\"name/264\",[8,39.307]],[\"comment/264\",[]],[\"name/265\",[9,43.66]],[\"comment/265\",[]],[\"name/266\",[10,43.66]],[\"comment/266\",[]],[\"name/267\",[11,43.66]],[\"comment/267\",[]],[\"name/268\",[12,43.66]],[\"comment/268\",[]],[\"name/269\",[13,43.66]],[\"comment/269\",[]],[\"name/270\",[14,39.307]],[\"comment/270\",[]],[\"name/271\",[15,41.989]],[\"comment/271\",[]],[\"name/272\",[16,40.558]],[\"comment/272\",[]],[\"name/273\",[17,41.989]],[\"comment/273\",[]],[\"name/274\",[18,43.66]],[\"comment/274\",[]],[\"name/275\",[19,41.989]],[\"comment/275\",[]],[\"name/276\",[20,43.66]],[\"comment/276\",[]],[\"name/277\",[21,43.66]],[\"comment/277\",[]],[\"name/278\",[6,39.307]],[\"comment/278\",[]],[\"name/279\",[22,41.989]],[\"comment/279\",[]],[\"name/280\",[23,40.558]],[\"comment/280\",[]],[\"name/281\",[24,41.989]],[\"comment/281\",[]],[\"name/282\",[25,39.307]],[\"comment/282\",[]],[\"name/283\",[26,41.989]],[\"comment/283\",[]],[\"name/284\",[27,41.989]],[\"comment/284\",[]],[\"name/285\",[28,43.66]],[\"comment/285\",[]],[\"name/286\",[29,40.558]],[\"comment/286\",[]],[\"name/287\",[30,41.989]],[\"comment/287\",[]],[\"name/288\",[7,43.66]],[\"comment/288\",[]],[\"name/289\",[31,43.66]],[\"comment/289\",[]],[\"name/290\",[32,43.66]],[\"comment/290\",[]],[\"name/291\",[33,43.66]],[\"comment/291\",[]],[\"name/292\",[34,43.66]],[\"comment/292\",[]],[\"name/293\",[35,43.66]],[\"comment/293\",[]],[\"name/294\",[36,28.321]],[\"comment/294\",[]],[\"name/295\",[121,56.653]],[\"comment/295\",[]],[\"name/296\",[1,36.284]],[\"comment/296\",[]],[\"name/297\",[8,39.307]],[\"comment/297\",[]],[\"name/298\",[9,43.66]],[\"comment/298\",[]],[\"name/299\",[10,43.66]],[\"comment/299\",[]],[\"name/300\",[11,43.66]],[\"comment/300\",[]],[\"name/301\",[12,43.66]],[\"comment/301\",[]],[\"name/302\",[13,43.66]],[\"comment/302\",[]],[\"name/303\",[3,41.989]],[\"comment/303\",[]],[\"name/304\",[14,39.307]],[\"comment/304\",[]],[\"name/305\",[15,41.989]],[\"comment/305\",[]],[\"name/306\",[4,40.558]],[\"comment/306\",[]],[\"name/307\",[5,43.66]],[\"comment/307\",[]],[\"name/308\",[16,40.558]],[\"comment/308\",[]],[\"name/309\",[17,41.989]],[\"comment/309\",[]],[\"name/310\",[18,43.66]],[\"comment/310\",[]],[\"name/311\",[19,41.989]],[\"comment/311\",[]],[\"name/312\",[20,43.66]],[\"comment/312\",[]],[\"name/313\",[21,43.66]],[\"comment/313\",[]],[\"name/314\",[6,39.307]],[\"comment/314\",[]],[\"name/315\",[22,41.989]],[\"comment/315\",[]],[\"name/316\",[23,40.558]],[\"comment/316\",[]],[\"name/317\",[24,41.989]],[\"comment/317\",[]],[\"name/318\",[25,39.307]],[\"comment/318\",[]],[\"name/319\",[26,41.989]],[\"comment/319\",[]],[\"name/320\",[27,41.989]],[\"comment/320\",[]],[\"name/321\",[28,43.66]],[\"comment/321\",[]],[\"name/322\",[29,40.558]],[\"comment/322\",[]],[\"name/323\",[30,41.989]],[\"comment/323\",[]],[\"name/324\",[7,43.66]],[\"comment/324\",[]],[\"name/325\",[31,43.66]],[\"comment/325\",[]],[\"name/326\",[32,43.66]],[\"comment/326\",[]],[\"name/327\",[33,43.66]],[\"comment/327\",[]],[\"name/328\",[34,43.66]],[\"comment/328\",[]],[\"name/329\",[35,43.66]],[\"comment/329\",[]],[\"name/330\",[36,28.321]],[\"comment/330\",[]],[\"name/331\",[122,56.653]],[\"comment/331\",[]],[\"name/332\",[123,56.653]],[\"comment/332\",[]],[\"name/333\",[1,36.284]],[\"comment/333\",[]],[\"name/334\",[124,45.667]],[\"comment/334\",[]],[\"name/335\",[125,48.18]],[\"comment/335\",[]],[\"name/336\",[126,48.18]],[\"comment/336\",[]],[\"name/337\",[8,39.307]],[\"comment/337\",[]],[\"name/338\",[127,48.18]],[\"comment/338\",[]],[\"name/339\",[6,39.307]],[\"comment/339\",[]],[\"name/340\",[128,56.653]],[\"comment/340\",[]],[\"name/341\",[129,56.653]],[\"comment/341\",[]],[\"name/342\",[130,48.18]],[\"comment/342\",[]],[\"name/343\",[131,48.18]],[\"comment/343\",[]],[\"name/344\",[132,48.18]],[\"comment/344\",[]],[\"name/345\",[133,48.18]],[\"comment/345\",[]],[\"name/346\",[134,48.18]],[\"comment/346\",[]],[\"name/347\",[135,48.18]],[\"comment/347\",[]],[\"name/348\",[136,48.18]],[\"comment/348\",[]],[\"name/349\",[137,56.653]],[\"comment/349\",[]],[\"name/350\",[138,56.653]],[\"comment/350\",[]],[\"name/351\",[1,36.284]],[\"comment/351\",[]],[\"name/352\",[132,48.18]],[\"comment/352\",[]],[\"name/353\",[134,48.18]],[\"comment/353\",[]],[\"name/354\",[124,45.667]],[\"comment/354\",[]],[\"name/355\",[125,48.18]],[\"comment/355\",[]],[\"name/356\",[126,48.18]],[\"comment/356\",[]],[\"name/357\",[8,39.307]],[\"comment/357\",[]],[\"name/358\",[127,48.18]],[\"comment/358\",[]],[\"name/359\",[6,39.307]],[\"comment/359\",[]],[\"name/360\",[130,48.18]],[\"comment/360\",[]],[\"name/361\",[131,48.18]],[\"comment/361\",[]],[\"name/362\",[133,48.18]],[\"comment/362\",[]],[\"name/363\",[135,48.18]],[\"comment/363\",[]],[\"name/364\",[136,48.18]],[\"comment/364\",[]],[\"name/365\",[139,56.653]],[\"comment/365\",[]],[\"name/366\",[1,36.284]],[\"comment/366\",[]],[\"name/367\",[132,48.18]],[\"comment/367\",[]],[\"name/368\",[124,45.667]],[\"comment/368\",[]],[\"name/369\",[125,48.18]],[\"comment/369\",[]],[\"name/370\",[126,48.18]],[\"comment/370\",[]],[\"name/371\",[8,39.307]],[\"comment/371\",[]],[\"name/372\",[127,48.18]],[\"comment/372\",[]],[\"name/373\",[6,39.307]],[\"comment/373\",[]],[\"name/374\",[130,48.18]],[\"comment/374\",[]],[\"name/375\",[131,48.18]],[\"comment/375\",[]],[\"name/376\",[133,48.18]],[\"comment/376\",[]],[\"name/377\",[134,48.18]],[\"comment/377\",[]],[\"name/378\",[135,48.18]],[\"comment/378\",[]],[\"name/379\",[136,48.18]],[\"comment/379\",[]],[\"name/380\",[140,56.653]],[\"comment/380\",[]],[\"name/381\",[141,51.544]],[\"comment/381\",[]],[\"name/382\",[142,56.653]],[\"comment/382\",[]],[\"name/383\",[143,56.653]],[\"comment/383\",[]],[\"name/384\",[144,56.653]],[\"comment/384\",[]],[\"name/385\",[141,51.544]],[\"comment/385\",[]],[\"name/386\",[145,56.653]],[\"comment/386\",[]],[\"name/387\",[146,56.653]],[\"comment/387\",[]],[\"name/388\",[147,56.653]],[\"comment/388\",[]],[\"name/389\",[107,51.544]],[\"comment/389\",[]],[\"name/390\",[148,56.653]],[\"comment/390\",[]],[\"name/391\",[99,48.18]],[\"comment/391\",[]],[\"name/392\",[103,48.18]],[\"comment/392\",[]],[\"name/393\",[149,56.653]],[\"comment/393\",[]],[\"name/394\",[92,51.544]],[\"comment/394\",[]],[\"name/395\",[93,51.544]],[\"comment/395\",[]],[\"name/396\",[94,51.544]],[\"comment/396\",[]],[\"name/397\",[95,51.544]],[\"comment/397\",[]],[\"name/398\",[150,56.653]],[\"comment/398\",[]],[\"name/399\",[151,56.653]],[\"comment/399\",[]],[\"name/400\",[36,28.321]],[\"comment/400\",[]],[\"name/401\",[152,56.653]],[\"comment/401\",[]],[\"name/402\",[36,28.321]],[\"comment/402\",[]],[\"name/403\",[14,39.307]],[\"comment/403\",[]],[\"name/404\",[124,45.667]],[\"comment/404\",[]],[\"name/405\",[153,56.653]],[\"comment/405\",[]],[\"name/406\",[36,28.321]],[\"comment/406\",[]],[\"name/407\",[154,56.653]],[\"comment/407\",[]],[\"name/408\",[155,56.653]],[\"comment/408\",[]],[\"name/409\",[36,28.321]],[\"comment/409\",[]],[\"name/410\",[156,56.653]],[\"comment/410\",[]],[\"name/411\",[1,36.284]],[\"comment/411\",[]],[\"name/412\",[157,51.544]],[\"comment/412\",[]],[\"name/413\",[158,56.653]],[\"comment/413\",[]],[\"name/414\",[159,56.653]],[\"comment/414\",[]],[\"name/415\",[160,56.653]],[\"comment/415\",[]],[\"name/416\",[161,56.653]],[\"comment/416\",[]],[\"name/417\",[162,56.653]],[\"comment/417\",[]],[\"name/418\",[163,56.653]],[\"comment/418\",[]],[\"name/419\",[27,41.989]],[\"comment/419\",[]],[\"name/420\",[164,56.653]],[\"comment/420\",[]],[\"name/421\",[165,56.653]],[\"comment/421\",[]],[\"name/422\",[1,36.284]],[\"comment/422\",[]],[\"name/423\",[166,56.653]],[\"comment/423\",[]],[\"name/424\",[167,56.653]],[\"comment/424\",[]],[\"name/425\",[168,56.653]],[\"comment/425\",[]],[\"name/426\",[2,48.18]],[\"comment/426\",[]],[\"name/427\",[157,51.544]],[\"comment/427\",[]],[\"name/428\",[4,40.558]],[\"comment/428\",[]],[\"name/429\",[169,56.653]],[\"comment/429\",[]],[\"name/430\",[170,56.653]],[\"comment/430\",[]],[\"name/431\",[171,56.653]],[\"comment/431\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":36,\"name\":{\"36\":{},\"72\":{},\"131\":{},\"151\":{},\"153\":{},\"155\":{},\"157\":{},\"159\":{},\"161\":{},\"191\":{},\"193\":{},\"197\":{},\"199\":{},\"201\":{},\"227\":{},\"229\":{},\"231\":{},\"233\":{},\"235\":{},\"294\":{},\"330\":{},\"400\":{},\"402\":{},\"406\":{},\"409\":{}},\"comment\":{}}],[\"abstractpool\",{\"_index\":50,\"name\":{\"86\":{}},\"comment\":{}}],[\"abstractworker\",{\"_index\":123,\"name\":{\"332\":{}},\"comment\":{}}],[\"aftertaskexecutionhook\",{\"_index\":32,\"name\":{\"32\":{},\"68\":{},\"121\":{},\"290\":{},\"326\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":13,\"name\":{\"13\":{},\"46\":{},\"128\":{},\"269\":{},\"302\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":126,\"name\":{\"336\":{},\"356\":{},\"370\":{}},\"comment\":{}}],[\"async\",{\"_index\":144,\"name\":{\"384\":{}},\"comment\":{}}],[\"avgruntime\",{\"_index\":101,\"name\":{\"212\":{},\"238\":{}},\"comment\":{}}],[\"avgwaittime\",{\"_index\":105,\"name\":{\"216\":{},\"241\":{}},\"comment\":{}}],[\"beforetaskexecutionhook\",{\"_index\":31,\"name\":{\"31\":{},\"67\":{},\"120\":{},\"289\":{},\"325\":{}},\"comment\":{}}],[\"buildtasksqueueoptions\",{\"_index\":58,\"name\":{\"111\":{}},\"comment\":{}}],[\"busy\",{\"_index\":5,\"name\":{\"5\":{},\"51\":{},\"113\":{},\"263\":{},\"307\":{}},\"comment\":{}}],[\"busyworkernodes\",{\"_index\":80,\"name\":{\"171\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":133,\"name\":{\"345\":{},\"362\":{},\"376\":{}},\"comment\":{}}],[\"checkandemitevents\",{\"_index\":61,\"name\":{\"132\":{}},\"comment\":{}}],[\"checkfilepath\",{\"_index\":51,\"name\":{\"95\":{}},\"comment\":{}}],[\"checknumberofworkers\",{\"_index\":52,\"name\":{\"96\":{}},\"comment\":{}}],[\"checkpooloptions\",{\"_index\":53,\"name\":{\"97\":{}},\"comment\":{}}],[\"checksize\",{\"_index\":164,\"name\":{\"420\":{}},\"comment\":{}}],[\"checktaskfunctions\",{\"_index\":129,\"name\":{\"341\":{}},\"comment\":{}}],[\"checkvalidtasksqueueoptions\",{\"_index\":56,\"name\":{\"100\":{}},\"comment\":{}}],[\"checkvalidworkerchoicestrategy\",{\"_index\":54,\"name\":{\"98\":{}},\"comment\":{}}],[\"checkvalidworkerchoicestrategyoptions\",{\"_index\":55,\"name\":{\"99\":{}},\"comment\":{}}],[\"checkworkeroptions\",{\"_index\":128,\"name\":{\"340\":{}},\"comment\":{}}],[\"choose\",{\"_index\":115,\"name\":{\"230\":{}},\"comment\":{}}],[\"chooseworkernode\",{\"_index\":33,\"name\":{\"33\":{},\"69\":{},\"124\":{},\"291\":{},\"327\":{}},\"comment\":{}}],[\"circulararray\",{\"_index\":156,\"name\":{\"410\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":38,\"name\":{\"73\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":138,\"name\":{\"350\":{}},\"comment\":{}}],[\"concat\",{\"_index\":160,\"name\":{\"415\":{}},\"comment\":{}}],[\"concurrency\",{\"_index\":86,\"name\":{\"188\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"38\":{},\"87\":{},\"249\":{},\"259\":{},\"296\":{},\"333\":{},\"351\":{},\"366\":{},\"411\":{},\"422\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":34,\"name\":{\"34\":{},\"70\":{},\"129\":{},\"292\":{},\"328\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":12,\"name\":{\"12\":{},\"45\":{},\"127\":{},\"268\":{},\"301\":{}},\"comment\":{}}],[\"data\",{\"_index\":93,\"name\":{\"204\":{},\"395\":{}},\"comment\":{}}],[\"dequeue\",{\"_index\":170,\"name\":{\"430\":{}},\"comment\":{}}],[\"dequeuetask\",{\"_index\":68,\"name\":{\"139\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":30,\"name\":{\"30\":{},\"66\":{},\"116\":{},\"152\":{},\"287\":{},\"323\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":9,\"name\":{\"9\":{},\"42\":{},\"117\":{},\"265\":{},\"298\":{}},\"comment\":{}}],[\"draft\",{\"_index\":145,\"name\":{\"386\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":120,\"name\":{\"258\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":17,\"name\":{\"17\":{},\"53\":{},\"89\":{},\"149\":{},\"273\":{},\"309\":{}},\"comment\":{}}],[\"empty\",{\"_index\":163,\"name\":{\"418\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":48,\"name\":{\"83\":{},\"183\":{}},\"comment\":{}}],[\"enabletasksqueue\",{\"_index\":25,\"name\":{\"25\":{},\"61\":{},\"84\":{},\"109\":{},\"158\":{},\"184\":{},\"282\":{},\"318\":{}},\"comment\":{}}],[\"enqueue\",{\"_index\":169,\"name\":{\"429\":{}},\"comment\":{}}],[\"enqueuetask\",{\"_index\":67,\"name\":{\"138\":{}},\"comment\":{}}],[\"env\",{\"_index\":39,\"name\":{\"74\":{}},\"comment\":{}}],[\"error\",{\"_index\":107,\"name\":{\"218\":{},\"389\":{}},\"comment\":{}}],[\"errordata\",{\"_index\":148,\"name\":{\"390\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":42,\"name\":{\"77\":{},\"177\":{},\"190\":{}},\"comment\":{}}],[\"execute\",{\"_index\":29,\"name\":{\"29\":{},\"65\":{},\"115\":{},\"150\":{},\"255\":{},\"286\":{},\"322\":{}},\"comment\":{}}],[\"executetask\",{\"_index\":66,\"name\":{\"137\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":44,\"name\":{\"79\":{},\"179\":{},\"192\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":21,\"name\":{\"21\":{},\"57\":{},\"93\":{},\"277\":{},\"313\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":37,\"name\":{\"37\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":121,\"name\":{\"295\":{}},\"comment\":{}}],[\"flushtasksqueue\",{\"_index\":70,\"name\":{\"141\":{}},\"comment\":{}}],[\"flushtasksqueues\",{\"_index\":71,\"name\":{\"142\":{}},\"comment\":{}}],[\"full\",{\"_index\":27,\"name\":{\"27\":{},\"63\":{},\"112\":{},\"284\":{},\"320\":{},\"419\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":131,\"name\":{\"343\":{},\"361\":{},\"375\":{}},\"comment\":{}}],[\"getrequiredstatistics\",{\"_index\":119,\"name\":{\"252\":{}},\"comment\":{}}],[\"gettaskfunction\",{\"_index\":137,\"name\":{\"349\":{}},\"comment\":{}}],[\"getworkernodekey\",{\"_index\":57,\"name\":{\"106\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":134,\"name\":{\"346\":{},\"353\":{},\"377\":{}},\"comment\":{}}],[\"head\",{\"_index\":167,\"name\":{\"424\":{}},\"comment\":{}}],[\"id\",{\"_index\":95,\"name\":{\"206\":{},\"397\":{}},\"comment\":{}}],[\"idleworkernodes\",{\"_index\":79,\"name\":{\"170\":{}},\"comment\":{}}],[\"info\",{\"_index\":22,\"name\":{\"22\":{},\"58\":{},\"101\":{},\"147\":{},\"279\":{},\"315\":{}},\"comment\":{}}],[\"internalbusy\",{\"_index\":28,\"name\":{\"28\":{},\"64\":{},\"114\":{},\"285\":{},\"321\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":75,\"name\":{\"146\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":8,\"name\":{\"8\":{},\"41\":{},\"119\":{},\"264\":{},\"297\":{},\"337\":{},\"357\":{},\"371\":{}},\"comment\":{}}],[\"items\",{\"_index\":166,\"name\":{\"423\":{}},\"comment\":{}}],[\"iworker\",{\"_index\":88,\"name\":{\"194\":{}},\"comment\":{}}],[\"iworkerchoicestrategy\",{\"_index\":111,\"name\":{\"224\":{}},\"comment\":{}}],[\"kill\",{\"_index\":147,\"name\":{\"388\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":141,\"name\":{\"381\":{},\"385\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":140,\"name\":{\"380\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":125,\"name\":{\"335\":{},\"355\":{},\"369\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":127,\"name\":{\"338\":{},\"358\":{},\"372\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"260\":{},\"426\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":143,\"name\":{\"383\":{}},\"comment\":{}}],[\"maxqueuedtasks\",{\"_index\":83,\"name\":{\"174\":{}},\"comment\":{}}],[\"maxsize\",{\"_index\":4,\"name\":{\"4\":{},\"50\":{},\"105\":{},\"168\":{},\"262\":{},\"306\":{},\"428\":{}},\"comment\":{}}],[\"medruntime\",{\"_index\":102,\"name\":{\"213\":{},\"239\":{},\"245\":{}},\"comment\":{}}],[\"medwaittime\",{\"_index\":106,\"name\":{\"217\":{},\"242\":{},\"246\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":41,\"name\":{\"76\":{},\"176\":{},\"198\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":130,\"name\":{\"342\":{},\"360\":{},\"374\":{}},\"comment\":{}}],[\"messagevalue\",{\"_index\":146,\"name\":{\"387\":{}},\"comment\":{}}],[\"minsize\",{\"_index\":15,\"name\":{\"15\":{},\"49\":{},\"104\":{},\"167\":{},\"271\":{},\"305\":{}},\"comment\":{}}],[\"name\",{\"_index\":92,\"name\":{\"203\":{},\"394\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":20,\"name\":{\"20\":{},\"56\":{},\"92\":{},\"276\":{},\"312\":{}},\"comment\":{}}],[\"on\",{\"_index\":89,\"name\":{\"195\":{}},\"comment\":{}}],[\"once\",{\"_index\":90,\"name\":{\"196\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":43,\"name\":{\"78\":{},\"178\":{},\"200\":{}},\"comment\":{}}],[\"opts\",{\"_index\":6,\"name\":{\"6\":{},\"39\":{},\"94\":{},\"278\":{},\"314\":{},\"339\":{},\"359\":{},\"373\":{}},\"comment\":{}}],[\"parent\",{\"_index\":149,\"name\":{\"393\":{}},\"comment\":{}}],[\"peek\",{\"_index\":171,\"name\":{\"431\":{}},\"comment\":{}}],[\"poolemitter\",{\"_index\":76,\"name\":{\"162\":{}},\"comment\":{}}],[\"poolevent\",{\"_index\":77,\"name\":{\"163\":{}},\"comment\":{}}],[\"poolevents\",{\"_index\":72,\"name\":{\"143\":{}},\"comment\":{}}],[\"poolinfo\",{\"_index\":78,\"name\":{\"164\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":84,\"name\":{\"175\":{}},\"comment\":{}}],[\"pooltype\",{\"_index\":85,\"name\":{\"186\":{}},\"comment\":{}}],[\"pooltypes\",{\"_index\":73,\"name\":{\"144\":{}},\"comment\":{}}],[\"promiseresponsemap\",{\"_index\":18,\"name\":{\"18\":{},\"54\":{},\"90\":{},\"274\":{},\"310\":{}},\"comment\":{}}],[\"promiseresponsewrapper\",{\"_index\":150,\"name\":{\"398\":{}},\"comment\":{}}],[\"push\",{\"_index\":158,\"name\":{\"413\":{}},\"comment\":{}}],[\"pushworkernode\",{\"_index\":63,\"name\":{\"134\":{}},\"comment\":{}}],[\"queue\",{\"_index\":165,\"name\":{\"421\":{}},\"comment\":{}}],[\"queuedtasks\",{\"_index\":82,\"name\":{\"173\":{}},\"comment\":{}}],[\"ran\",{\"_index\":97,\"name\":{\"208\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":11,\"name\":{\"11\":{},\"44\":{},\"126\":{},\"267\":{},\"300\":{}},\"comment\":{}}],[\"reject\",{\"_index\":152,\"name\":{\"401\":{}},\"comment\":{}}],[\"remove\",{\"_index\":116,\"name\":{\"232\":{},\"256\":{}},\"comment\":{}}],[\"removeworkernode\",{\"_index\":65,\"name\":{\"136\":{}},\"comment\":{}}],[\"requiredstatistics\",{\"_index\":112,\"name\":{\"225\":{},\"236\":{}},\"comment\":{}}],[\"reset\",{\"_index\":113,\"name\":{\"226\":{}},\"comment\":{}}],[\"resize\",{\"_index\":162,\"name\":{\"417\":{}},\"comment\":{}}],[\"resolve\",{\"_index\":151,\"name\":{\"399\":{}},\"comment\":{}}],[\"restartworkeronerror\",{\"_index\":47,\"name\":{\"82\":{},\"182\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":136,\"name\":{\"348\":{},\"364\":{},\"379\":{}},\"comment\":{}}],[\"running\",{\"_index\":98,\"name\":{\"209\":{}},\"comment\":{}}],[\"runningtasks\",{\"_index\":81,\"name\":{\"172\":{}},\"comment\":{}}],[\"runsync\",{\"_index\":135,\"name\":{\"347\":{},\"363\":{},\"378\":{}},\"comment\":{}}],[\"runtime\",{\"_index\":99,\"name\":{\"210\":{},\"237\":{},\"391\":{}},\"comment\":{}}],[\"runtimehistory\",{\"_index\":100,\"name\":{\"211\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":132,\"name\":{\"344\":{},\"352\":{},\"367\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":10,\"name\":{\"10\":{},\"43\":{},\"125\":{},\"266\":{},\"299\":{}},\"comment\":{}}],[\"setoptions\",{\"_index\":117,\"name\":{\"234\":{},\"257\":{}},\"comment\":{}}],[\"settasksqueueoptions\",{\"_index\":26,\"name\":{\"26\":{},\"62\":{},\"110\":{},\"160\":{},\"283\":{},\"319\":{}},\"comment\":{}}],[\"settings\",{\"_index\":40,\"name\":{\"75\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":7,\"name\":{\"7\":{},\"40\":{},\"118\":{},\"288\":{},\"324\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":23,\"name\":{\"23\":{},\"59\":{},\"107\":{},\"154\":{},\"253\":{},\"280\":{},\"316\":{}},\"comment\":{}}],[\"setworkerchoicestrategyoptions\",{\"_index\":24,\"name\":{\"24\":{},\"60\":{},\"108\":{},\"156\":{},\"281\":{},\"317\":{}},\"comment\":{}}],[\"setworkernode\",{\"_index\":64,\"name\":{\"135\":{}},\"comment\":{}}],[\"setworkernodetasksusage\",{\"_index\":62,\"name\":{\"133\":{}},\"comment\":{}}],[\"size\",{\"_index\":157,\"name\":{\"412\":{},\"427\":{}},\"comment\":{}}],[\"splice\",{\"_index\":161,\"name\":{\"416\":{}},\"comment\":{}}],[\"submissiontimestamp\",{\"_index\":94,\"name\":{\"205\":{},\"396\":{}},\"comment\":{}}],[\"tail\",{\"_index\":168,\"name\":{\"425\":{}},\"comment\":{}}],[\"task\",{\"_index\":91,\"name\":{\"202\":{}},\"comment\":{}}],[\"taskfunctions\",{\"_index\":124,\"name\":{\"334\":{},\"354\":{},\"368\":{},\"404\":{}},\"comment\":{}}],[\"tasksqueue\",{\"_index\":109,\"name\":{\"222\":{}},\"comment\":{}}],[\"tasksqueueoptions\",{\"_index\":49,\"name\":{\"85\":{},\"185\":{},\"187\":{}},\"comment\":{}}],[\"tasksqueuesize\",{\"_index\":69,\"name\":{\"140\":{}},\"comment\":{}}],[\"tasksusage\",{\"_index\":96,\"name\":{\"207\":{},\"221\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":139,\"name\":{\"365\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":122,\"name\":{\"331\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"47\":{},\"102\":{},\"165\":{},\"261\":{},\"303\":{}},\"comment\":{}}],[\"unshift\",{\"_index\":159,\"name\":{\"414\":{}},\"comment\":{}}],[\"update\",{\"_index\":114,\"name\":{\"228\":{},\"254\":{}},\"comment\":{}}],[\"updateruntimetasksusage\",{\"_index\":59,\"name\":{\"122\":{}},\"comment\":{}}],[\"updatewaittimetasksusage\",{\"_index\":60,\"name\":{\"123\":{}},\"comment\":{}}],[\"waittime\",{\"_index\":103,\"name\":{\"214\":{},\"240\":{},\"392\":{}},\"comment\":{}}],[\"waittimehistory\",{\"_index\":104,\"name\":{\"215\":{}},\"comment\":{}}],[\"weights\",{\"_index\":118,\"name\":{\"247\":{}},\"comment\":{}}],[\"worker\",{\"_index\":14,\"name\":{\"14\":{},\"48\":{},\"103\":{},\"166\":{},\"220\":{},\"270\":{},\"304\":{},\"403\":{}},\"comment\":{}}],[\"workerasyncfunction\",{\"_index\":153,\"name\":{\"405\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":110,\"name\":{\"223\":{},\"250\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":45,\"name\":{\"80\":{},\"180\":{},\"243\":{},\"251\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":19,\"name\":{\"19\":{},\"55\":{},\"91\":{},\"248\":{},\"275\":{},\"311\":{}},\"comment\":{}}],[\"workerchoicestrategyoptions\",{\"_index\":46,\"name\":{\"81\":{},\"181\":{},\"244\":{}},\"comment\":{}}],[\"workerfunction\",{\"_index\":154,\"name\":{\"407\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":35,\"name\":{\"35\":{},\"71\":{},\"130\":{},\"293\":{},\"329\":{}},\"comment\":{}}],[\"workernode\",{\"_index\":108,\"name\":{\"219\":{}},\"comment\":{}}],[\"workernodes\",{\"_index\":16,\"name\":{\"16\":{},\"52\":{},\"88\":{},\"148\":{},\"169\":{},\"272\":{},\"308\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":142,\"name\":{\"382\":{}},\"comment\":{}}],[\"workersyncfunction\",{\"_index\":155,\"name\":{\"408\":{}},\"comment\":{}}],[\"workertype\",{\"_index\":87,\"name\":{\"189\":{}},\"comment\":{}}],[\"workertypes\",{\"_index\":74,\"name\":{\"145\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html index 0fbaae35..bf675589 100644 --- a/docs/classes/AbstractPool.html +++ b/docs/classes/AbstractPool.html @@ -17,22 +17,26 @@

Class AbstractPool<Worker, Data, Response>Abstract

Base class that implements some shared logic for all poolifier pools.

-
+ +

Type Parameters

+ +

Hierarchy

+
  • Defined in src/pools/abstract-pool.ts:38
  • @@ -53,77 +57,77 @@

    Constructors

    -

    Properties

    -

    Accessors

    -

    Methods

    -
    afterTaskExecutionHook -afterWorkerSetup -beforeTaskExecutionHook -buildTasksQueueOptions -checkAndEmitEvents -checkFilePath -checkNumberOfWorkers -checkPoolOptions -checkValidTasksQueueOptions -checkValidWorkerChoiceStrategy -checkValidWorkerChoiceStrategyOptions -chooseWorkerNode -createAndSetupWorker -createWorker -dequeueTask -destroy -destroyWorker -enableTasksQueue -enqueueTask -execute -executeTask -flushTasksQueue -flushTasksQueues -getWorkerNodeKey -internalBusy -isMain -pushWorkerNode -registerWorkerMessageListener -removeWorkerNode -sendToWorker -setTasksQueueOptions -setWorkerChoiceStrategy -setWorkerChoiceStrategyOptions -setWorkerNode -setWorkerNodeTasksUsage -setupHook -tasksQueueSize -updateRunTimeTasksUsage -updateWaitTimeTasksUsage -workerListener +

    Constructors

    - + -

    Returns AbstractPool<Worker, Data, Response>

    +
  • Defined in src/pools/abstract-pool.ts:80
  • Properties

    - +
    emitter?: PoolEmitter

    Emitter on which events can be listened to.

    Events that can currently be listened to:

    @@ -167,33 +175,37 @@
  • 'error': Emitted when an uncaught error occurs.
  • 'taskError': Emitted when an error occurs while executing a task.
  • -
    +
  • Defined in src/pools/abstract-pool.ts:47
  • - +
    filePath: string

    Path to the worker file.

    -
    +
  • Defined in src/pools/abstract-pool.ts:82
  • - +
    numberOfWorkers: number

    Number of workers that this pool should manage.

    -
    +
  • Defined in src/pools/abstract-pool.ts:81
  • - +
    opts: PoolOptions<Worker>

    Options for the pool.

    -
    +
  • Defined in src/pools/abstract-pool.ts:83
  • - +
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...

    The execution response promise map.

    When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

    -
    +
  • Defined in src/pools/abstract-pool.ts:57
  • - +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    -
    +
  • Defined in src/pools/abstract-pool.ts:67
  • - +
    workerNodes: WorkerNode<Worker, Data>[] = []

    Pool worker nodes.

    -
    +
  • Defined in src/pools/abstract-pool.ts:44
  • Accessors

    - +
    +
  • Defined in src/pools/abstract-pool.ts:369
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:360
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:215
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:269
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:264
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:254
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:259
  • Methods

    - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:464
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:589
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:453
  • - +

    Returns TasksQueueOptions

    +
  • Defined in src/pools/abstract-pool.ts:347
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:663
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:117
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:126
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:144
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:199
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:171
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:181
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:532
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:596
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:580
  • - +

    Returns undefined | Task<Data>

    +
  • Defined in src/pools/abstract-pool.ts:756
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:415
  • - + -

    Returns void | Promise<void>

    +
  • Defined in src/pools/abstract-pool.ts:430
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:325
  • - +

    Returns number

    +
  • Defined in src/pools/abstract-pool.ts:752
  • - + + +

    Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    -
    +
  • Defined in src/pools/abstract-pool.ts:380
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:747
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:764
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:775
  • - + + +

    Returns number

    The worker node key if the worker is found in the pool worker nodes, -1 otherwise.

    -
    +
  • Defined in src/pools/abstract-pool.ts:277
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:371
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:445
  • - + + +

    Returns number

    The worker nodes length.

    -
    +
  • Defined in src/pools/abstract-pool.ts:693
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:573
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:739
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:562
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:337
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:284
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:314
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:721
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:680
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:438
  • - +

    Returns number

    +
  • Defined in src/pools/abstract-pool.ts:760
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:479
  • - +

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:502
  • - +

    Returns void

    The listener function to execute when a message is received from a worker.

    -
    +
  • Defined in src/pools/abstract-pool.ts:629
  • +
  • constructor
  • +
  • emitter
  • +
  • filePath
  • +
  • numberOfWorkers
  • +
  • opts
  • +
  • promiseResponseMap
  • +
  • workerChoiceStrategyContext
  • +
  • workerNodes
  • +
  • busy
  • +
  • full
  • +
  • info
  • +
  • maxSize
  • +
  • minSize
  • +
  • type
  • +
  • worker
  • +
  • afterTaskExecutionHook
  • +
  • afterWorkerSetup
  • +
  • beforeTaskExecutionHook
  • +
  • buildTasksQueueOptions
  • +
  • checkAndEmitEvents
  • +
  • checkFilePath
  • +
  • checkNumberOfWorkers
  • +
  • checkPoolOptions
  • +
  • checkValidTasksQueueOptions
  • +
  • checkValidWorkerChoiceStrategy
  • +
  • checkValidWorkerChoiceStrategyOptions
  • +
  • chooseWorkerNode
  • +
  • createAndSetupWorker
  • +
  • createWorker
  • +
  • dequeueTask
  • +
  • destroy
  • +
  • destroyWorker
  • +
  • enableTasksQueue
  • +
  • enqueueTask
  • +
  • execute
  • +
  • executeTask
  • +
  • flushTasksQueue
  • +
  • flushTasksQueues
  • +
  • getWorkerNodeKey
  • +
  • internalBusy
  • +
  • isMain
  • +
  • pushWorkerNode
  • +
  • registerWorkerMessageListener
  • +
  • removeWorkerNode
  • +
  • sendToWorker
  • +
  • setTasksQueueOptions
  • +
  • setWorkerChoiceStrategy
  • +
  • setWorkerChoiceStrategyOptions
  • +
  • setWorkerNode
  • +
  • setWorkerNodeTasksUsage
  • +
  • setupHook
  • +
  • tasksQueueSize
  • +
  • updateRunTimeTasksUsage
  • +
  • updateWaitTimeTasksUsage
  • +
  • workerListener
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index 67fa900b..c4da792d 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -17,22 +17,26 @@

    Class AbstractWorker<MainWorker, Data, Response>Abstract

    Base class that implements some shared logic for all poolifier workers.

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/worker/abstract-worker.ts:29
  • @@ -51,42 +55,42 @@

    Constructors

    - + -

    Returns AbstractWorker<MainWorker, Data, Response>

    +
  • Defined in src/worker/abstract-worker.ts:55
  • Properties

    - +
    aliveInterval?: Timeout

    Handler id of the aliveInterval worker alive check.

    -
    +
  • Defined in src/worker/abstract-worker.ts:45
  • - +
    isMain: boolean

    Whether this is the main worker or not.

    -
    +
  • Defined in src/worker/abstract-worker.ts:57
  • - +
    lastTaskTimestamp: number

    Timestamp of the last task processed by this worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:41
  • - +
    mainWorker: undefined | null | MainWorker

    Reference to main worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:61
  • - +
    opts: WorkerOptions = ...

    Options for the worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:62
  • - +
    taskFunctions: Map<string, WorkerFunction<Data, Response>>

    Task function(s) processed by the worker when the pool's execution function is invoked.

    -
    +
  • Defined in src/worker/abstract-worker.ts:37
  • Methods

    - +
    - + -

    Returns Func

    - +
    +
  • Defined in src/worker/abstract-worker.ts:182
  • - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:101
  • - +

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:89
  • - +
    - +
    +
  • Defined in src/worker/abstract-worker.ts:165
  • - + -

    Returns WorkerFunction<Data, Response>

    +
  • Defined in src/worker/abstract-worker.ts:276
  • - + + +

    Returns string

    Message of the error.

    -
    +
  • Defined in src/worker/abstract-worker.ts:197
  • - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:141
  • - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:240
  • - +
    - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:207
  • - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:177
  • - +
    - + -

    Returns Func

    @@ -484,7 +528,7 @@ then restore the original execution context.

    +
  • constructor
  • +
  • aliveInterval
  • +
  • isMain
  • +
  • lastTaskTimestamp
  • +
  • mainWorker
  • +
  • opts
  • +
  • taskFunctions
  • +
  • asyncId
  • +
  • bind
  • +
  • checkAlive
  • +
  • checkTaskFunctions
  • +
  • checkWorkerOptions
  • +
  • emitDestroy
  • +
  • getMainWorker
  • +
  • getTaskFunction
  • +
  • handleError
  • +
  • messageListener
  • +
  • runAsync
  • +
  • runInAsyncScope
  • +
  • runSync
  • +
  • sendToMainWorker
  • +
  • triggerAsyncId
  • +
  • bind
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/CircularArray.html b/docs/classes/CircularArray.html index 43d8ad15..92a4c175 100644 --- a/docs/classes/CircularArray.html +++ b/docs/classes/CircularArray.html @@ -17,7 +17,8 @@

    Class CircularArray<T>

    Array with a maximum length and shifting items when full.

    -
    + +

    Type Parameters

    +
  • Defined in src/circular-array.ts:8
  • @@ -38,64 +39,64 @@

    Constructors

    - +
    +
  • Defined in src/circular-array.ts:11
  • Properties

    - +
    [unscopables]: {
        [unscopables]?: boolean;
        length?: boolean;
        [iterator]?: any;
        at?: any;
        concat?: any;
        copyWithin?: any;
        entries?: any;
        every?: any;
        fill?: any;
        filter?: any;
        find?: any;
        findIndex?: any;
        flat?: any;
        flatMap?: any;
        forEach?: any;
        includes?: any;
        indexOf?: any;
        join?: any;
        keys?: any;
        lastIndexOf?: any;
        map?: any;
        pop?: any;
        push?: any;
        reduce?: any;
        reduceRight?: any;
        reverse?: any;
        shift?: any;
        slice?: any;
        some?: any;
        sort?: any;
        splice?: any;
        toLocaleString?: any;
        toString?: any;
        unshift?: any;
        values?: any;
    }

    Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

    @@ -128,29 +129,33 @@ when they will be absent when used in a 'with' statement.

    Optional Readonly [unscopables]?: boolean

    Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

    -
    +
    +
  • Optional length?: boolean

    Gets or sets the length of the array. This is a number one higher than the highest index in the array.

    -
  • - +
    length: number

    Gets or sets the length of the array. This is a number one higher than the highest index in the array.

    -
    - +
    size: number
    +
  • Defined in src/circular-array.ts:9
  • - +
    [species]: ArrayConstructor
    - +

    Returns void

    +
  • Defined in src/circular-array.ts:88
  • - +
    +
  • Defined in src/circular-array.ts:39
  • - + -

    Returns CircularArray<T>

    - +
    +
  • Defined in src/circular-array.ts:80
  • - +
    - +
    - + -

    Returns CircularArray<T>

    - +
    - +
    - +
    - + -

    Returns FlatArray<A, D>[]

    - + +

    Returns U[]

    +
    - +
    - +
    +
  • Defined in src/circular-array.ts:84
  • - + -

    Returns boolean

    - + -

    Returns number

    - + -

    Returns string

    - +
    - + -

    Returns number

    - +
    - +
    - +
    +
  • Defined in src/circular-array.ts:21
  • - + -

    Returns T

    - +
  • Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

    @@ -933,6 +994,7 @@ If the array is empty, undefined is returned and the array is not modified.

    callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

    A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.

    +
    +

    Returns U

    +
  • - + -

    Returns T

    - +
  • Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

    @@ -1039,6 +1105,7 @@ If the array is empty, undefined is returned and the array is not modified.

    callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

    A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.

    +
    +

    Returns U

    +
  • - +

    Returns void

    +
  • Defined in src/circular-array.ts:68
  • - +
    - +
    - + -

    Returns T[]

    - +
    - + -

    Returns CircularArray<T>

    - +
    +
  • Defined in src/circular-array.ts:54
  • - +
    - +
    - +
    +
  • Defined in src/circular-array.ts:30
  • - +
    - + -

    Returns T[]

    - +
    - + -

    Returns T[]

    @@ -1442,7 +1538,7 @@ value otherwise. If omitted, the elements are sorted in ascending, ASCII charact +
  • constructor
  • +
  • [unscopables]
  • +
  • length
  • +
  • size
  • +
  • [species]
  • +
  • [iterator]
  • +
  • at
  • +
  • checkSize
  • +
  • concat
  • +
  • copyWithin
  • +
  • empty
  • +
  • entries
  • +
  • every
  • +
  • fill
  • +
  • filter
  • +
  • find
  • +
  • findIndex
  • +
  • flat
  • +
  • flatMap
  • +
  • forEach
  • +
  • full
  • +
  • includes
  • +
  • indexOf
  • +
  • join
  • +
  • keys
  • +
  • lastIndexOf
  • +
  • map
  • +
  • pop
  • +
  • push
  • +
  • reduce
  • +
  • reduceRight
  • +
  • resize
  • +
  • reverse
  • +
  • shift
  • +
  • slice
  • +
  • some
  • +
  • sort
  • +
  • splice
  • +
  • toLocaleString
  • +
  • toString
  • +
  • unshift
  • +
  • values
  • +
  • from
  • +
  • isArray
  • +
  • of
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index 02a94ba0..6aa60182 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -21,10 +21,11 @@ it will send a termination request to its main worker.

    If you use a DynamicClusterPool the extra workers that were created will be terminated, but the minimum number of workers will be guaranteed.

    + +
    +

    Author

    Christopher Quadflieg

    -

    Author

    Christopher Quadflieg

    - -

    Since

    2.0.0

    +

    Since

    2.0.0

    Type Parameters

    @@ -32,11 +33,13 @@ but the minimum number of workers will be guaranteed.

  • Data = unknown

    Type of data this worker receives from pool's execution. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of response the worker sends back to the main worker. This can only be serializable data.

    -
  • + +

    Hierarchy

    +
  • Defined in src/worker/cluster-worker.ts:24
  • @@ -52,39 +55,39 @@ but the minimum number of workers will be guaranteed.

    Constructors

    - + -

    Returns ClusterWorker<Data, Response>

    +
  • Defined in src/worker/cluster-worker.ts:34
  • Properties

    - +
    aliveInterval?: Timeout

    Handler id of the aliveInterval worker alive check.

    -
    +
  • Defined in src/worker/abstract-worker.ts:45
  • - +
    isMain: boolean

    Whether this is the main worker or not.

    -
    +
  • Defined in src/worker/abstract-worker.ts:57
  • - +
    lastTaskTimestamp: number

    Timestamp of the last task processed by this worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:41
  • - +
    mainWorker: undefined | null | Worker

    Reference to main worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:61
  • - +
    opts: WorkerOptions = ...

    Options for the worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:62
  • - +
    taskFunctions: Map<string, WorkerFunction<Data, Response>>

    Task function(s) processed by the worker when the pool's execution function is invoked.

    -
    +
  • Defined in src/worker/abstract-worker.ts:37
  • Methods

    - +
    - + -

    Returns Func

    - +
    +
  • Defined in src/worker/abstract-worker.ts:182
  • - +
    - +
    +
  • Defined in src/worker/abstract-worker.ts:165
  • - + + +

    Returns string

    Message of the error.

    -
    +
  • Defined in src/worker/cluster-worker.ts:55
  • - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:141
  • - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:240
  • - +
    - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:207
  • - + -

    Returns void

    +
  • Defined in src/worker/cluster-worker.ts:50
  • - +
    - + -

    Returns Func

    @@ -434,7 +470,7 @@ then restore the original execution context.

    +
  • constructor
  • +
  • aliveInterval
  • +
  • isMain
  • +
  • lastTaskTimestamp
  • +
  • mainWorker
  • +
  • opts
  • +
  • taskFunctions
  • +
  • asyncId
  • +
  • bind
  • +
  • checkAlive
  • +
  • emitDestroy
  • +
  • getMainWorker
  • +
  • handleError
  • +
  • messageListener
  • +
  • runAsync
  • +
  • runInAsyncScope
  • +
  • runSync
  • +
  • sendToMainWorker
  • +
  • triggerAsyncId
  • +
  • bind
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 986dfb2d..a177b6e5 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -19,10 +19,11 @@

    A cluster pool with a dynamic number of workers, but a guaranteed minimum number of workers.

    This cluster pool creates new workers when the others are busy, up to the maximum number of workers. When the maximum number of workers is reached and workers are busy, an event is emitted. If you want to listen to this event, use the pool's emitter.

    +
    +
    +

    Author

    Christopher Quadflieg

    -

    Author

    Christopher Quadflieg

    - -

    Since

    2.0.0

    +

    Since

    2.0.0

    Type Parameters

    @@ -30,11 +31,13 @@ When the maximum number of workers is reached and workers are busy, an event is
  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of execution response. This can only be serializable data.

    -
  • + +

    Hierarchy

    +
  • Defined in src/pools/cluster/dynamic.ts:15
  • @@ -50,57 +53,57 @@ When the maximum number of workers is reached and workers are busy, an event is

    Constructors

    - + -

    Returns DynamicClusterPool<Data, Response>

    +
  • Defined in src/pools/cluster/dynamic.ts:27
  • Properties

    - +
    emitter?: PoolEmitter

    Emitter on which events can be listened to.

    Events that can currently be listened to:

    @@ -147,43 +155,48 @@ When the maximum number of workers is reached and workers are busy, an event is
  • 'error': Emitted when an uncaught error occurs.
  • 'taskError': Emitted when an error occurs while executing a task.
  • -
    +
  • Defined in src/pools/abstract-pool.ts:47
  • - +
    filePath: string

    Path to the worker file.

    -
    +
  • Defined in src/pools/abstract-pool.ts:82
  • - +
    max: number

    Maximum number of workers that can be created by this pool.

    -
    +
  • Defined in src/pools/cluster/dynamic.ts:29
  • - +
    numberOfWorkers: number

    Number of workers that this pool should manage.

    -
    +
  • Defined in src/pools/abstract-pool.ts:81
  • - +
    opts: ClusterPoolOptions = {}

    Options for this fixed cluster pool.

    -
    +
  • Defined in src/pools/cluster/fixed.ts:57
  • - +
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...

    The execution response promise map.

    When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

    -
    +
  • Defined in src/pools/abstract-pool.ts:57
  • - +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    -
    +
  • Defined in src/pools/abstract-pool.ts:67
  • - +
    workerNodes: WorkerNode<Worker, Data>[] = []

    Pool worker nodes.

    -
    +
  • Defined in src/pools/abstract-pool.ts:44
  • Accessors

    - +
    +
  • Defined in src/pools/cluster/dynamic.ts:47
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:360
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:215
  • - +
    +
  • Defined in src/pools/cluster/dynamic.ts:42
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:113
  • - +
    +
  • Defined in src/pools/cluster/dynamic.ts:37
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:108
  • Methods

    - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:464
  • - + -

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:97
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:453
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:532
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:596
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:92
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:415
  • - + -

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:73
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:325
  • - + + +

    Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    -
    +
  • Defined in src/pools/abstract-pool.ts:380
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:371
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:68
  • - + -

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:84
  • - + -

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:79
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:337
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:284
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:314
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:63
  • - +

    Returns void

    The listener function to execute when a message is received from a worker.

    -
    +
  • Defined in src/pools/abstract-pool.ts:629
  • +
  • constructor
  • +
  • emitter
  • +
  • filePath
  • +
  • max
  • +
  • numberOfWorkers
  • +
  • opts
  • +
  • promiseResponseMap
  • +
  • workerChoiceStrategyContext
  • +
  • workerNodes
  • +
  • busy
  • +
  • full
  • +
  • info
  • +
  • maxSize
  • +
  • minSize
  • +
  • type
  • +
  • worker
  • +
  • afterTaskExecutionHook
  • +
  • afterWorkerSetup
  • +
  • beforeTaskExecutionHook
  • +
  • chooseWorkerNode
  • +
  • createAndSetupWorker
  • +
  • createWorker
  • +
  • destroy
  • +
  • destroyWorker
  • +
  • enableTasksQueue
  • +
  • execute
  • +
  • internalBusy
  • +
  • isMain
  • +
  • registerWorkerMessageListener
  • +
  • sendToWorker
  • +
  • setTasksQueueOptions
  • +
  • setWorkerChoiceStrategy
  • +
  • setWorkerChoiceStrategyOptions
  • +
  • setupHook
  • +
  • workerListener
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index 521c972a..1c910446 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -19,10 +19,11 @@

    A thread pool with a dynamic number of threads, but a guaranteed minimum number of threads.

    This thread pool creates new threads when the others are busy, up to the maximum number of threads. When the maximum number of threads is reached and workers are busy, an event is emitted. If you want to listen to this event, use the pool's emitter.

    +
    +
    +

    Author

    Alessandro Pio Ardizio

    -

    Author

    Alessandro Pio Ardizio

    - -

    Since

    0.0.1

    +

    Since

    0.0.1

    Type Parameters

    @@ -30,11 +31,13 @@ When the maximum number of threads is reached and workers are busy, an event is
  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of execution response. This can only be serializable data.

    -
  • + +

    Hierarchy

    +
  • Defined in src/pools/thread/dynamic.ts:15
  • @@ -50,57 +53,57 @@ When the maximum number of threads is reached and workers are busy, an event is

    Constructors

    - + -

    Returns DynamicThreadPool<Data, Response>

    +
  • Defined in src/pools/thread/dynamic.ts:27
  • Properties

    - +
    emitter?: PoolEmitter

    Emitter on which events can be listened to.

    Events that can currently be listened to:

    @@ -147,43 +155,48 @@ When the maximum number of threads is reached and workers are busy, an event is
  • 'error': Emitted when an uncaught error occurs.
  • 'taskError': Emitted when an error occurs while executing a task.
  • -
    +
  • Defined in src/pools/abstract-pool.ts:47
  • - +
    filePath: string

    Path to the worker file.

    -
    +
  • Defined in src/pools/abstract-pool.ts:82
  • - +
    max: number

    Maximum number of threads that can be created by this pool.

    -
    +
  • Defined in src/pools/thread/dynamic.ts:29
  • - +
    numberOfWorkers: number

    Number of workers that this pool should manage.

    -
    +
  • Defined in src/pools/abstract-pool.ts:81
  • - +
    opts: PoolOptions<ThreadWorkerWithMessageChannel>

    Options for the pool.

    -
    +
  • Defined in src/pools/abstract-pool.ts:83
  • - +
    promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...

    The execution response promise map.

    When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

    -
    +
  • Defined in src/pools/abstract-pool.ts:57
  • - +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    -
    +
  • Defined in src/pools/abstract-pool.ts:67
  • - +
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []

    Pool worker nodes.

    -
    +
  • Defined in src/pools/abstract-pool.ts:44
  • Accessors

    - +
    +
  • Defined in src/pools/thread/dynamic.ts:47
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:360
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:215
  • - +
    +
  • Defined in src/pools/thread/dynamic.ts:42
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:110
  • - +
    +
  • Defined in src/pools/thread/dynamic.ts:37
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:105
  • Methods

    - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:464
  • - + -

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:90
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:453
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:532
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:596
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:83
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:415
  • - + -

    Returns Promise<void>

    +
  • Defined in src/pools/thread/fixed.ts:59
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:325
  • - + + +

    Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    -
    +
  • Defined in src/pools/abstract-pool.ts:380
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:371
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:54
  • - + -

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:75
  • - + -

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:67
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:337
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:284
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:314
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:438
  • - +

    Returns void

    The listener function to execute when a message is received from a worker.

    -
    +
  • Defined in src/pools/abstract-pool.ts:629
  • +
  • constructor
  • +
  • emitter
  • +
  • filePath
  • +
  • max
  • +
  • numberOfWorkers
  • +
  • opts
  • +
  • promiseResponseMap
  • +
  • workerChoiceStrategyContext
  • +
  • workerNodes
  • +
  • busy
  • +
  • full
  • +
  • info
  • +
  • maxSize
  • +
  • minSize
  • +
  • type
  • +
  • worker
  • +
  • afterTaskExecutionHook
  • +
  • afterWorkerSetup
  • +
  • beforeTaskExecutionHook
  • +
  • chooseWorkerNode
  • +
  • createAndSetupWorker
  • +
  • createWorker
  • +
  • destroy
  • +
  • destroyWorker
  • +
  • enableTasksQueue
  • +
  • execute
  • +
  • internalBusy
  • +
  • isMain
  • +
  • registerWorkerMessageListener
  • +
  • sendToWorker
  • +
  • setTasksQueueOptions
  • +
  • setWorkerChoiceStrategy
  • +
  • setWorkerChoiceStrategyOptions
  • +
  • setupHook
  • +
  • workerListener
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 7d6dbf12..ed3678d2 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -19,10 +19,11 @@

    A cluster pool with a fixed number of workers.

    It is possible to perform tasks in sync or asynchronous mode as you prefer.

    This pool selects the workers in a round robin fashion.

    +
    +
    +

    Author

    Christopher Quadflieg

    -

    Author

    Christopher Quadflieg

    - -

    Since

    2.0.0

    +

    Since

    2.0.0

    Type Parameters

    @@ -30,11 +31,13 @@
  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of execution response. This can only be serializable data.

    -
  • + +

    Hierarchy

    +
  • Defined in src/pools/cluster/fixed.ts:43
  • @@ -52,56 +55,56 @@

    Constructors

    - + -

    Returns FixedClusterPool<Data, Response>

    +
  • Defined in src/pools/cluster/fixed.ts:54
  • Properties

    - +
    emitter?: PoolEmitter

    Emitter on which events can be listened to.

    Events that can currently be listened to:

    @@ -144,36 +151,40 @@
  • 'error': Emitted when an uncaught error occurs.
  • 'taskError': Emitted when an error occurs while executing a task.
  • -
    +
  • Defined in src/pools/abstract-pool.ts:47
  • - +
    filePath: string

    Path to the worker file.

    -
    +
  • Defined in src/pools/abstract-pool.ts:82
  • - +
    numberOfWorkers: number

    Number of workers that this pool should manage.

    -
    +
  • Defined in src/pools/abstract-pool.ts:81
  • - +
    opts: ClusterPoolOptions = {}

    Options for this fixed cluster pool.

    -
    +
  • Defined in src/pools/cluster/fixed.ts:57
  • - +
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...

    The execution response promise map.

    When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

    -
    +
  • Defined in src/pools/abstract-pool.ts:57
  • - +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    -
    +
  • Defined in src/pools/abstract-pool.ts:67
  • - +
    workerNodes: WorkerNode<Worker, Data>[] = []

    Pool worker nodes.

    -
    +
  • Defined in src/pools/abstract-pool.ts:44
  • Accessors

    - +
    +
  • Defined in src/pools/cluster/fixed.ts:123
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:360
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:215
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:118
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:113
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:103
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:108
  • Methods

    - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:464
  • - + -

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:97
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:453
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:532
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:596
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:92
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:415
  • - + -

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:73
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:325
  • - + + +

    Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    -
    +
  • Defined in src/pools/abstract-pool.ts:380
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:371
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:68
  • - + -

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:84
  • - + -

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:79
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:337
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:284
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:314
  • - +
    +
  • Defined in src/pools/cluster/fixed.ts:63
  • - +

    Returns void

    The listener function to execute when a message is received from a worker.

    -
    +
  • Defined in src/pools/abstract-pool.ts:629
  • +
  • constructor
  • +
  • emitter
  • +
  • filePath
  • +
  • numberOfWorkers
  • +
  • opts
  • +
  • promiseResponseMap
  • +
  • workerChoiceStrategyContext
  • +
  • workerNodes
  • +
  • busy
  • +
  • full
  • +
  • info
  • +
  • maxSize
  • +
  • minSize
  • +
  • type
  • +
  • worker
  • +
  • afterTaskExecutionHook
  • +
  • afterWorkerSetup
  • +
  • beforeTaskExecutionHook
  • +
  • chooseWorkerNode
  • +
  • createAndSetupWorker
  • +
  • createWorker
  • +
  • destroy
  • +
  • destroyWorker
  • +
  • enableTasksQueue
  • +
  • execute
  • +
  • internalBusy
  • +
  • isMain
  • +
  • registerWorkerMessageListener
  • +
  • sendToWorker
  • +
  • setTasksQueueOptions
  • +
  • setWorkerChoiceStrategy
  • +
  • setWorkerChoiceStrategyOptions
  • +
  • setupHook
  • +
  • workerListener
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index a5f77512..b8d02a3b 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -19,10 +19,11 @@

    A thread pool with a fixed number of threads.

    It is possible to perform tasks in sync or asynchronous mode as you prefer.

    This pool selects the threads in a round robin fashion.

    +
    +
    +

    Author

    Alessandro Pio Ardizio

    -

    Author

    Alessandro Pio Ardizio

    - -

    Since

    0.0.1

    +

    Since

    0.0.1

    Type Parameters

    @@ -30,11 +31,13 @@
  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of execution response. This can only be serializable data.

    -
  • + +

    Hierarchy

    +
  • Defined in src/pools/thread/fixed.ts:34
  • @@ -52,56 +55,56 @@

    Constructors

    - + -

    Returns FixedThreadPool<Data, Response>

    +
  • Defined in src/pools/thread/fixed.ts:45
  • Properties

    - +
    emitter?: PoolEmitter

    Emitter on which events can be listened to.

    Events that can currently be listened to:

    @@ -144,36 +151,40 @@
  • 'error': Emitted when an uncaught error occurs.
  • 'taskError': Emitted when an error occurs while executing a task.
  • -
    +
  • Defined in src/pools/abstract-pool.ts:47
  • - +
    filePath: string

    Path to the worker file.

    -
    +
  • Defined in src/pools/abstract-pool.ts:82
  • - +
    numberOfWorkers: number

    Number of workers that this pool should manage.

    -
    +
  • Defined in src/pools/abstract-pool.ts:81
  • - +
    opts: PoolOptions<ThreadWorkerWithMessageChannel>

    Options for the pool.

    -
    +
  • Defined in src/pools/abstract-pool.ts:83
  • - +
    promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...

    The execution response promise map.

    When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

    -
    +
  • Defined in src/pools/abstract-pool.ts:57
  • - +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    -
    +
  • Defined in src/pools/abstract-pool.ts:67
  • - +
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []

    Pool worker nodes.

    -
    +
  • Defined in src/pools/abstract-pool.ts:44
  • Accessors

    - +
    +
  • Defined in src/pools/thread/fixed.ts:120
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:360
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:215
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:115
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:110
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:100
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:105
  • Methods

    - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:464
  • - + -

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:90
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:453
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:532
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:596
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:83
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:415
  • - + -

    Returns Promise<void>

    +
  • Defined in src/pools/thread/fixed.ts:59
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:325
  • - + + +

    Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    -
    +
  • Defined in src/pools/abstract-pool.ts:380
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:371
  • - +
    +
  • Defined in src/pools/thread/fixed.ts:54
  • - + -

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:75
  • - + -

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:67
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:337
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:284
  • - + -

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:314
  • - +
    +
  • Defined in src/pools/abstract-pool.ts:438
  • - +

    Returns void

    The listener function to execute when a message is received from a worker.

    -
    +
  • Defined in src/pools/abstract-pool.ts:629
  • +
  • constructor
  • +
  • emitter
  • +
  • filePath
  • +
  • numberOfWorkers
  • +
  • opts
  • +
  • promiseResponseMap
  • +
  • workerChoiceStrategyContext
  • +
  • workerNodes
  • +
  • busy
  • +
  • full
  • +
  • info
  • +
  • maxSize
  • +
  • minSize
  • +
  • type
  • +
  • worker
  • +
  • afterTaskExecutionHook
  • +
  • afterWorkerSetup
  • +
  • beforeTaskExecutionHook
  • +
  • chooseWorkerNode
  • +
  • createAndSetupWorker
  • +
  • createWorker
  • +
  • destroy
  • +
  • destroyWorker
  • +
  • enableTasksQueue
  • +
  • execute
  • +
  • internalBusy
  • +
  • isMain
  • +
  • registerWorkerMessageListener
  • +
  • sendToWorker
  • +
  • setTasksQueueOptions
  • +
  • setWorkerChoiceStrategy
  • +
  • setWorkerChoiceStrategyOptions
  • +
  • setupHook
  • +
  • workerListener
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/PoolEmitter.html b/docs/classes/PoolEmitter.html index a20d6ef2..a799d88b 100644 --- a/docs/classes/PoolEmitter.html +++ b/docs/classes/PoolEmitter.html @@ -17,7 +17,8 @@

    Class PoolEmitter

    Pool events emitter.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/pool.ts:50
  • @@ -33,44 +34,44 @@

    Constructors

    - + -

    Returns PoolEmitter

    - + -

    Returns boolean

    - +
    - +
    - + -

    Returns number

    - +
    - +

    Returns void

    -

    Returns PoolEmitter

    - + -

    Returns PoolEmitter

    - + -

    Returns PoolEmitter

    - + -

    Returns PoolEmitter

    - + -

    Returns PoolEmitter

    - +
    - +
    - +

    Returns void

    -

    Returns PoolEmitter

    - +
      - +
    • By default EventEmitters will print a warning if more than 10 listeners are added for a particular event. This is a useful default that helps finding memory leaks. The emitter.setMaxListeners() method allows the limit to be modified for this specific EventEmitter instance. The value can be set toInfinity (or 0) to indicate an unlimited number of listeners.

      Returns a reference to the EventEmitter, so that calls can be chained.

      - -

      Since

      v0.3.5

      Parameters

      • n: number
      -

      Returns PoolEmitter

    - +
      - +
    • Returns a copy of the array of listeners for the event named eventName.

      For EventEmitters this behaves exactly the same as calling .listeners on @@ -609,8 +639,6 @@ the emitter.

      event target. This is useful for debugging and diagnostic purposes.

      import { getEventListeners, EventEmitter } from 'node:events';

      {
      const ee = new EventEmitter();
      const listener = () => console.log('Events are fun');
      ee.on('foo', listener);
      console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ]
      }
      {
      const et = new EventTarget();
      const listener = () => console.log('Events are fun');
      et.addEventListener('foo', listener);
      console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ]
      }
      - -

      Since

      v15.2.0, v14.17.0

      Parameters

      @@ -619,22 +647,21 @@ event target. This is useful for debugging and diagnostic purposes.

      emitter: EventEmitter | _DOMEventTarget
    • name: string | symbol
    -

    Returns Function[]

    - +
      - +
    • A class method that returns the number of listeners for the given eventNameregistered on the given emitter.

      import { EventEmitter, listenerCount } from 'node:events';

      const myEmitter = new EventEmitter();
      myEmitter.on('event', () => {});
      myEmitter.on('event', () => {});
      console.log(listenerCount(myEmitter, 'event'));
      // Prints: 2
      - -

      Since

      v0.9.12

      - -

      Deprecated

      Since v3.2.0 - Use listenerCount instead.

      Parameters

      @@ -642,19 +669,26 @@ event target. This is useful for debugging and diagnostic purposes.

    • emitter: EventEmitter

      The emitter to query

      -
    • + +
    • eventName: string | symbol

      The event name

      -
    -

    Returns number

    - +
      - +
    • import { on, EventEmitter } from 'node:events';
      import process from 'node:process';

      const ee = new EventEmitter();

      // Emit later on
      process.nextTick(() => {
      ee.emit('foo', 'bar');
      ee.emit('foo', 42);
      });

      for await (const event of on(ee, 'foo')) {
      // The execution of this inner block is synchronous and it
      // processes one event at a time (even with await). Do not use
      // if concurrent execution is required.
      console.log(event); // prints ['bar'] [42]
      }
      // Unreachable here
      @@ -665,8 +699,6 @@ composed of the emitted event arguments.

      An AbortSignal can be used to cancel waiting on events:

      import { on, EventEmitter } from 'node:events';
      import process from 'node:process';

      const ac = new AbortController();

      (async () => {
      const ee = new EventEmitter();

      // Emit later on
      process.nextTick(() => {
      ee.emit('foo', 'bar');
      ee.emit('foo', 42);
      });

      for await (const event of on(ee, 'foo', { signal: ac.signal })) {
      // The execution of this inner block is synchronous and it
      // processes one event at a time (even with await). Do not use
      // if concurrent execution is required.
      console.log(event); // prints ['bar'] [42]
      }
      // Unreachable here
      })();

      process.nextTick(() => ac.abort());
      - -

      Since

      v13.6.0, v12.16.0

      Parameters

      @@ -676,18 +708,22 @@ composed of the emitted event arguments.

    • eventName: string

      The name of the event being listened for

      -
    • + +
    • Optional options: StaticEventEmitterOptions

    Returns AsyncIterableIterator<any>

    that iterates eventName events emitted by the emitter

    -
    - +
      - +
    • Creates a Promise that is fulfilled when the EventEmitter emits the given event or that is rejected if the EventEmitter emits 'error' while waiting. @@ -705,8 +741,6 @@ special handling:

      An AbortSignal can be used to cancel waiting for the event:

      import { EventEmitter, once } from 'node:events';

      const ee = new EventEmitter();
      const ac = new AbortController();

      async function foo(emitter, event, signal) {
      try {
      await once(emitter, event, { signal });
      console.log('event emitted!');
      } catch (error) {
      if (error.name === 'AbortError') {
      console.error('Waiting for the event was canceled!');
      } else {
      console.error('There was an error', error.message);
      }
      }
      }

      foo(ee, 'foo', ac.signal);
      ac.abort(); // Abort waiting for the event
      ee.emit('foo'); // Prints: Waiting for the event was canceled!
      - -

      Since

      v11.13.0, v10.16.0

      Parameters

      @@ -717,11 +751,14 @@ special handling:

      eventName: string | symbol
    • Optional options: StaticEventEmitterOptions
    -

    Returns Promise<any[]>

    - +
      - +
    • import { setMaxListeners, EventEmitter } from 'node:events';

      const target = new EventTarget();
      const emitter = new EventEmitter();

      setMaxListeners(5, target, emitter);
      - -

      Since

      v15.4.0

      Parameters

      @@ -752,10 +787,14 @@ special handling:

    • Optional n: number

      A non-negative number. The maximum number of listeners per EventTarget event.

      -
    • + +
    • Rest ...eventTargets: (EventEmitter | _DOMEventTarget)[]
    -

    Returns void

    @@ -763,7 +802,7 @@ special handling:

    +
  • constructor
  • +
  • captureRejectionSymbol
  • +
  • captureRejections
  • +
  • defaultMaxListeners
  • +
  • errorMonitor
  • +
  • addListener
  • +
  • emit
  • +
  • eventNames
  • +
  • getMaxListeners
  • +
  • listenerCount
  • +
  • listeners
  • +
  • off
  • +
  • on
  • +
  • once
  • +
  • prependListener
  • +
  • prependOnceListener
  • +
  • rawListeners
  • +
  • removeAllListeners
  • +
  • removeListener
  • +
  • setMaxListeners
  • +
  • getEventListeners
  • +
  • listenerCount
  • +
  • on
  • +
  • once
  • +
  • setMaxListeners
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Queue.html b/docs/classes/Queue.html index b03b7bcc..4f19db24 100644 --- a/docs/classes/Queue.html +++ b/docs/classes/Queue.html @@ -17,20 +17,22 @@

    Class Queue<T>

    Queue

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/queue.ts:8
  • @@ -38,32 +40,32 @@

    Constructors

    -

    Properties

    -

    Accessors

    -

    Methods

    -

    Constructors

    - +
      - +
    • Type Parameters

      @@ -72,70 +74,73 @@

      T

    Returns Queue<T>

    +
  • Defined in src/queue.ts:14
  • Properties

    - +
    head: number
    +
  • Defined in src/queue.ts:10
  • - +
    items: Record<number, T>
    +
  • Defined in src/queue.ts:9
  • - +
    max: number
    +
  • Defined in src/queue.ts:12
  • - +
    tail: number
    +
  • Defined in src/queue.ts:11
  • Accessors

    - +
    • get maxSize(): number
    • Get the maximum size of the queue.

      Returns number

      The maximum size of the queue.

      -
    +
  • Defined in src/queue.ts:37
  • - +
    +
  • Defined in src/queue.ts:27
  • Methods

    - +
      - +
    • Dequeue an item.

      Returns undefined | T

      The dequeued item or undefined if the queue is empty.

      -
    +
  • Defined in src/queue.ts:59
  • - + + +

    Returns number

    The new size of the queue.

    -
    +
  • Defined in src/queue.ts:47
  • - +
    +
  • Defined in src/queue.ts:75
  • +
  • constructor
  • +
  • head
  • +
  • items
  • +
  • max
  • +
  • tail
  • +
  • maxSize
  • +
  • size
  • +
  • dequeue
  • +
  • enqueue
  • +
  • peek
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html index 892ce85e..dae2a4a7 100644 --- a/docs/classes/ThreadWorker.html +++ b/docs/classes/ThreadWorker.html @@ -21,10 +21,11 @@ it will send a termination request to its main thread.

    If you use a DynamicThreadPool the extra workers that were created will be terminated, but the minimum number of workers will be guaranteed.

    + +
    +

    Author

    Alessandro Pio Ardizio

    -

    Author

    Alessandro Pio Ardizio

    - -

    Since

    0.0.1

    +

    Since

    0.0.1

    Type Parameters

    @@ -32,11 +33,13 @@ but the minimum number of workers will be guaranteed.

  • Data = unknown

    Type of data this worker receives from pool's execution. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of response the worker sends back to the main thread. This can only be serializable data.

    -
  • + +

    Hierarchy

    +
  • Defined in src/worker/thread-worker.ts:24
  • @@ -52,39 +55,39 @@ but the minimum number of workers will be guaranteed.

    Constructors

    - +
      - +
    • Constructs a new poolifier thread worker.

      @@ -101,86 +104,93 @@ but the minimum number of workers will be guaranteed.

    • taskFunctions: WorkerFunction<Data, Response> | TaskFunctions<Data, Response>

      Task function(s) processed by the worker when the pool's execution function is invoked.

      -
    • + +
    • opts: WorkerOptions = {}

      Options for the worker.

      -
    -

    Returns ThreadWorker<Data, Response>

    +
  • Defined in src/worker/thread-worker.ts:34
  • Properties

    - +
    aliveInterval?: Timeout

    Handler id of the aliveInterval worker alive check.

    -
    +
  • Defined in src/worker/abstract-worker.ts:45
  • - +
    isMain: boolean

    Whether this is the main worker or not.

    -
    +
  • Defined in src/worker/abstract-worker.ts:57
  • - +
    lastTaskTimestamp: number

    Timestamp of the last task processed by this worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:41
  • - +
    mainWorker: undefined | null | MessagePort

    Reference to main worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:61
  • - +
    opts: WorkerOptions = ...

    Options for the worker.

    -
    +
  • Defined in src/worker/abstract-worker.ts:62
  • - +
    taskFunctions: Map<string, WorkerFunction<Data, Response>>

    Task function(s) processed by the worker when the pool's execution function is invoked.

    -
    +
  • Defined in src/worker/abstract-worker.ts:37
  • Methods

    - +
      - +
    • -

      Returns number

      The unique asyncId assigned to the resource.

      -
    - +
      - +
    • Binds the given function to execute to this AsyncResource's scope.

      - -

      Since

      v14.8.0, v12.19.0

      Type Parameters

      @@ -193,26 +203,31 @@ but the minimum number of workers will be guaranteed.

    • fn: Func

      The function to bind to the current AsyncResource.

      -
    -

    Returns Func

    - +
    +
  • Defined in src/worker/abstract-worker.ts:182
  • - +
    - +
    +
  • Defined in src/worker/abstract-worker.ts:165
  • - + + +

    Returns string

    Message of the error.

    -
    +
  • Defined in src/worker/abstract-worker.ts:197
  • - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:141
  • - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:240
  • - +
    - + -

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:207
  • - + -

    Returns void

    +
  • Defined in src/worker/thread-worker.ts:50
  • - +
    - + -

    Returns Func

    @@ -434,7 +470,7 @@ then restore the original execution context.

    +
  • constructor
  • +
  • aliveInterval
  • +
  • isMain
  • +
  • lastTaskTimestamp
  • +
  • mainWorker
  • +
  • opts
  • +
  • taskFunctions
  • +
  • asyncId
  • +
  • bind
  • +
  • checkAlive
  • +
  • emitDestroy
  • +
  • getMainWorker
  • +
  • handleError
  • +
  • messageListener
  • +
  • runAsync
  • +
  • runInAsyncScope
  • +
  • runSync
  • +
  • sendToMainWorker
  • +
  • triggerAsyncId
  • +
  • bind
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index b1c5224e..9cdf6715 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -17,28 +17,32 @@

    Class WorkerChoiceStrategyContext<Worker, Data, Response>

    The worker choice strategy context.

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:25
  • @@ -46,28 +50,28 @@

    Constructors

    - +
      - +
    • Worker choice strategy context constructor.

      @@ -86,62 +90,69 @@
    • pool: IPool<Worker, Data, Response>

      The pool instance.

      -
    • + +
    • workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN

      The worker choice strategy.

      -
    • + +
    • opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS

      The worker choice strategy options.

      -
    -

    Returns WorkerChoiceStrategyContext<Worker, Data, Response>

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:42
  • Properties

    - +
    workerChoiceStrategies: Map<"ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN", IWorkerChoiceStrategy>
    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:30
  • - +
    workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN

    The worker choice strategy.

    -
    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:44
  • Methods

    - +
    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:145
  • - +
    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:104
  • - + + +

    Returns boolean

    true if the removal is successful, false otherwise.

    -
    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:163
  • - + -

    Returns void

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:176
  • - + -

    Returns void

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:117
  • - +

    Returns boolean

    true if the update is successful, false otherwise.

    -
    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:131
  • +
  • constructor
  • +
  • workerChoiceStrategies
  • +
  • workerChoiceStrategy
  • +
  • execute
  • +
  • getRequiredStatistics
  • +
  • remove
  • +
  • setOptions
  • +
  • setWorkerChoiceStrategy
  • +
  • update
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index b6ba8294..3f4bfc70 100644 --- a/docs/index.html +++ b/docs/index.html @@ -17,68 +17,68 @@

    Index

    Classes

    -

    Interfaces

    -

    Type Aliases

    -

    Variables

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index fdbc41ad..940b8e10 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -17,7 +17,8 @@

    Interface ClusterPoolOptions

    Options for a poolifier cluster pool.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/cluster/fixed.ts:15
  • @@ -33,130 +34,142 @@

    Properties

    - +
    enableEvents?: boolean

    Pool events emission.

    - -

    Default Value

    true

    +
    +
    +

    Default Value

    true

    +
  • Defined in src/pools/pool.ts:136
  • - +
    enableTasksQueue?: boolean

    Pool worker tasks queue.

    - -

    Default Value

    false

    +
    +
    +

    Default Value

    false

    +
  • Defined in src/pools/pool.ts:142
  • - +
    env?: any

    Key/value pairs to add to worker process environment.

    - -

    See

    https://nodejs.org/api/cluster.html#cluster_cluster_fork_env

    +
    +
    +
  • Defined in src/pools/cluster/fixed.ts:22
  • - +
    errorHandler?: ErrorHandler<Worker>

    A function that will listen for error event on each worker.

    -
    +
  • Defined in src/pools/pool.ts:108
  • - +
    exitHandler?: ExitHandler<Worker>

    A function that will listen for exit event on each worker.

    -
    +
  • Defined in src/pools/pool.ts:116
  • - +
    messageHandler?: MessageHandler<Worker>

    A function that will listen for message event on each worker.

    -
    +
  • Defined in src/pools/pool.ts:104
  • - +
    onlineHandler?: OnlineHandler<Worker>

    A function that will listen for online event on each worker.

    -
    +
  • Defined in src/pools/pool.ts:112
  • - +
    restartWorkerOnError?: boolean

    Restart worker on error.

    -
    +
  • Defined in src/pools/pool.ts:130
  • - +
    settings?: ClusterSettings
    +
    +
  • Defined in src/pools/cluster/fixed.ts:28
  • - +
    tasksQueueOptions?: TasksQueueOptions

    Pool worker tasks queue options.

    -
    +
  • Defined in src/pools/pool.ts:146
  • - +
    workerChoiceStrategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"

    The worker choice strategy to use in this pool.

    - -

    Default Value

    WorkerChoiceStrategies.ROUND_ROBIN

    +
    +
    +

    Default Value

    WorkerChoiceStrategies.ROUND_ROBIN

    +
  • Defined in src/pools/pool.ts:122
  • - +
    workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions

    The worker choice strategy options.

    -
    +
  • Defined in src/pools/pool.ts:126
  • +
  • enableEvents
  • +
  • enableTasksQueue
  • +
  • env
  • +
  • errorHandler
  • +
  • exitHandler
  • +
  • messageHandler
  • +
  • onlineHandler
  • +
  • restartWorkerOnError
  • +
  • settings
  • +
  • tasksQueueOptions
  • +
  • workerChoiceStrategy
  • +
  • workerChoiceStrategyOptions
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 93f46940..5123dcf9 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -17,22 +17,26 @@

    Interface IPool<Worker, Data, Response>

    Contract definition for a poolifier pool.

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/pools/pool.ts:156
  • @@ -50,20 +54,20 @@

    Properties

    - +
    destroy: (() => Promise<void>)

    Type declaration

    @@ -74,11 +78,12 @@
  • Shutdowns every current worker in this pool.

    -

    Returns Promise<void>

  • +
  • Defined in src/pools/pool.ts:191
  • - +
    emitter?: PoolEmitter

    Emitter on which events can be listened to.

    Events that can currently be listened to:

    @@ -88,11 +93,12 @@
  • 'error': Emitted when an uncaught error occurs.
  • 'taskError': Emitted when an error occurs while executing a task.
  • -
    +
  • Defined in src/pools/pool.ts:179
  • - +
    enableTasksQueue: ((enable, tasksQueueOptions?) => void)

    Type declaration

    @@ -109,16 +115,19 @@
  • enable: boolean

    Whether to enable or disable the worker tasks queue.

    -
  • +
    +
  • Optional tasksQueueOptions: TasksQueueOptions

    The worker tasks queue options.

    -
  • -

    Returns void

    +
  • Defined in src/pools/pool.ts:216
  • - +
    execute: ((data?, name?) => Promise<Response>)

    Type declaration

    @@ -135,24 +144,28 @@
  • Optional data: Data

    The task input data for the specified worker function. This can only be serializable data.

    -
  • +
    +
  • Optional name: string

    The name of the worker function to execute. If not specified, the default worker function will be executed.

    -
  • + +

    Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    -
    +
  • Defined in src/pools/pool.ts:187
  • - +
    info: PoolInfo

    Pool information.

    -
    +
  • Defined in src/pools/pool.ts:164
  • - +
    setTasksQueueOptions: ((tasksQueueOptions) => void)

    Type declaration

    @@ -169,12 +182,14 @@
  • tasksQueueOptions: TasksQueueOptions

    The worker tasks queue options.

    -
  • -

    Returns void

    +
  • Defined in src/pools/pool.ts:225
  • - +
    setWorkerChoiceStrategy: ((workerChoiceStrategy, workerChoiceStrategyOptions?) => void)

    Type declaration

    @@ -191,16 +206,19 @@
  • workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"

    The worker choice strategy.

    -
  • +
    +
  • Optional workerChoiceStrategyOptions: WorkerChoiceStrategyOptions

    The worker choice strategy options.

    -
  • -

    Returns void

    +
  • Defined in src/pools/pool.ts:198
  • - +
    setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions) => void)

    Type declaration

    @@ -217,22 +235,25 @@
  • workerChoiceStrategyOptions: WorkerChoiceStrategyOptions

    The worker choice strategy options.

    -
  • -

    Returns void

    +
  • Defined in src/pools/pool.ts:207
  • - +
    workerNodes: WorkerNode<Worker, Data>[]

    Pool worker nodes.

    -
    +
  • Defined in src/pools/pool.ts:168
  • +
  • destroy
  • +
  • emitter
  • +
  • enableTasksQueue
  • +
  • execute
  • +
  • info
  • +
  • setTasksQueueOptions
  • +
  • setWorkerChoiceStrategy
  • +
  • setWorkerChoiceStrategyOptions
  • +
  • workerNodes
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html index c8779a03..27e8ba36 100644 --- a/docs/interfaces/IWorker.html +++ b/docs/interfaces/IWorker.html @@ -17,13 +17,14 @@

    Interface IWorker

    Worker interface.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/worker.ts:113
  • @@ -31,24 +32,85 @@

    Properties

    -

    Properties

    - +
    on: ((event, handler) => void) & ((event, handler) => void) & ((event, handler) => void) & ((event, handler) => void)

    Register an event listener.

    +
    +
    +

    Type declaration

    +
      +
    • +
        +
      • (event, handler): void
      • +
      • +
        +

        Parameters

        +
        +

        Returns void

    +
    +

    Type declaration

    +
      +
    • +
        +
      • (event, handler): void
      • +
      • +
        +

        Parameters

        +
        +

        Returns void

    +
    +

    Type declaration

    +
      +
    • +
        +
      • (event, handler): void
      • +
      • +
        +

        Parameters

        +
        +

        Returns void

    +
    +

    Type declaration

    +
      +
    • +
        +
      • (event, handler): void
      • +
      • +
        +

        Parameters

        +
        +

        Returns void

    +
    +

    Param

    The event.

    -

    Param

    The event.

    - -

    Param

    The event handler.

    +

    Param

    The event handler.

    +
  • Defined in src/pools/worker.ts:120
  • - +
    once: ((event, handler) => void)

    Type declaration

    @@ -65,19 +127,22 @@
  • event: "exit"

    'exit'.

    -
  • +
    +
  • handler: ExitHandler<IWorker>

    The exit handler.

    -
  • -

    Returns void

    +
  • Defined in src/pools/worker.ts:130
  • +
  • on
  • +
  • once
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index b4bc073f..622ee944 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -17,13 +17,14 @@

    Interface IWorkerChoiceStrategy

    Worker choice strategy interface.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:98
  • @@ -31,17 +32,17 @@

    Properties

    - +
    choose: (() => number)

    Type declaration

    @@ -53,11 +54,12 @@

    Chooses a worker node in the pool and returns its key.

    Returns number

    The worker node key.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:120
  • - +
    remove: ((workerNodeKey) => boolean)

    Type declaration

    @@ -74,20 +76,23 @@
  • workerNodeKey: number

    The worker node key.

    -
  • + +

    Returns boolean

    true if the worker node key is removed, false otherwise.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:127
  • - +
    requiredStatistics: RequiredStatistics

    Required tasks usage statistics.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:102
  • - +
    reset: (() => boolean)

    Type declaration

    @@ -99,11 +104,12 @@

    Resets strategy internals.

    Returns boolean

    true if the reset is successful, false otherwise.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:108
  • - +
    setOptions: ((opts) => void)

    Type declaration

    @@ -120,12 +126,14 @@
  • opts: WorkerChoiceStrategyOptions

    The worker choice strategy options.

    -
  • -

    Returns void

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:133
  • - +
    update: ((workerNodeKey) => boolean)

    Type declaration

    @@ -142,14 +150,15 @@
  • workerNodeKey: number
  • Returns boolean

    true if the update is successful, false otherwise.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:114
  • +
  • choose
  • +
  • remove
  • +
  • requiredStatistics
  • +
  • reset
  • +
  • setOptions
  • +
  • update
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 6f929b94..ba77a3c6 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -17,18 +17,21 @@

    Interface MessageValue<Data, MainWorker>Internal

    Message object that is passed between main worker and worker.

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/utility-types.ts:20
  • @@ -44,98 +47,108 @@

    Properties

    - +
    data?: Data

    Task input data that will be passed to the worker.

    -
    +
  • Defined in src/pools/worker.ts:47
  • - +
    error?: string

    Task error.

    -
    +
  • Defined in src/utility-types.ts:31
  • - +
    errorData?: unknown

    Task data triggering task error.

    -
    +
  • Defined in src/utility-types.ts:35
  • - +
    id?: string

    Message UUID.

    -
    +
  • Defined in src/pools/worker.ts:55
  • - +
    kill?: 1 | "SOFT" | "HARD"

    Kill code.

    -
    +
  • Defined in src/utility-types.ts:27
  • - +
    name?: string

    Task name.

    -
    +
  • Defined in src/pools/worker.ts:43
  • - +
    parent?: MainWorker

    Reference to main worker.

    -
    +
  • Defined in src/utility-types.ts:47
  • - +
    runTime?: number

    Runtime.

    -
    +
  • Defined in src/utility-types.ts:39
  • - +
    submissionTimestamp?: number

    Submission timestamp.

    -
    +
  • Defined in src/pools/worker.ts:51
  • - +
    waitTime?: number

    Wait time.

    -
    +
  • Defined in src/utility-types.ts:43
  • +
  • data
  • +
  • error
  • +
  • errorData
  • +
  • id
  • +
  • kill
  • +
  • name
  • +
  • parent
  • +
  • runTime
  • +
  • submissionTimestamp
  • +
  • waitTime
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/PoolInfo.html b/docs/interfaces/PoolInfo.html index 9f6ebee3..f7d5cbb8 100644 --- a/docs/interfaces/PoolInfo.html +++ b/docs/interfaces/PoolInfo.html @@ -17,13 +17,14 @@

    Interface PoolInfo

    Pool information.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/pool.ts:70
  • @@ -31,74 +32,74 @@

    Properties

    - +
    busyWorkerNodes: number
    +
  • Defined in src/pools/pool.ts:77
  • - +
    idleWorkerNodes: number
    +
  • Defined in src/pools/pool.ts:76
  • - +
    maxQueuedTasks: number
    +
  • Defined in src/pools/pool.ts:80
  • - +
    maxSize: number
    +
  • Defined in src/pools/pool.ts:74
  • - +
    minSize: number
    +
  • Defined in src/pools/pool.ts:73
  • - +
    queuedTasks: number
    +
  • Defined in src/pools/pool.ts:79
  • - +
    runningTasks: number
    +
  • Defined in src/pools/pool.ts:78
  • - +
    type: "fixed" | "dynamic"
    +
  • Defined in src/pools/pool.ts:71
  • - +
    worker: "cluster" | "thread"
    +
  • Defined in src/pools/pool.ts:72
  • - +
    workerNodes: number
    +
  • Defined in src/pools/pool.ts:75
  • +
  • busyWorkerNodes
  • +
  • idleWorkerNodes
  • +
  • maxQueuedTasks
  • +
  • maxSize
  • +
  • minSize
  • +
  • queuedTasks
  • +
  • runningTasks
  • +
  • type
  • +
  • worker
  • +
  • workerNodes
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index c01b93d1..c96adae5 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -17,14 +17,16 @@

    Interface PoolOptions<Worker>

    Options for a poolifier pool.

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/pools/pool.ts:100
  • @@ -40,100 +42,110 @@

    Properties

    - +
    enableEvents?: boolean

    Pool events emission.

    - -

    Default Value

    true

    +
    +
    +

    Default Value

    true

    +
  • Defined in src/pools/pool.ts:136
  • - +
    enableTasksQueue?: boolean

    Pool worker tasks queue.

    - -

    Default Value

    false

    +
    +
    +

    Default Value

    false

    +
  • Defined in src/pools/pool.ts:142
  • - +
    errorHandler?: ErrorHandler<Worker>

    A function that will listen for error event on each worker.

    -
    +
  • Defined in src/pools/pool.ts:108
  • - +
    exitHandler?: ExitHandler<Worker>

    A function that will listen for exit event on each worker.

    -
    +
  • Defined in src/pools/pool.ts:116
  • - +
    messageHandler?: MessageHandler<Worker>

    A function that will listen for message event on each worker.

    -
    +
  • Defined in src/pools/pool.ts:104
  • - +
    onlineHandler?: OnlineHandler<Worker>

    A function that will listen for online event on each worker.

    -
    +
  • Defined in src/pools/pool.ts:112
  • - +
    restartWorkerOnError?: boolean

    Restart worker on error.

    -
    +
  • Defined in src/pools/pool.ts:130
  • - +
    tasksQueueOptions?: TasksQueueOptions

    Pool worker tasks queue options.

    -
    +
  • Defined in src/pools/pool.ts:146
  • - +
    workerChoiceStrategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"

    The worker choice strategy to use in this pool.

    - -

    Default Value

    WorkerChoiceStrategies.ROUND_ROBIN

    +
    +
    +

    Default Value

    WorkerChoiceStrategies.ROUND_ROBIN

    +
  • Defined in src/pools/pool.ts:122
  • - +
    workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions

    The worker choice strategy options.

    -
    +
  • Defined in src/pools/pool.ts:126
  • +
  • enableEvents
  • +
  • enableTasksQueue
  • +
  • errorHandler
  • +
  • exitHandler
  • +
  • messageHandler
  • +
  • onlineHandler
  • +
  • restartWorkerOnError
  • +
  • tasksQueueOptions
  • +
  • workerChoiceStrategy
  • +
  • workerChoiceStrategyOptions
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/PromiseResponseWrapper.html b/docs/interfaces/PromiseResponseWrapper.html index a4503576..35664d2b 100644 --- a/docs/interfaces/PromiseResponseWrapper.html +++ b/docs/interfaces/PromiseResponseWrapper.html @@ -17,24 +17,27 @@

    Interface PromiseResponseWrapper<Worker, Response>Internal

    An object holding the execution response promise resolve/reject callbacks.

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/utility-types.ts:103
  • @@ -42,14 +45,14 @@

    Properties

    - +
    reject: ((reason?) => void)

    Type declaration

    @@ -65,11 +68,12 @@
    • Optional reason: string
    -

    Returns void

    +
  • Defined in src/utility-types.ts:114
  • - +
    resolve: ((value) => void)

    Type declaration

    @@ -85,21 +89,23 @@
    • value: Response
    -

    Returns void

    +
  • Defined in src/utility-types.ts:110
  • - +
    worker: Worker

    The worker handling the execution.

    -
    +
  • Defined in src/utility-types.ts:118
  • +
  • reject
  • +
  • resolve
  • +
  • worker
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/RequiredStatistics.html b/docs/interfaces/RequiredStatistics.html index 13f104a3..ea6929e7 100644 --- a/docs/interfaces/RequiredStatistics.html +++ b/docs/interfaces/RequiredStatistics.html @@ -17,13 +17,14 @@

    Interface RequiredStatisticsInternal

    Pool worker tasks usage statistics requirements.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:68
  • @@ -31,62 +32,68 @@

    Properties

    - +
    avgRunTime: boolean

    Require tasks average runtime.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:76
  • - +
    avgWaitTime: boolean

    Require tasks average wait time.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:88
  • - +
    medRunTime: boolean

    Require tasks median runtime.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:80
  • - +
    medWaitTime: boolean

    Require tasks median wait time.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:92
  • - +
    runTime: boolean

    Require tasks runtime.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:72
  • - +
    waitTime: boolean

    Require tasks wait time.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:84
  • +
  • avgRunTime
  • +
  • avgWaitTime
  • +
  • medRunTime
  • +
  • medWaitTime
  • +
  • runTime
  • +
  • waitTime
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 4e864fa1..5b437807 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -17,14 +17,16 @@

    Interface Task<Data>Internal

    Message object that is passed as a task between main worker and worker.

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/pools/worker.ts:39
  • @@ -40,46 +42,50 @@

    Properties

    - +
    data?: Data

    Task input data that will be passed to the worker.

    -
    +
  • Defined in src/pools/worker.ts:47
  • - +
    id?: string

    Message UUID.

    -
    +
  • Defined in src/pools/worker.ts:55
  • - +
    name?: string

    Task name.

    -
    +
  • Defined in src/pools/worker.ts:43
  • - +
    submissionTimestamp?: number

    Submission timestamp.

    -
    +
  • Defined in src/pools/worker.ts:51
  • +
  • data
  • +
  • id
  • +
  • name
  • +
  • submissionTimestamp
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index a911e177..4f1a4046 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -17,13 +17,14 @@

    Interface TasksQueueOptions

    Worker tasks queue options.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/pool.ts:86
  • @@ -31,24 +32,25 @@

    Properties

    -

    Properties

    - +
    concurrency?: number

    Maximum number of tasks that can be executed concurrently on a worker.

    - -

    Default Value

    1

    +
    +
    +

    Default Value

    1

    +
  • Defined in src/pools/pool.ts:92
  • +
  • concurrency
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/TasksUsage.html b/docs/interfaces/TasksUsage.html index 45029642..750516a0 100644 --- a/docs/interfaces/TasksUsage.html +++ b/docs/interfaces/TasksUsage.html @@ -17,13 +17,14 @@

    Interface TasksUsageInternal

    Worker tasks usage statistics.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/worker.ts:63
  • @@ -31,102 +32,113 @@

    Properties

    - +
    avgRunTime: number

    Average tasks runtime.

    -
    +
  • Defined in src/pools/worker.ts:83
  • - +
    avgWaitTime: number

    Average tasks wait time.

    -
    +
  • Defined in src/pools/worker.ts:99
  • - +
    error: number

    Number of tasks errored.

    -
    +
  • Defined in src/pools/worker.ts:107
  • - +
    medRunTime: number

    Median tasks runtime.

    -
    +
  • Defined in src/pools/worker.ts:87
  • - +
    medWaitTime: number

    Median tasks wait time.

    -
    -
    - -
    run: number
    +
  • Defined in src/pools/worker.ts:103
  • +
    + +
    ran: number

    Number of tasks executed.

    -
    +
  • Defined in src/pools/worker.ts:67
  • - +
    runTime: number

    Tasks runtime.

    -
    +
  • Defined in src/pools/worker.ts:75
  • - +
    runTimeHistory: CircularArray<number>

    Tasks runtime history.

    -
    +
  • Defined in src/pools/worker.ts:79
  • - +
    running: number

    Number of tasks running.

    -
    +
  • Defined in src/pools/worker.ts:71
  • - +
    waitTime: number

    Tasks wait time.

    -
    +
  • Defined in src/pools/worker.ts:91
  • - +
    waitTimeHistory: CircularArray<number>

    Tasks wait time history.

    -
    +
  • Defined in src/pools/worker.ts:95
  • +
  • avgRunTime
  • +
  • avgWaitTime
  • +
  • error
  • +
  • medRunTime
  • +
  • medWaitTime
  • +
  • ran
  • +
  • runTime
  • +
  • runTimeHistory
  • +
  • running
  • +
  • waitTime
  • +
  • waitTimeHistory
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index c00de26b..daa1a529 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -17,13 +17,14 @@

    Interface WorkerChoiceStrategyOptions

    Worker choice strategy options.

    -
    + +

    Hierarchy

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:41
  • @@ -31,45 +32,48 @@

    Properties

    - +
    medRunTime?: boolean

    Use tasks median runtime instead of average runtime.

    - -

    Default Value

    false

    +
    +
    +

    Default Value

    false

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:47
  • - +
    medWaitTime?: boolean

    Use tasks median wait time instead of average runtime.

    - -

    Default Value

    false

    +
    +
    +

    Default Value

    false

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:53
  • - +
    weights?: Record<number, number>

    Worker weights to use for weighted round robin worker selection strategy. Weight is the tasks maximum average or median runtime in milliseconds.

    - -

    Default Value

    Computed worker weights automatically given the CPU performance.

    +
    +
    +

    Default Value

    Computed worker weights automatically given the CPU performance.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:60
  • +
  • medRunTime
  • +
  • medWaitTime
  • +
  • weights
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/WorkerNode.html b/docs/interfaces/WorkerNode.html index ff03c91a..be327355 100644 --- a/docs/interfaces/WorkerNode.html +++ b/docs/interfaces/WorkerNode.html @@ -17,24 +17,27 @@

    Interface WorkerNode<Worker, Data>Internal

    Worker node interface.

    -
    + +

    Type Parameters

    + +

    Hierarchy

    +
  • Defined in src/pools/worker.ts:140
  • @@ -42,38 +45,41 @@

    Properties

    - +
    tasksQueue: Queue<Task<Data>>

    Worker node tasks queue.

    -
    +
  • Defined in src/pools/worker.ts:152
  • - +
    tasksUsage: TasksUsage

    Worker node tasks usage statistics.

    -
    +
  • Defined in src/pools/worker.ts:148
  • - +
    worker: Worker

    Worker node worker.

    -
    +
  • Defined in src/pools/worker.ts:144
  • +
  • tasksQueue
  • +
  • tasksUsage
  • +
  • worker
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 6e69b4a6..33d2c981 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -17,13 +17,14 @@

    Interface WorkerOptions

    Options for workers.

    -
    + +

    Hierarchy

    +
  • Defined in src/worker/worker-options.ts:38
  • @@ -31,25 +32,26 @@

    Properties

    - +
    async?: boolean

    Whether your worker will perform asynchronous or not.

    +
    +
    +

    Default Value

    false

    -

    Default Value

    false

    - -

    Deprecated

    This option will be removed in the next major version.

    +

    Deprecated

    This option will be removed in the next major version.

    +
  • Defined in src/worker/worker-options.ts:58
  • - +
    killBehavior?: "SOFT" | "HARD"

    killBehavior dictates if your async unit (worker/process) will be deleted in case that a task is active on it.

      @@ -57,13 +59,14 @@
    • HARD: If currentTime - lastActiveTime is greater than maxInactiveTime but a task is still running, then the worker will be deleted.

    This option only apply to the newly created workers.

    - -

    Default Value

    KillBehaviors.SOFT

    +
    +
    +

    Default Value

    KillBehaviors.SOFT

    +
  • Defined in src/worker/worker-options.ts:69
  • - +
    maxInactiveTime?: number

    Maximum waiting time in milliseconds for tasks.

    After this time, newly created workers will be terminated. @@ -73,16 +76,17 @@ The last active time of your worker unit will be updated when a task is submitte when this timeout expires your tasks is interrupted and the worker is killed if is not part of the minimum size of the pool.

  • If killBehavior is set to KillBehaviors.SOFT your tasks have no timeout and your workers will not be terminated until your task is completed.
  • - -

    Default Value

    60000

    +
    +
    +

    Default Value

    60000

    +
  • Defined in src/worker/worker-options.ts:51
  • +
  • async
  • +
  • killBehavior
  • +
  • maxInactiveTime
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/Draft.html b/docs/types/Draft.html index 3109b3ca..c00395f0 100644 --- a/docs/types/Draft.html +++ b/docs/types/Draft.html @@ -24,14 +24,16 @@
  • T

    Type in which properties will be non-readonly.

    -
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 14879b79..8f10ce81 100644 --- a/docs/types/ErrorHandler.html +++ b/docs/types/ErrorHandler.html @@ -37,14 +37,15 @@
    this: Worker
  • e: Error
  • -

    Returns void

    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index 8aa84bea..48cdfb2e 100644 --- a/docs/types/ExitHandler.html +++ b/docs/types/ExitHandler.html @@ -37,14 +37,15 @@
    this: Worker
  • code: number
  • -

    Returns void

    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/KillBehavior.html b/docs/types/KillBehavior.html index 40b57837..2e1703de 100644 --- a/docs/types/KillBehavior.html +++ b/docs/types/KillBehavior.html @@ -17,14 +17,15 @@

    Type alias KillBehavior

    KillBehavior: keyof typeof KillBehaviors

    Kill behavior.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/MessageHandler.html b/docs/types/MessageHandler.html index 2e534893..fcbb8ffa 100644 --- a/docs/types/MessageHandler.html +++ b/docs/types/MessageHandler.html @@ -37,14 +37,15 @@
    this: Worker
  • m: unknown
  • -

    Returns void

    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/OnlineHandler.html b/docs/types/OnlineHandler.html index 98cd2009..02cd39ab 100644 --- a/docs/types/OnlineHandler.html +++ b/docs/types/OnlineHandler.html @@ -35,14 +35,15 @@ -

    Returns void

    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/PoolEvent.html b/docs/types/PoolEvent.html index 8139df13..85e6aba7 100644 --- a/docs/types/PoolEvent.html +++ b/docs/types/PoolEvent.html @@ -17,14 +17,15 @@

    Type alias PoolEvent

    PoolEvent: keyof typeof PoolEvents

    Pool event.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/PoolType.html b/docs/types/PoolType.html index bdcc5cc4..cd705c63 100644 --- a/docs/types/PoolType.html +++ b/docs/types/PoolType.html @@ -17,14 +17,15 @@

    Type alias PoolType

    PoolType: keyof typeof PoolTypes

    Pool type.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index 80b39932..cd8e6881 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -27,18 +27,21 @@ The value is the function itself.

  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of execution response. This can only be serializable data.

    -
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/ThreadWorkerWithMessageChannel.html b/docs/types/ThreadWorkerWithMessageChannel.html index a9f08704..3e8c31d0 100644 --- a/docs/types/ThreadWorkerWithMessageChannel.html +++ b/docs/types/ThreadWorkerWithMessageChannel.html @@ -17,14 +17,15 @@

    Type alias ThreadWorkerWithMessageChannel

    ThreadWorkerWithMessageChannel: Worker & Draft<MessageChannel>

    A thread worker with message channels for communication between main thread and thread worker.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/WorkerAsyncFunction.html b/docs/types/WorkerAsyncFunction.html index bb5148a4..2c734136 100644 --- a/docs/types/WorkerAsyncFunction.html +++ b/docs/types/WorkerAsyncFunction.html @@ -22,11 +22,13 @@
  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of execution response. This can only be serializable data.

    -
  • + +

    Type declaration

    -

    Returns Promise<Response>

    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/WorkerChoiceStrategy.html b/docs/types/WorkerChoiceStrategy.html index cf0a2770..ff900c5c 100644 --- a/docs/types/WorkerChoiceStrategy.html +++ b/docs/types/WorkerChoiceStrategy.html @@ -17,14 +17,15 @@

    Type alias WorkerChoiceStrategy

    WorkerChoiceStrategy: keyof typeof WorkerChoiceStrategies

    Worker choice strategy.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/WorkerFunction.html b/docs/types/WorkerFunction.html index 0bd1266c..cdea09ee 100644 --- a/docs/types/WorkerFunction.html +++ b/docs/types/WorkerFunction.html @@ -25,18 +25,21 @@ This function can be synchronous or asynchronous.

  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of execution response. This can only be serializable data.

    -
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/WorkerSyncFunction.html b/docs/types/WorkerSyncFunction.html index 5500654d..f6b00c43 100644 --- a/docs/types/WorkerSyncFunction.html +++ b/docs/types/WorkerSyncFunction.html @@ -22,11 +22,13 @@
  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

    -
  • + +
  • Response = unknown

    Type of execution response. This can only be serializable data.

    -
  • + +

    Type declaration

    -

    Returns Response

    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/WorkerType.html b/docs/types/WorkerType.html index fcbb15df..8c2bf6cf 100644 --- a/docs/types/WorkerType.html +++ b/docs/types/WorkerType.html @@ -17,14 +17,15 @@

    Type alias WorkerType

    WorkerType: keyof typeof WorkerTypes

    Worker type.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/KillBehaviors.html b/docs/variables/KillBehaviors.html index 33f28de9..4d9991d4 100644 --- a/docs/variables/KillBehaviors.html +++ b/docs/variables/KillBehaviors.html @@ -17,14 +17,28 @@

    Variable KillBehaviorsConst

    KillBehaviors: Readonly<{
        HARD: "HARD";
        SOFT: "SOFT";
    }> = ...

    Enumeration of kill behaviors.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/PoolEvents.html b/docs/variables/PoolEvents.html index a8287d08..391f1e64 100644 --- a/docs/variables/PoolEvents.html +++ b/docs/variables/PoolEvents.html @@ -17,14 +17,26 @@

    Variable PoolEventsConst

    PoolEvents: Readonly<{
        busy: "busy";
        error: "error";
        full: "full";
        taskError: "taskError";
    }> = ...

    Enumeration of pool events.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/PoolTypes.html b/docs/variables/PoolTypes.html index eef14c4f..059dacdd 100644 --- a/docs/variables/PoolTypes.html +++ b/docs/variables/PoolTypes.html @@ -17,14 +17,28 @@

    Variable PoolTypesConst

    PoolTypes: Readonly<{
        dynamic: "dynamic";
        fixed: "fixed";
    }> = ...

    Enumeration of pool types.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/WorkerChoiceStrategies.html b/docs/variables/WorkerChoiceStrategies.html index 46eeec48..01d30233 100644 --- a/docs/variables/WorkerChoiceStrategies.html +++ b/docs/variables/WorkerChoiceStrategies.html @@ -17,14 +17,48 @@

    Variable WorkerChoiceStrategiesConst

    WorkerChoiceStrategies: Readonly<{
        FAIR_SHARE: "FAIR_SHARE";
        INTERLEAVED_WEIGHTED_ROUND_ROBIN: "INTERLEAVED_WEIGHTED_ROUND_ROBIN";
        LEAST_BUSY: "LEAST_BUSY";
        LEAST_USED: "LEAST_USED";
        ROUND_ROBIN: "ROUND_ROBIN";
        WEIGHTED_ROUND_ROBIN: "WEIGHTED_ROUND_ROBIN";
    }> = ...

    Enumeration of worker choice strategies.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/WorkerTypes.html b/docs/variables/WorkerTypes.html index 6ac350e3..57a9ea16 100644 --- a/docs/variables/WorkerTypes.html +++ b/docs/variables/WorkerTypes.html @@ -17,14 +17,22 @@

    Variable WorkerTypesConst

    WorkerTypes: Readonly<{
        cluster: "cluster";
        thread: "thread";
    }> = ...

    Enumeration of worker types.

    -
    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file -- 2.34.1