From ed1ecf09c599769ed61771ec25d71c39c19ba70b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 13 Oct 2022 22:28:18 +0200 Subject: [PATCH] Update documentation for 2.3.0 release MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- docs/assets/search.js | 2 +- docs/classes/AbstractWorker.html | 32 +-- docs/classes/ClusterWorker.html | 26 +-- docs/classes/DynamicClusterPool.html | 198 +++++++++++------- docs/classes/DynamicThreadPool.html | 198 +++++++++++------- docs/classes/FixedClusterPool.html | 198 +++++++++++------- docs/classes/FixedThreadPool.html | 198 +++++++++++------- docs/classes/ThreadWorker.html | 26 +-- docs/index.html | 2 + docs/interfaces/ClusterPoolOptions.html | 22 +- docs/interfaces/IPool.html | 18 +- docs/interfaces/IPoolWorker.html | 34 +-- docs/interfaces/PoolOptions.html | 20 +- docs/interfaces/WorkerOptions.html | 10 +- docs/types/ErrorHandler.html | 3 +- docs/types/ExitHandler.html | 3 +- docs/types/KillBehavior.html | 3 +- docs/types/MessageHandler.html | 87 ++++++++ docs/types/OnlineHandler.html | 3 +- .../types/ThreadWorkerWithMessageChannel.html | 3 +- docs/types/WorkerChoiceStrategy.html | 3 +- docs/variables/KillBehaviors.html | 3 +- docs/variables/WorkerChoiceStrategies.html | 5 +- 23 files changed, 678 insertions(+), 419 deletions(-) create mode 100644 docs/types/MessageHandler.html diff --git a/docs/assets/search.js b/docs/assets/search.js index c1adaedc..011a5bc9 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\"},\"rows\":[{\"kind\":128,\"name\":\"DynamicClusterPool\",\"url\":\"classes/DynamicClusterPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicClusterPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicClusterPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicClusterPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicClusterPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicClusterPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicClusterPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicClusterPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicClusterPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicClusterPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicClusterPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workers\",\"url\":\"classes/DynamicClusterPool.html#workers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"tasks\",\"url\":\"classes/DynamicClusterPool.html#tasks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicClusterPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"promiseMap\",\"url\":\"classes/DynamicClusterPool.html#promiseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"nextMessageId\",\"url\":\"classes/DynamicClusterPool.html#nextMessageId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicClusterPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerRunningTasks\",\"url\":\"classes/DynamicClusterPool.html#getWorkerRunningTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerIndex\",\"url\":\"classes/DynamicClusterPool.html#getWorkerIndex\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"internalGetBusyStatus\",\"url\":\"classes/DynamicClusterPool.html#internalGetBusyStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"findFreeWorker\",\"url\":\"classes/DynamicClusterPool.html#findFreeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicClusterPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicClusterPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"increaseWorkersTask\",\"url\":\"classes/DynamicClusterPool.html#increaseWorkersTask\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"decreaseWorkersTasks\",\"url\":\"classes/DynamicClusterPool.html#decreaseWorkersTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"removeWorker\",\"url\":\"classes/DynamicClusterPool.html#removeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorker\",\"url\":\"classes/DynamicClusterPool.html#chooseWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"internalExecute\",\"url\":\"classes/DynamicClusterPool.html#internalExecute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicClusterPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DynamicClusterPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedClusterPool\",\"url\":\"classes/FixedClusterPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedClusterPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedClusterPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedClusterPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedClusterPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedClusterPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedClusterPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedClusterPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedClusterPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedClusterPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workers\",\"url\":\"classes/FixedClusterPool.html#workers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"tasks\",\"url\":\"classes/FixedClusterPool.html#tasks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedClusterPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/FixedClusterPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"promiseMap\",\"url\":\"classes/FixedClusterPool.html#promiseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"nextMessageId\",\"url\":\"classes/FixedClusterPool.html#nextMessageId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedClusterPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerRunningTasks\",\"url\":\"classes/FixedClusterPool.html#getWorkerRunningTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerIndex\",\"url\":\"classes/FixedClusterPool.html#getWorkerIndex\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"internalGetBusyStatus\",\"url\":\"classes/FixedClusterPool.html#internalGetBusyStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"findFreeWorker\",\"url\":\"classes/FixedClusterPool.html#findFreeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedClusterPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedClusterPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"increaseWorkersTask\",\"url\":\"classes/FixedClusterPool.html#increaseWorkersTask\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"decreaseWorkersTasks\",\"url\":\"classes/FixedClusterPool.html#decreaseWorkersTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"removeWorker\",\"url\":\"classes/FixedClusterPool.html#removeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorker\",\"url\":\"classes/FixedClusterPool.html#chooseWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"internalExecute\",\"url\":\"classes/FixedClusterPool.html#internalExecute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedClusterPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FixedClusterPool.workerListener.workerListener\"},{\"kind\":256,\"name\":\"ClusterPoolOptions\",\"url\":\"interfaces/ClusterPoolOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"env\",\"url\":\"interfaces/ClusterPoolOptions.html#env\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#messageHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#errorHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#onlineHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#exitHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/ClusterPoolOptions.html#enableEvents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":256,\"name\":\"IPool\",\"url\":\"interfaces/IPool.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"interfaces/IPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"interfaces/IPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":256,\"name\":\"PoolOptions\",\"url\":\"interfaces/PoolOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/PoolOptions.html#messageHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/PoolOptions.html#errorHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/PoolOptions.html#onlineHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/PoolOptions.html#exitHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/PoolOptions.html#enableEvents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":4194304,\"name\":\"ErrorHandler\",\"url\":\"types/ErrorHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ErrorHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ErrorHandler\"},{\"kind\":4194304,\"name\":\"ExitHandler\",\"url\":\"types/ExitHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ExitHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ExitHandler\"},{\"kind\":256,\"name\":\"IPoolWorker\",\"url\":\"interfaces/IPoolWorker.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/IPoolWorker.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPoolWorker\"},{\"kind\":2048,\"name\":\"on\",\"url\":\"interfaces/IPoolWorker.html#on\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPoolWorker\"},{\"kind\":2048,\"name\":\"once\",\"url\":\"interfaces/IPoolWorker.html#once\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPoolWorker\"},{\"kind\":4194304,\"name\":\"OnlineHandler\",\"url\":\"types/OnlineHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/OnlineHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"OnlineHandler\"},{\"kind\":32,\"name\":\"WorkerChoiceStrategies\",\"url\":\"variables/WorkerChoiceStrategies.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":4194304,\"name\":\"WorkerChoiceStrategy\",\"url\":\"types/WorkerChoiceStrategy.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"DynamicThreadPool\",\"url\":\"classes/DynamicThreadPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicThreadPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicThreadPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicThreadPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicThreadPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicThreadPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicThreadPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicThreadPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicThreadPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workers\",\"url\":\"classes/DynamicThreadPool.html#workers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"tasks\",\"url\":\"classes/DynamicThreadPool.html#tasks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicThreadPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"promiseMap\",\"url\":\"classes/DynamicThreadPool.html#promiseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"nextMessageId\",\"url\":\"classes/DynamicThreadPool.html#nextMessageId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicThreadPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicThreadPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerRunningTasks\",\"url\":\"classes/DynamicThreadPool.html#getWorkerRunningTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerIndex\",\"url\":\"classes/DynamicThreadPool.html#getWorkerIndex\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"internalGetBusyStatus\",\"url\":\"classes/DynamicThreadPool.html#internalGetBusyStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"findFreeWorker\",\"url\":\"classes/DynamicThreadPool.html#findFreeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicThreadPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicThreadPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicThreadPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"increaseWorkersTask\",\"url\":\"classes/DynamicThreadPool.html#increaseWorkersTask\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"decreaseWorkersTasks\",\"url\":\"classes/DynamicThreadPool.html#decreaseWorkersTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"removeWorker\",\"url\":\"classes/DynamicThreadPool.html#removeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorker\",\"url\":\"classes/DynamicThreadPool.html#chooseWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"internalExecute\",\"url\":\"classes/DynamicThreadPool.html#internalExecute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicThreadPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DynamicThreadPool.workerListener.workerListener\"},{\"kind\":128,\"name\":\"FixedThreadPool\",\"url\":\"classes/FixedThreadPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedThreadPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedThreadPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedThreadPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedThreadPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedThreadPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedThreadPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedThreadPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workers\",\"url\":\"classes/FixedThreadPool.html#workers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"tasks\",\"url\":\"classes/FixedThreadPool.html#tasks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedThreadPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/FixedThreadPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"promiseMap\",\"url\":\"classes/FixedThreadPool.html#promiseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"nextMessageId\",\"url\":\"classes/FixedThreadPool.html#nextMessageId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedThreadPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedThreadPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerRunningTasks\",\"url\":\"classes/FixedThreadPool.html#getWorkerRunningTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerIndex\",\"url\":\"classes/FixedThreadPool.html#getWorkerIndex\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"internalGetBusyStatus\",\"url\":\"classes/FixedThreadPool.html#internalGetBusyStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"findFreeWorker\",\"url\":\"classes/FixedThreadPool.html#findFreeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedThreadPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedThreadPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedThreadPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"increaseWorkersTask\",\"url\":\"classes/FixedThreadPool.html#increaseWorkersTask\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"decreaseWorkersTasks\",\"url\":\"classes/FixedThreadPool.html#decreaseWorkersTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"removeWorker\",\"url\":\"classes/FixedThreadPool.html#removeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorker\",\"url\":\"classes/FixedThreadPool.html#chooseWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"internalExecute\",\"url\":\"classes/FixedThreadPool.html#internalExecute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedThreadPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FixedThreadPool.workerListener.workerListener\"},{\"kind\":4194304,\"name\":\"ThreadWorkerWithMessageChannel\",\"url\":\"types/ThreadWorkerWithMessageChannel.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"AbstractWorker\",\"url\":\"classes/AbstractWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbstractWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/AbstractWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/AbstractWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/AbstractWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/AbstractWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/AbstractWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkWorkerOptions\",\"url\":\"classes/AbstractWorker.html#checkWorkerOptions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkFunctionInput\",\"url\":\"classes/AbstractWorker.html#checkFunctionInput\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/AbstractWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/AbstractWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/AbstractWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/AbstractWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/AbstractWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/AbstractWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":128,\"name\":\"ClusterWorker\",\"url\":\"classes/ClusterWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClusterWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ClusterWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ClusterWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ClusterWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ClusterWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ClusterWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ClusterWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ClusterWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ClusterWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ClusterWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ClusterWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ClusterWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":128,\"name\":\"ThreadWorker\",\"url\":\"classes/ThreadWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ThreadWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ThreadWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ThreadWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ThreadWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ThreadWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ThreadWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ThreadWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ThreadWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ThreadWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ThreadWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ThreadWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ThreadWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":32,\"name\":\"KillBehaviors\",\"url\":\"variables/KillBehaviors.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":4194304,\"name\":\"KillBehavior\",\"url\":\"types/KillBehavior.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":256,\"name\":\"WorkerOptions\",\"url\":\"interfaces/WorkerOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"maxInactiveTime\",\"url\":\"interfaces/WorkerOptions.html#maxInactiveTime\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"async\",\"url\":\"interfaces/WorkerOptions.html#async\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"killBehavior\",\"url\":\"interfaces/WorkerOptions.html#killBehavior\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,50.239]],[\"comment/0\",[]],[\"name/1\",[1,34.144]],[\"comment/1\",[]],[\"name/2\",[2,39.253]],[\"comment/2\",[]],[\"name/3\",[3,39.253]],[\"comment/3\",[]],[\"name/4\",[4,39.253]],[\"comment/4\",[]],[\"name/5\",[5,34.144]],[\"comment/5\",[]],[\"name/6\",[6,39.253]],[\"comment/6\",[]],[\"name/7\",[7,39.253]],[\"comment/7\",[]],[\"name/8\",[8,39.253]],[\"comment/8\",[]],[\"name/9\",[9,39.253]],[\"comment/9\",[]],[\"name/10\",[10,39.253]],[\"comment/10\",[]],[\"name/11\",[11,39.253]],[\"comment/11\",[]],[\"name/12\",[12,39.253]],[\"comment/12\",[]],[\"name/13\",[13,39.253]],[\"comment/13\",[]],[\"name/14\",[14,39.253]],[\"comment/14\",[]],[\"name/15\",[15,39.253]],[\"comment/15\",[]],[\"name/16\",[16,39.253]],[\"comment/16\",[]],[\"name/17\",[17,39.253]],[\"comment/17\",[]],[\"name/18\",[18,39.253]],[\"comment/18\",[]],[\"name/19\",[19,39.253]],[\"comment/19\",[]],[\"name/20\",[20,39.253]],[\"comment/20\",[]],[\"name/21\",[21,39.253]],[\"comment/21\",[]],[\"name/22\",[22,39.253]],[\"comment/22\",[]],[\"name/23\",[23,39.253]],[\"comment/23\",[]],[\"name/24\",[24,37.246]],[\"comment/24\",[]],[\"name/25\",[25,39.253]],[\"comment/25\",[]],[\"name/26\",[26,39.253]],[\"comment/26\",[]],[\"name/27\",[27,37.246]],[\"comment/27\",[]],[\"name/28\",[28,37.246]],[\"comment/28\",[]],[\"name/29\",[29,39.253]],[\"comment/29\",[]],[\"name/30\",[30,39.253]],[\"comment/30\",[]],[\"name/31\",[31,39.253]],[\"comment/31\",[]],[\"name/32\",[32,39.253]],[\"comment/32\",[]],[\"name/33\",[33,39.253]],[\"comment/33\",[]],[\"name/34\",[34,39.253]],[\"comment/34\",[]],[\"name/35\",[35,39.253]],[\"comment/35\",[]],[\"name/36\",[36,34.144]],[\"comment/36\",[]],[\"name/37\",[37,50.239]],[\"comment/37\",[]],[\"name/38\",[1,34.144]],[\"comment/38\",[]],[\"name/39\",[5,34.144]],[\"comment/39\",[]],[\"name/40\",[6,39.253]],[\"comment/40\",[]],[\"name/41\",[7,39.253]],[\"comment/41\",[]],[\"name/42\",[8,39.253]],[\"comment/42\",[]],[\"name/43\",[9,39.253]],[\"comment/43\",[]],[\"name/44\",[10,39.253]],[\"comment/44\",[]],[\"name/45\",[11,39.253]],[\"comment/45\",[]],[\"name/46\",[12,39.253]],[\"comment/46\",[]],[\"name/47\",[3,39.253]],[\"comment/47\",[]],[\"name/48\",[4,39.253]],[\"comment/48\",[]],[\"name/49\",[13,39.253]],[\"comment/49\",[]],[\"name/50\",[14,39.253]],[\"comment/50\",[]],[\"name/51\",[15,39.253]],[\"comment/51\",[]],[\"name/52\",[2,39.253]],[\"comment/52\",[]],[\"name/53\",[16,39.253]],[\"comment/53\",[]],[\"name/54\",[17,39.253]],[\"comment/54\",[]],[\"name/55\",[18,39.253]],[\"comment/55\",[]],[\"name/56\",[19,39.253]],[\"comment/56\",[]],[\"name/57\",[20,39.253]],[\"comment/57\",[]],[\"name/58\",[21,39.253]],[\"comment/58\",[]],[\"name/59\",[22,39.253]],[\"comment/59\",[]],[\"name/60\",[23,39.253]],[\"comment/60\",[]],[\"name/61\",[24,37.246]],[\"comment/61\",[]],[\"name/62\",[25,39.253]],[\"comment/62\",[]],[\"name/63\",[26,39.253]],[\"comment/63\",[]],[\"name/64\",[27,37.246]],[\"comment/64\",[]],[\"name/65\",[28,37.246]],[\"comment/65\",[]],[\"name/66\",[29,39.253]],[\"comment/66\",[]],[\"name/67\",[30,39.253]],[\"comment/67\",[]],[\"name/68\",[31,39.253]],[\"comment/68\",[]],[\"name/69\",[32,39.253]],[\"comment/69\",[]],[\"name/70\",[33,39.253]],[\"comment/70\",[]],[\"name/71\",[34,39.253]],[\"comment/71\",[]],[\"name/72\",[35,39.253]],[\"comment/72\",[]],[\"name/73\",[36,34.144]],[\"comment/73\",[]],[\"name/74\",[38,50.239]],[\"comment/74\",[]],[\"name/75\",[39,50.239]],[\"comment/75\",[]],[\"name/76\",[40,45.131]],[\"comment/76\",[]],[\"name/77\",[41,41.766]],[\"comment/77\",[]],[\"name/78\",[42,41.766]],[\"comment/78\",[]],[\"name/79\",[43,41.766]],[\"comment/79\",[]],[\"name/80\",[44,41.766]],[\"comment/80\",[]],[\"name/81\",[45,45.131]],[\"comment/81\",[]],[\"name/82\",[46,50.239]],[\"comment/82\",[]],[\"name/83\",[27,37.246]],[\"comment/83\",[]],[\"name/84\",[28,37.246]],[\"comment/84\",[]],[\"name/85\",[24,37.246]],[\"comment/85\",[]],[\"name/86\",[47,50.239]],[\"comment/86\",[]],[\"name/87\",[40,45.131]],[\"comment/87\",[]],[\"name/88\",[41,41.766]],[\"comment/88\",[]],[\"name/89\",[42,41.766]],[\"comment/89\",[]],[\"name/90\",[43,41.766]],[\"comment/90\",[]],[\"name/91\",[44,41.766]],[\"comment/91\",[]],[\"name/92\",[45,45.131]],[\"comment/92\",[]],[\"name/93\",[41,41.766]],[\"comment/93\",[]],[\"name/94\",[36,34.144]],[\"comment/94\",[]],[\"name/95\",[43,41.766]],[\"comment/95\",[]],[\"name/96\",[36,34.144]],[\"comment/96\",[]],[\"name/97\",[48,50.239]],[\"comment/97\",[]],[\"name/98\",[49,50.239]],[\"comment/98\",[]],[\"name/99\",[50,50.239]],[\"comment/99\",[]],[\"name/100\",[51,50.239]],[\"comment/100\",[]],[\"name/101\",[42,41.766]],[\"comment/101\",[]],[\"name/102\",[36,34.144]],[\"comment/102\",[]],[\"name/103\",[52,50.239]],[\"comment/103\",[]],[\"name/104\",[44,41.766]],[\"comment/104\",[]],[\"name/105\",[53,50.239]],[\"comment/105\",[]],[\"name/106\",[1,34.144]],[\"comment/106\",[]],[\"name/107\",[2,39.253]],[\"comment/107\",[]],[\"name/108\",[3,39.253]],[\"comment/108\",[]],[\"name/109\",[4,39.253]],[\"comment/109\",[]],[\"name/110\",[7,39.253]],[\"comment/110\",[]],[\"name/111\",[8,39.253]],[\"comment/111\",[]],[\"name/112\",[9,39.253]],[\"comment/112\",[]],[\"name/113\",[10,39.253]],[\"comment/113\",[]],[\"name/114\",[11,39.253]],[\"comment/114\",[]],[\"name/115\",[12,39.253]],[\"comment/115\",[]],[\"name/116\",[13,39.253]],[\"comment/116\",[]],[\"name/117\",[14,39.253]],[\"comment/117\",[]],[\"name/118\",[15,39.253]],[\"comment/118\",[]],[\"name/119\",[16,39.253]],[\"comment/119\",[]],[\"name/120\",[17,39.253]],[\"comment/120\",[]],[\"name/121\",[18,39.253]],[\"comment/121\",[]],[\"name/122\",[19,39.253]],[\"comment/122\",[]],[\"name/123\",[20,39.253]],[\"comment/123\",[]],[\"name/124\",[5,34.144]],[\"comment/124\",[]],[\"name/125\",[21,39.253]],[\"comment/125\",[]],[\"name/126\",[22,39.253]],[\"comment/126\",[]],[\"name/127\",[23,39.253]],[\"comment/127\",[]],[\"name/128\",[24,37.246]],[\"comment/128\",[]],[\"name/129\",[25,39.253]],[\"comment/129\",[]],[\"name/130\",[26,39.253]],[\"comment/130\",[]],[\"name/131\",[27,37.246]],[\"comment/131\",[]],[\"name/132\",[28,37.246]],[\"comment/132\",[]],[\"name/133\",[6,39.253]],[\"comment/133\",[]],[\"name/134\",[29,39.253]],[\"comment/134\",[]],[\"name/135\",[30,39.253]],[\"comment/135\",[]],[\"name/136\",[31,39.253]],[\"comment/136\",[]],[\"name/137\",[32,39.253]],[\"comment/137\",[]],[\"name/138\",[33,39.253]],[\"comment/138\",[]],[\"name/139\",[34,39.253]],[\"comment/139\",[]],[\"name/140\",[35,39.253]],[\"comment/140\",[]],[\"name/141\",[36,34.144]],[\"comment/141\",[]],[\"name/142\",[54,50.239]],[\"comment/142\",[]],[\"name/143\",[1,34.144]],[\"comment/143\",[]],[\"name/144\",[7,39.253]],[\"comment/144\",[]],[\"name/145\",[8,39.253]],[\"comment/145\",[]],[\"name/146\",[9,39.253]],[\"comment/146\",[]],[\"name/147\",[10,39.253]],[\"comment/147\",[]],[\"name/148\",[11,39.253]],[\"comment/148\",[]],[\"name/149\",[12,39.253]],[\"comment/149\",[]],[\"name/150\",[3,39.253]],[\"comment/150\",[]],[\"name/151\",[4,39.253]],[\"comment/151\",[]],[\"name/152\",[13,39.253]],[\"comment/152\",[]],[\"name/153\",[14,39.253]],[\"comment/153\",[]],[\"name/154\",[15,39.253]],[\"comment/154\",[]],[\"name/155\",[2,39.253]],[\"comment/155\",[]],[\"name/156\",[16,39.253]],[\"comment/156\",[]],[\"name/157\",[17,39.253]],[\"comment/157\",[]],[\"name/158\",[18,39.253]],[\"comment/158\",[]],[\"name/159\",[19,39.253]],[\"comment/159\",[]],[\"name/160\",[20,39.253]],[\"comment/160\",[]],[\"name/161\",[5,34.144]],[\"comment/161\",[]],[\"name/162\",[21,39.253]],[\"comment/162\",[]],[\"name/163\",[22,39.253]],[\"comment/163\",[]],[\"name/164\",[23,39.253]],[\"comment/164\",[]],[\"name/165\",[24,37.246]],[\"comment/165\",[]],[\"name/166\",[25,39.253]],[\"comment/166\",[]],[\"name/167\",[26,39.253]],[\"comment/167\",[]],[\"name/168\",[27,37.246]],[\"comment/168\",[]],[\"name/169\",[28,37.246]],[\"comment/169\",[]],[\"name/170\",[6,39.253]],[\"comment/170\",[]],[\"name/171\",[29,39.253]],[\"comment/171\",[]],[\"name/172\",[30,39.253]],[\"comment/172\",[]],[\"name/173\",[31,39.253]],[\"comment/173\",[]],[\"name/174\",[32,39.253]],[\"comment/174\",[]],[\"name/175\",[33,39.253]],[\"comment/175\",[]],[\"name/176\",[34,39.253]],[\"comment/176\",[]],[\"name/177\",[35,39.253]],[\"comment/177\",[]],[\"name/178\",[36,34.144]],[\"comment/178\",[]],[\"name/179\",[55,50.239]],[\"comment/179\",[]],[\"name/180\",[56,50.239]],[\"comment/180\",[]],[\"name/181\",[1,34.144]],[\"comment/181\",[]],[\"name/182\",[57,41.766]],[\"comment/182\",[]],[\"name/183\",[58,41.766]],[\"comment/183\",[]],[\"name/184\",[5,34.144]],[\"comment/184\",[]],[\"name/185\",[59,41.766]],[\"comment/185\",[]],[\"name/186\",[60,41.766]],[\"comment/186\",[]],[\"name/187\",[61,50.239]],[\"comment/187\",[]],[\"name/188\",[62,50.239]],[\"comment/188\",[]],[\"name/189\",[63,41.766]],[\"comment/189\",[]],[\"name/190\",[64,41.766]],[\"comment/190\",[]],[\"name/191\",[65,41.766]],[\"comment/191\",[]],[\"name/192\",[66,41.766]],[\"comment/192\",[]],[\"name/193\",[67,41.766]],[\"comment/193\",[]],[\"name/194\",[68,41.766]],[\"comment/194\",[]],[\"name/195\",[69,50.239]],[\"comment/195\",[]],[\"name/196\",[1,34.144]],[\"comment/196\",[]],[\"name/197\",[64,41.766]],[\"comment/197\",[]],[\"name/198\",[66,41.766]],[\"comment/198\",[]],[\"name/199\",[57,41.766]],[\"comment/199\",[]],[\"name/200\",[58,41.766]],[\"comment/200\",[]],[\"name/201\",[5,34.144]],[\"comment/201\",[]],[\"name/202\",[59,41.766]],[\"comment/202\",[]],[\"name/203\",[60,41.766]],[\"comment/203\",[]],[\"name/204\",[63,41.766]],[\"comment/204\",[]],[\"name/205\",[65,41.766]],[\"comment/205\",[]],[\"name/206\",[67,41.766]],[\"comment/206\",[]],[\"name/207\",[68,41.766]],[\"comment/207\",[]],[\"name/208\",[70,50.239]],[\"comment/208\",[]],[\"name/209\",[1,34.144]],[\"comment/209\",[]],[\"name/210\",[64,41.766]],[\"comment/210\",[]],[\"name/211\",[57,41.766]],[\"comment/211\",[]],[\"name/212\",[58,41.766]],[\"comment/212\",[]],[\"name/213\",[5,34.144]],[\"comment/213\",[]],[\"name/214\",[59,41.766]],[\"comment/214\",[]],[\"name/215\",[60,41.766]],[\"comment/215\",[]],[\"name/216\",[63,41.766]],[\"comment/216\",[]],[\"name/217\",[65,41.766]],[\"comment/217\",[]],[\"name/218\",[66,41.766]],[\"comment/218\",[]],[\"name/219\",[67,41.766]],[\"comment/219\",[]],[\"name/220\",[68,41.766]],[\"comment/220\",[]],[\"name/221\",[71,50.239]],[\"comment/221\",[]],[\"name/222\",[72,45.131]],[\"comment/222\",[]],[\"name/223\",[73,50.239]],[\"comment/223\",[]],[\"name/224\",[74,50.239]],[\"comment/224\",[]],[\"name/225\",[75,50.239]],[\"comment/225\",[]],[\"name/226\",[72,45.131]],[\"comment/226\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":36,\"name\":{\"36\":{},\"73\":{},\"94\":{},\"96\":{},\"102\":{},\"141\":{},\"178\":{}},\"comment\":{}}],[\"abstractworker\",{\"_index\":56,\"name\":{\"180\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":12,\"name\":{\"12\":{},\"46\":{},\"115\":{},\"149\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":58,\"name\":{\"183\":{},\"200\":{},\"212\":{}},\"comment\":{}}],[\"async\",{\"_index\":75,\"name\":{\"225\":{}},\"comment\":{}}],[\"busy\",{\"_index\":4,\"name\":{\"4\":{},\"48\":{},\"109\":{},\"151\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":65,\"name\":{\"191\":{},\"205\":{},\"217\":{}},\"comment\":{}}],[\"checkfunctioninput\",{\"_index\":62,\"name\":{\"188\":{}},\"comment\":{}}],[\"checkworkeroptions\",{\"_index\":61,\"name\":{\"187\":{}},\"comment\":{}}],[\"chooseworker\",{\"_index\":32,\"name\":{\"32\":{},\"69\":{},\"137\":{},\"174\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":38,\"name\":{\"74\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":69,\"name\":{\"195\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"38\":{},\"106\":{},\"143\":{},\"181\":{},\"196\":{},\"209\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":34,\"name\":{\"34\":{},\"71\":{},\"139\":{},\"176\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":11,\"name\":{\"11\":{},\"45\":{},\"114\":{},\"148\":{}},\"comment\":{}}],[\"decreaseworkerstasks\",{\"_index\":30,\"name\":{\"30\":{},\"67\":{},\"135\":{},\"172\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":28,\"name\":{\"28\":{},\"65\":{},\"84\":{},\"132\":{},\"169\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":8,\"name\":{\"8\":{},\"42\":{},\"111\":{},\"145\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":53,\"name\":{\"105\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":15,\"name\":{\"15\":{},\"51\":{},\"118\":{},\"154\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":45,\"name\":{\"81\":{},\"92\":{}},\"comment\":{}}],[\"env\",{\"_index\":39,\"name\":{\"75\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":41,\"name\":{\"77\":{},\"88\":{},\"93\":{}},\"comment\":{}}],[\"execute\",{\"_index\":27,\"name\":{\"27\":{},\"64\":{},\"83\":{},\"131\":{},\"168\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":43,\"name\":{\"79\":{},\"90\":{},\"95\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":20,\"name\":{\"20\":{},\"57\":{},\"123\":{},\"160\":{}},\"comment\":{}}],[\"findfreeworker\",{\"_index\":26,\"name\":{\"26\":{},\"63\":{},\"130\":{},\"167\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":37,\"name\":{\"37\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":54,\"name\":{\"142\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":63,\"name\":{\"189\":{},\"204\":{},\"216\":{}},\"comment\":{}}],[\"getworkerindex\",{\"_index\":23,\"name\":{\"23\":{},\"60\":{},\"127\":{},\"164\":{}},\"comment\":{}}],[\"getworkerrunningtasks\",{\"_index\":22,\"name\":{\"22\":{},\"59\":{},\"126\":{},\"163\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":66,\"name\":{\"192\":{},\"198\":{},\"218\":{}},\"comment\":{}}],[\"id\",{\"_index\":49,\"name\":{\"98\":{}},\"comment\":{}}],[\"increaseworkerstask\",{\"_index\":29,\"name\":{\"29\":{},\"66\":{},\"134\":{},\"171\":{}},\"comment\":{}}],[\"internalexecute\",{\"_index\":33,\"name\":{\"33\":{},\"70\":{},\"138\":{},\"175\":{}},\"comment\":{}}],[\"internalgetbusystatus\",{\"_index\":25,\"name\":{\"25\":{},\"62\":{},\"129\":{},\"166\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":46,\"name\":{\"82\":{}},\"comment\":{}}],[\"ipoolworker\",{\"_index\":48,\"name\":{\"97\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":7,\"name\":{\"7\":{},\"41\":{},\"110\":{},\"144\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":72,\"name\":{\"222\":{},\"226\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":71,\"name\":{\"221\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":57,\"name\":{\"182\":{},\"199\":{},\"211\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":59,\"name\":{\"185\":{},\"202\":{},\"214\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"52\":{},\"107\":{},\"155\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":74,\"name\":{\"224\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":40,\"name\":{\"76\":{},\"87\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":60,\"name\":{\"186\":{},\"203\":{},\"215\":{}},\"comment\":{}}],[\"nextmessageid\",{\"_index\":17,\"name\":{\"17\":{},\"54\":{},\"120\":{},\"157\":{}},\"comment\":{}}],[\"numberofrunningtasks\",{\"_index\":21,\"name\":{\"21\":{},\"58\":{},\"125\":{},\"162\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":19,\"name\":{\"19\":{},\"56\":{},\"122\":{},\"159\":{}},\"comment\":{}}],[\"on\",{\"_index\":50,\"name\":{\"99\":{}},\"comment\":{}}],[\"once\",{\"_index\":51,\"name\":{\"100\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":42,\"name\":{\"78\":{},\"89\":{},\"101\":{}},\"comment\":{}}],[\"opts\",{\"_index\":5,\"name\":{\"5\":{},\"39\":{},\"124\":{},\"161\":{},\"184\":{},\"201\":{},\"213\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":47,\"name\":{\"86\":{}},\"comment\":{}}],[\"promisemap\",{\"_index\":16,\"name\":{\"16\":{},\"53\":{},\"119\":{},\"156\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":10,\"name\":{\"10\":{},\"44\":{},\"113\":{},\"147\":{}},\"comment\":{}}],[\"removeworker\",{\"_index\":31,\"name\":{\"31\":{},\"68\":{},\"136\":{},\"173\":{}},\"comment\":{}}],[\"run\",{\"_index\":67,\"name\":{\"193\":{},\"206\":{},\"219\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":68,\"name\":{\"194\":{},\"207\":{},\"220\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":64,\"name\":{\"190\":{},\"197\":{},\"210\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":9,\"name\":{\"9\":{},\"43\":{},\"112\":{},\"146\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":6,\"name\":{\"6\":{},\"40\":{},\"133\":{},\"170\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":24,\"name\":{\"24\":{},\"61\":{},\"85\":{},\"128\":{},\"165\":{}},\"comment\":{}}],[\"tasks\",{\"_index\":14,\"name\":{\"14\":{},\"50\":{},\"117\":{},\"153\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":70,\"name\":{\"208\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":55,\"name\":{\"179\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"47\":{},\"108\":{},\"150\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":52,\"name\":{\"103\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":44,\"name\":{\"80\":{},\"91\":{},\"104\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":18,\"name\":{\"18\":{},\"55\":{},\"121\":{},\"158\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":35,\"name\":{\"35\":{},\"72\":{},\"140\":{},\"177\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":73,\"name\":{\"223\":{}},\"comment\":{}}],[\"workers\",{\"_index\":13,\"name\":{\"13\":{},\"49\":{},\"116\":{},\"152\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\"},\"rows\":[{\"kind\":128,\"name\":\"DynamicClusterPool\",\"url\":\"classes/DynamicClusterPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicClusterPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicClusterPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicClusterPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicClusterPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicClusterPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicClusterPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicClusterPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicClusterPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicClusterPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicClusterPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workers\",\"url\":\"classes/DynamicClusterPool.html#workers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workersTasksUsage\",\"url\":\"classes/DynamicClusterPool.html#workersTasksUsage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicClusterPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"promiseMap\",\"url\":\"classes/DynamicClusterPool.html#promiseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"nextMessageId\",\"url\":\"classes/DynamicClusterPool.html#nextMessageId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicClusterPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerIndex\",\"url\":\"classes/DynamicClusterPool.html#getWorkerIndex\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerRunningTasks\",\"url\":\"classes/DynamicClusterPool.html#getWorkerRunningTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerAverageTasksRunTime\",\"url\":\"classes/DynamicClusterPool.html#getWorkerAverageTasksRunTime\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"internalGetBusyStatus\",\"url\":\"classes/DynamicClusterPool.html#internalGetBusyStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"findFreeWorker\",\"url\":\"classes/DynamicClusterPool.html#findFreeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicClusterPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicClusterPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"beforePromiseWorkerResponseHook\",\"url\":\"classes/DynamicClusterPool.html#beforePromiseWorkerResponseHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"afterPromiseWorkerResponseHook\",\"url\":\"classes/DynamicClusterPool.html#afterPromiseWorkerResponseHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"removeWorker\",\"url\":\"classes/DynamicClusterPool.html#removeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorker\",\"url\":\"classes/DynamicClusterPool.html#chooseWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"internalExecute\",\"url\":\"classes/DynamicClusterPool.html#internalExecute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicClusterPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DynamicClusterPool.workerListener.workerListener\"},{\"kind\":2048,\"name\":\"initWorkerTasksUsage\",\"url\":\"classes/DynamicClusterPool.html#initWorkerTasksUsage\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicClusterPool\"},{\"kind\":128,\"name\":\"FixedClusterPool\",\"url\":\"classes/FixedClusterPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedClusterPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedClusterPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedClusterPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedClusterPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedClusterPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedClusterPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedClusterPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedClusterPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedClusterPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedClusterPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedClusterPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workers\",\"url\":\"classes/FixedClusterPool.html#workers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workersTasksUsage\",\"url\":\"classes/FixedClusterPool.html#workersTasksUsage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedClusterPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/FixedClusterPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"promiseMap\",\"url\":\"classes/FixedClusterPool.html#promiseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"nextMessageId\",\"url\":\"classes/FixedClusterPool.html#nextMessageId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedClusterPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedClusterPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedClusterPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedClusterPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerIndex\",\"url\":\"classes/FixedClusterPool.html#getWorkerIndex\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerRunningTasks\",\"url\":\"classes/FixedClusterPool.html#getWorkerRunningTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"getWorkerAverageTasksRunTime\",\"url\":\"classes/FixedClusterPool.html#getWorkerAverageTasksRunTime\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedClusterPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"internalGetBusyStatus\",\"url\":\"classes/FixedClusterPool.html#internalGetBusyStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"findFreeWorker\",\"url\":\"classes/FixedClusterPool.html#findFreeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedClusterPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedClusterPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"beforePromiseWorkerResponseHook\",\"url\":\"classes/FixedClusterPool.html#beforePromiseWorkerResponseHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"afterPromiseWorkerResponseHook\",\"url\":\"classes/FixedClusterPool.html#afterPromiseWorkerResponseHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"removeWorker\",\"url\":\"classes/FixedClusterPool.html#removeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"chooseWorker\",\"url\":\"classes/FixedClusterPool.html#chooseWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"internalExecute\",\"url\":\"classes/FixedClusterPool.html#internalExecute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedClusterPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedClusterPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedClusterPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FixedClusterPool.workerListener.workerListener\"},{\"kind\":2048,\"name\":\"initWorkerTasksUsage\",\"url\":\"classes/FixedClusterPool.html#initWorkerTasksUsage\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedClusterPool\"},{\"kind\":256,\"name\":\"ClusterPoolOptions\",\"url\":\"interfaces/ClusterPoolOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"env\",\"url\":\"interfaces/ClusterPoolOptions.html#env\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#messageHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#errorHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#onlineHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/ClusterPoolOptions.html#exitHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/ClusterPoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/ClusterPoolOptions.html#enableEvents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"ClusterPoolOptions\"},{\"kind\":256,\"name\":\"IPool\",\"url\":\"interfaces/IPool.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"interfaces/IPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"interfaces/IPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"interfaces/IPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"kind\":256,\"name\":\"PoolOptions\",\"url\":\"interfaces/PoolOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"messageHandler\",\"url\":\"interfaces/PoolOptions.html#messageHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"errorHandler\",\"url\":\"interfaces/PoolOptions.html#errorHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"onlineHandler\",\"url\":\"interfaces/PoolOptions.html#onlineHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"exitHandler\",\"url\":\"interfaces/PoolOptions.html#exitHandler\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"workerChoiceStrategy\",\"url\":\"interfaces/PoolOptions.html#workerChoiceStrategy\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":1024,\"name\":\"enableEvents\",\"url\":\"interfaces/PoolOptions.html#enableEvents\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"PoolOptions\"},{\"kind\":4194304,\"name\":\"ErrorHandler\",\"url\":\"types/ErrorHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ErrorHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ErrorHandler\"},{\"kind\":4194304,\"name\":\"ExitHandler\",\"url\":\"types/ExitHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ExitHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"ExitHandler\"},{\"kind\":256,\"name\":\"IPoolWorker\",\"url\":\"interfaces/IPoolWorker.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":2048,\"name\":\"on\",\"url\":\"interfaces/IPoolWorker.html#on\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPoolWorker\"},{\"kind\":2048,\"name\":\"once\",\"url\":\"interfaces/IPoolWorker.html#once\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPoolWorker\"},{\"kind\":4194304,\"name\":\"MessageHandler\",\"url\":\"types/MessageHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MessageHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"MessageHandler\"},{\"kind\":4194304,\"name\":\"OnlineHandler\",\"url\":\"types/OnlineHandler.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/OnlineHandler.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"OnlineHandler\"},{\"kind\":32,\"name\":\"WorkerChoiceStrategies\",\"url\":\"variables/WorkerChoiceStrategies.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":4194304,\"name\":\"WorkerChoiceStrategy\",\"url\":\"types/WorkerChoiceStrategy.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"DynamicThreadPool\",\"url\":\"classes/DynamicThreadPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DynamicThreadPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/DynamicThreadPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/DynamicThreadPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/DynamicThreadPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/DynamicThreadPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/DynamicThreadPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/DynamicThreadPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/DynamicThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/DynamicThreadPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/DynamicThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workers\",\"url\":\"classes/DynamicThreadPool.html#workers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workersTasksUsage\",\"url\":\"classes/DynamicThreadPool.html#workersTasksUsage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/DynamicThreadPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"promiseMap\",\"url\":\"classes/DynamicThreadPool.html#promiseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"nextMessageId\",\"url\":\"classes/DynamicThreadPool.html#nextMessageId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/DynamicThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/DynamicThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/DynamicThreadPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/DynamicThreadPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/DynamicThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerIndex\",\"url\":\"classes/DynamicThreadPool.html#getWorkerIndex\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerRunningTasks\",\"url\":\"classes/DynamicThreadPool.html#getWorkerRunningTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerAverageTasksRunTime\",\"url\":\"classes/DynamicThreadPool.html#getWorkerAverageTasksRunTime\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/DynamicThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"internalGetBusyStatus\",\"url\":\"classes/DynamicThreadPool.html#internalGetBusyStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"findFreeWorker\",\"url\":\"classes/DynamicThreadPool.html#findFreeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/DynamicThreadPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/DynamicThreadPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/DynamicThreadPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"beforePromiseWorkerResponseHook\",\"url\":\"classes/DynamicThreadPool.html#beforePromiseWorkerResponseHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"afterPromiseWorkerResponseHook\",\"url\":\"classes/DynamicThreadPool.html#afterPromiseWorkerResponseHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"removeWorker\",\"url\":\"classes/DynamicThreadPool.html#removeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorker\",\"url\":\"classes/DynamicThreadPool.html#chooseWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"internalExecute\",\"url\":\"classes/DynamicThreadPool.html#internalExecute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/DynamicThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/DynamicThreadPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DynamicThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DynamicThreadPool.workerListener.workerListener\"},{\"kind\":2048,\"name\":\"initWorkerTasksUsage\",\"url\":\"classes/DynamicThreadPool.html#initWorkerTasksUsage\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DynamicThreadPool\"},{\"kind\":128,\"name\":\"FixedThreadPool\",\"url\":\"classes/FixedThreadPool.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FixedThreadPool.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"isMain\",\"url\":\"classes/FixedThreadPool.html#isMain\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroyWorker\",\"url\":\"classes/FixedThreadPool.html#destroyWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"sendToWorker\",\"url\":\"classes/FixedThreadPool.html#sendToWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"registerWorkerMessageListener\",\"url\":\"classes/FixedThreadPool.html#registerWorkerMessageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createWorker\",\"url\":\"classes/FixedThreadPool.html#createWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterWorkerSetup\",\"url\":\"classes/FixedThreadPool.html#afterWorkerSetup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/FixedThreadPool.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"busy\",\"url\":\"classes/FixedThreadPool.html#busy\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workers\",\"url\":\"classes/FixedThreadPool.html#workers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workersTasksUsage\",\"url\":\"classes/FixedThreadPool.html#workersTasksUsage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"emitter\",\"url\":\"classes/FixedThreadPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"max\",\"url\":\"classes/FixedThreadPool.html#max\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"promiseMap\",\"url\":\"classes/FixedThreadPool.html#promiseMap\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"nextMessageId\",\"url\":\"classes/FixedThreadPool.html#nextMessageId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"workerChoiceStrategyContext\",\"url\":\"classes/FixedThreadPool.html#workerChoiceStrategyContext\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"numberOfWorkers\",\"url\":\"classes/FixedThreadPool.html#numberOfWorkers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"filePath\",\"url\":\"classes/FixedThreadPool.html#filePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/FixedThreadPool.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":262144,\"name\":\"numberOfRunningTasks\",\"url\":\"classes/FixedThreadPool.html#numberOfRunningTasks\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerIndex\",\"url\":\"classes/FixedThreadPool.html#getWorkerIndex\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerRunningTasks\",\"url\":\"classes/FixedThreadPool.html#getWorkerRunningTasks\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"getWorkerAverageTasksRunTime\",\"url\":\"classes/FixedThreadPool.html#getWorkerAverageTasksRunTime\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setWorkerChoiceStrategy\",\"url\":\"classes/FixedThreadPool.html#setWorkerChoiceStrategy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"internalGetBusyStatus\",\"url\":\"classes/FixedThreadPool.html#internalGetBusyStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"findFreeWorker\",\"url\":\"classes/FixedThreadPool.html#findFreeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"execute\",\"url\":\"classes/FixedThreadPool.html#execute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"destroy\",\"url\":\"classes/FixedThreadPool.html#destroy\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"setupHook\",\"url\":\"classes/FixedThreadPool.html#setupHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"beforePromiseWorkerResponseHook\",\"url\":\"classes/FixedThreadPool.html#beforePromiseWorkerResponseHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"afterPromiseWorkerResponseHook\",\"url\":\"classes/FixedThreadPool.html#afterPromiseWorkerResponseHook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"removeWorker\",\"url\":\"classes/FixedThreadPool.html#removeWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"chooseWorker\",\"url\":\"classes/FixedThreadPool.html#chooseWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"internalExecute\",\"url\":\"classes/FixedThreadPool.html#internalExecute\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"createAndSetupWorker\",\"url\":\"classes/FixedThreadPool.html#createAndSetupWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":2048,\"name\":\"workerListener\",\"url\":\"classes/FixedThreadPool.html#workerListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FixedThreadPool.html#workerListener.workerListener-1.__type\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FixedThreadPool.workerListener.workerListener\"},{\"kind\":2048,\"name\":\"initWorkerTasksUsage\",\"url\":\"classes/FixedThreadPool.html#initWorkerTasksUsage\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"FixedThreadPool\"},{\"kind\":4194304,\"name\":\"ThreadWorkerWithMessageChannel\",\"url\":\"types/ThreadWorkerWithMessageChannel.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"AbstractWorker\",\"url\":\"classes/AbstractWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbstractWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/AbstractWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/AbstractWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/AbstractWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"AbstractWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/AbstractWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/AbstractWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkWorkerOptions\",\"url\":\"classes/AbstractWorker.html#checkWorkerOptions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkFunctionInput\",\"url\":\"classes/AbstractWorker.html#checkFunctionInput\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/AbstractWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/AbstractWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/AbstractWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/AbstractWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/AbstractWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/AbstractWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"AbstractWorker\"},{\"kind\":128,\"name\":\"ClusterWorker\",\"url\":\"classes/ClusterWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClusterWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ClusterWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ClusterWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ClusterWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ClusterWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ClusterWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ClusterWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ClusterWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ClusterWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ClusterWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ClusterWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ClusterWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ClusterWorker\"},{\"kind\":128,\"name\":\"ThreadWorker\",\"url\":\"classes/ThreadWorker.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ThreadWorker.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"sendToMainWorker\",\"url\":\"classes/ThreadWorker.html#sendToMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"lastTaskTimestamp\",\"url\":\"classes/ThreadWorker.html#lastTaskTimestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"aliveInterval\",\"url\":\"classes/ThreadWorker.html#aliveInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"opts\",\"url\":\"classes/ThreadWorker.html#opts\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":1024,\"name\":\"mainWorker\",\"url\":\"classes/ThreadWorker.html#mainWorker\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"messageListener\",\"url\":\"classes/ThreadWorker.html#messageListener\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"getMainWorker\",\"url\":\"classes/ThreadWorker.html#getMainWorker\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"checkAlive\",\"url\":\"classes/ThreadWorker.html#checkAlive\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"handleError\",\"url\":\"classes/ThreadWorker.html#handleError\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"run\",\"url\":\"classes/ThreadWorker.html#run\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":2048,\"name\":\"runAsync\",\"url\":\"classes/ThreadWorker.html#runAsync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ThreadWorker\"},{\"kind\":32,\"name\":\"KillBehaviors\",\"url\":\"variables/KillBehaviors.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":4194304,\"name\":\"KillBehavior\",\"url\":\"types/KillBehavior.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":256,\"name\":\"WorkerOptions\",\"url\":\"interfaces/WorkerOptions.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"maxInactiveTime\",\"url\":\"interfaces/WorkerOptions.html#maxInactiveTime\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"async\",\"url\":\"interfaces/WorkerOptions.html#async\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"},{\"kind\":1024,\"name\":\"killBehavior\",\"url\":\"interfaces/WorkerOptions.html#killBehavior\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"WorkerOptions\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,50.626]],[\"comment/0\",[]],[\"name/1\",[1,34.532]],[\"comment/1\",[]],[\"name/2\",[2,39.64]],[\"comment/2\",[]],[\"name/3\",[3,39.64]],[\"comment/3\",[]],[\"name/4\",[4,39.64]],[\"comment/4\",[]],[\"name/5\",[5,34.532]],[\"comment/5\",[]],[\"name/6\",[6,39.64]],[\"comment/6\",[]],[\"name/7\",[7,39.64]],[\"comment/7\",[]],[\"name/8\",[8,39.64]],[\"comment/8\",[]],[\"name/9\",[9,39.64]],[\"comment/9\",[]],[\"name/10\",[10,39.64]],[\"comment/10\",[]],[\"name/11\",[11,39.64]],[\"comment/11\",[]],[\"name/12\",[12,39.64]],[\"comment/12\",[]],[\"name/13\",[13,39.64]],[\"comment/13\",[]],[\"name/14\",[14,39.64]],[\"comment/14\",[]],[\"name/15\",[15,39.64]],[\"comment/15\",[]],[\"name/16\",[16,39.64]],[\"comment/16\",[]],[\"name/17\",[17,39.64]],[\"comment/17\",[]],[\"name/18\",[18,39.64]],[\"comment/18\",[]],[\"name/19\",[19,39.64]],[\"comment/19\",[]],[\"name/20\",[20,39.64]],[\"comment/20\",[]],[\"name/21\",[21,39.64]],[\"comment/21\",[]],[\"name/22\",[22,39.64]],[\"comment/22\",[]],[\"name/23\",[23,39.64]],[\"comment/23\",[]],[\"name/24\",[24,39.64]],[\"comment/24\",[]],[\"name/25\",[25,37.633]],[\"comment/25\",[]],[\"name/26\",[26,39.64]],[\"comment/26\",[]],[\"name/27\",[27,39.64]],[\"comment/27\",[]],[\"name/28\",[28,37.633]],[\"comment/28\",[]],[\"name/29\",[29,37.633]],[\"comment/29\",[]],[\"name/30\",[30,39.64]],[\"comment/30\",[]],[\"name/31\",[31,39.64]],[\"comment/31\",[]],[\"name/32\",[32,39.64]],[\"comment/32\",[]],[\"name/33\",[33,39.64]],[\"comment/33\",[]],[\"name/34\",[34,39.64]],[\"comment/34\",[]],[\"name/35\",[35,39.64]],[\"comment/35\",[]],[\"name/36\",[36,39.64]],[\"comment/36\",[]],[\"name/37\",[37,33.28]],[\"comment/37\",[]],[\"name/38\",[38,39.64]],[\"comment/38\",[]],[\"name/39\",[39,50.626]],[\"comment/39\",[]],[\"name/40\",[1,34.532]],[\"comment/40\",[]],[\"name/41\",[5,34.532]],[\"comment/41\",[]],[\"name/42\",[6,39.64]],[\"comment/42\",[]],[\"name/43\",[7,39.64]],[\"comment/43\",[]],[\"name/44\",[8,39.64]],[\"comment/44\",[]],[\"name/45\",[9,39.64]],[\"comment/45\",[]],[\"name/46\",[10,39.64]],[\"comment/46\",[]],[\"name/47\",[11,39.64]],[\"comment/47\",[]],[\"name/48\",[12,39.64]],[\"comment/48\",[]],[\"name/49\",[3,39.64]],[\"comment/49\",[]],[\"name/50\",[4,39.64]],[\"comment/50\",[]],[\"name/51\",[13,39.64]],[\"comment/51\",[]],[\"name/52\",[14,39.64]],[\"comment/52\",[]],[\"name/53\",[15,39.64]],[\"comment/53\",[]],[\"name/54\",[2,39.64]],[\"comment/54\",[]],[\"name/55\",[16,39.64]],[\"comment/55\",[]],[\"name/56\",[17,39.64]],[\"comment/56\",[]],[\"name/57\",[18,39.64]],[\"comment/57\",[]],[\"name/58\",[19,39.64]],[\"comment/58\",[]],[\"name/59\",[20,39.64]],[\"comment/59\",[]],[\"name/60\",[21,39.64]],[\"comment/60\",[]],[\"name/61\",[22,39.64]],[\"comment/61\",[]],[\"name/62\",[23,39.64]],[\"comment/62\",[]],[\"name/63\",[24,39.64]],[\"comment/63\",[]],[\"name/64\",[25,37.633]],[\"comment/64\",[]],[\"name/65\",[26,39.64]],[\"comment/65\",[]],[\"name/66\",[27,39.64]],[\"comment/66\",[]],[\"name/67\",[28,37.633]],[\"comment/67\",[]],[\"name/68\",[29,37.633]],[\"comment/68\",[]],[\"name/69\",[30,39.64]],[\"comment/69\",[]],[\"name/70\",[31,39.64]],[\"comment/70\",[]],[\"name/71\",[32,39.64]],[\"comment/71\",[]],[\"name/72\",[33,39.64]],[\"comment/72\",[]],[\"name/73\",[34,39.64]],[\"comment/73\",[]],[\"name/74\",[35,39.64]],[\"comment/74\",[]],[\"name/75\",[36,39.64]],[\"comment/75\",[]],[\"name/76\",[37,33.28]],[\"comment/76\",[]],[\"name/77\",[38,39.64]],[\"comment/77\",[]],[\"name/78\",[40,50.626]],[\"comment/78\",[]],[\"name/79\",[41,50.626]],[\"comment/79\",[]],[\"name/80\",[42,42.153]],[\"comment/80\",[]],[\"name/81\",[43,42.153]],[\"comment/81\",[]],[\"name/82\",[44,42.153]],[\"comment/82\",[]],[\"name/83\",[45,42.153]],[\"comment/83\",[]],[\"name/84\",[46,42.153]],[\"comment/84\",[]],[\"name/85\",[47,45.518]],[\"comment/85\",[]],[\"name/86\",[48,50.626]],[\"comment/86\",[]],[\"name/87\",[28,37.633]],[\"comment/87\",[]],[\"name/88\",[29,37.633]],[\"comment/88\",[]],[\"name/89\",[25,37.633]],[\"comment/89\",[]],[\"name/90\",[49,50.626]],[\"comment/90\",[]],[\"name/91\",[42,42.153]],[\"comment/91\",[]],[\"name/92\",[43,42.153]],[\"comment/92\",[]],[\"name/93\",[44,42.153]],[\"comment/93\",[]],[\"name/94\",[45,42.153]],[\"comment/94\",[]],[\"name/95\",[46,42.153]],[\"comment/95\",[]],[\"name/96\",[47,45.518]],[\"comment/96\",[]],[\"name/97\",[43,42.153]],[\"comment/97\",[]],[\"name/98\",[37,33.28]],[\"comment/98\",[]],[\"name/99\",[45,42.153]],[\"comment/99\",[]],[\"name/100\",[37,33.28]],[\"comment/100\",[]],[\"name/101\",[50,50.626]],[\"comment/101\",[]],[\"name/102\",[51,50.626]],[\"comment/102\",[]],[\"name/103\",[52,50.626]],[\"comment/103\",[]],[\"name/104\",[42,42.153]],[\"comment/104\",[]],[\"name/105\",[37,33.28]],[\"comment/105\",[]],[\"name/106\",[44,42.153]],[\"comment/106\",[]],[\"name/107\",[37,33.28]],[\"comment/107\",[]],[\"name/108\",[53,50.626]],[\"comment/108\",[]],[\"name/109\",[46,42.153]],[\"comment/109\",[]],[\"name/110\",[54,50.626]],[\"comment/110\",[]],[\"name/111\",[1,34.532]],[\"comment/111\",[]],[\"name/112\",[2,39.64]],[\"comment/112\",[]],[\"name/113\",[3,39.64]],[\"comment/113\",[]],[\"name/114\",[4,39.64]],[\"comment/114\",[]],[\"name/115\",[7,39.64]],[\"comment/115\",[]],[\"name/116\",[8,39.64]],[\"comment/116\",[]],[\"name/117\",[9,39.64]],[\"comment/117\",[]],[\"name/118\",[10,39.64]],[\"comment/118\",[]],[\"name/119\",[11,39.64]],[\"comment/119\",[]],[\"name/120\",[12,39.64]],[\"comment/120\",[]],[\"name/121\",[13,39.64]],[\"comment/121\",[]],[\"name/122\",[14,39.64]],[\"comment/122\",[]],[\"name/123\",[15,39.64]],[\"comment/123\",[]],[\"name/124\",[16,39.64]],[\"comment/124\",[]],[\"name/125\",[17,39.64]],[\"comment/125\",[]],[\"name/126\",[18,39.64]],[\"comment/126\",[]],[\"name/127\",[19,39.64]],[\"comment/127\",[]],[\"name/128\",[20,39.64]],[\"comment/128\",[]],[\"name/129\",[5,34.532]],[\"comment/129\",[]],[\"name/130\",[21,39.64]],[\"comment/130\",[]],[\"name/131\",[22,39.64]],[\"comment/131\",[]],[\"name/132\",[23,39.64]],[\"comment/132\",[]],[\"name/133\",[24,39.64]],[\"comment/133\",[]],[\"name/134\",[25,37.633]],[\"comment/134\",[]],[\"name/135\",[26,39.64]],[\"comment/135\",[]],[\"name/136\",[27,39.64]],[\"comment/136\",[]],[\"name/137\",[28,37.633]],[\"comment/137\",[]],[\"name/138\",[29,37.633]],[\"comment/138\",[]],[\"name/139\",[6,39.64]],[\"comment/139\",[]],[\"name/140\",[30,39.64]],[\"comment/140\",[]],[\"name/141\",[31,39.64]],[\"comment/141\",[]],[\"name/142\",[32,39.64]],[\"comment/142\",[]],[\"name/143\",[33,39.64]],[\"comment/143\",[]],[\"name/144\",[34,39.64]],[\"comment/144\",[]],[\"name/145\",[35,39.64]],[\"comment/145\",[]],[\"name/146\",[36,39.64]],[\"comment/146\",[]],[\"name/147\",[37,33.28]],[\"comment/147\",[]],[\"name/148\",[38,39.64]],[\"comment/148\",[]],[\"name/149\",[55,50.626]],[\"comment/149\",[]],[\"name/150\",[1,34.532]],[\"comment/150\",[]],[\"name/151\",[7,39.64]],[\"comment/151\",[]],[\"name/152\",[8,39.64]],[\"comment/152\",[]],[\"name/153\",[9,39.64]],[\"comment/153\",[]],[\"name/154\",[10,39.64]],[\"comment/154\",[]],[\"name/155\",[11,39.64]],[\"comment/155\",[]],[\"name/156\",[12,39.64]],[\"comment/156\",[]],[\"name/157\",[3,39.64]],[\"comment/157\",[]],[\"name/158\",[4,39.64]],[\"comment/158\",[]],[\"name/159\",[13,39.64]],[\"comment/159\",[]],[\"name/160\",[14,39.64]],[\"comment/160\",[]],[\"name/161\",[15,39.64]],[\"comment/161\",[]],[\"name/162\",[2,39.64]],[\"comment/162\",[]],[\"name/163\",[16,39.64]],[\"comment/163\",[]],[\"name/164\",[17,39.64]],[\"comment/164\",[]],[\"name/165\",[18,39.64]],[\"comment/165\",[]],[\"name/166\",[19,39.64]],[\"comment/166\",[]],[\"name/167\",[20,39.64]],[\"comment/167\",[]],[\"name/168\",[5,34.532]],[\"comment/168\",[]],[\"name/169\",[21,39.64]],[\"comment/169\",[]],[\"name/170\",[22,39.64]],[\"comment/170\",[]],[\"name/171\",[23,39.64]],[\"comment/171\",[]],[\"name/172\",[24,39.64]],[\"comment/172\",[]],[\"name/173\",[25,37.633]],[\"comment/173\",[]],[\"name/174\",[26,39.64]],[\"comment/174\",[]],[\"name/175\",[27,39.64]],[\"comment/175\",[]],[\"name/176\",[28,37.633]],[\"comment/176\",[]],[\"name/177\",[29,37.633]],[\"comment/177\",[]],[\"name/178\",[6,39.64]],[\"comment/178\",[]],[\"name/179\",[30,39.64]],[\"comment/179\",[]],[\"name/180\",[31,39.64]],[\"comment/180\",[]],[\"name/181\",[32,39.64]],[\"comment/181\",[]],[\"name/182\",[33,39.64]],[\"comment/182\",[]],[\"name/183\",[34,39.64]],[\"comment/183\",[]],[\"name/184\",[35,39.64]],[\"comment/184\",[]],[\"name/185\",[36,39.64]],[\"comment/185\",[]],[\"name/186\",[37,33.28]],[\"comment/186\",[]],[\"name/187\",[38,39.64]],[\"comment/187\",[]],[\"name/188\",[56,50.626]],[\"comment/188\",[]],[\"name/189\",[57,50.626]],[\"comment/189\",[]],[\"name/190\",[1,34.532]],[\"comment/190\",[]],[\"name/191\",[58,42.153]],[\"comment/191\",[]],[\"name/192\",[59,42.153]],[\"comment/192\",[]],[\"name/193\",[5,34.532]],[\"comment/193\",[]],[\"name/194\",[60,42.153]],[\"comment/194\",[]],[\"name/195\",[61,42.153]],[\"comment/195\",[]],[\"name/196\",[62,50.626]],[\"comment/196\",[]],[\"name/197\",[63,50.626]],[\"comment/197\",[]],[\"name/198\",[64,42.153]],[\"comment/198\",[]],[\"name/199\",[65,42.153]],[\"comment/199\",[]],[\"name/200\",[66,42.153]],[\"comment/200\",[]],[\"name/201\",[67,42.153]],[\"comment/201\",[]],[\"name/202\",[68,42.153]],[\"comment/202\",[]],[\"name/203\",[69,42.153]],[\"comment/203\",[]],[\"name/204\",[70,50.626]],[\"comment/204\",[]],[\"name/205\",[1,34.532]],[\"comment/205\",[]],[\"name/206\",[65,42.153]],[\"comment/206\",[]],[\"name/207\",[67,42.153]],[\"comment/207\",[]],[\"name/208\",[58,42.153]],[\"comment/208\",[]],[\"name/209\",[59,42.153]],[\"comment/209\",[]],[\"name/210\",[5,34.532]],[\"comment/210\",[]],[\"name/211\",[60,42.153]],[\"comment/211\",[]],[\"name/212\",[61,42.153]],[\"comment/212\",[]],[\"name/213\",[64,42.153]],[\"comment/213\",[]],[\"name/214\",[66,42.153]],[\"comment/214\",[]],[\"name/215\",[68,42.153]],[\"comment/215\",[]],[\"name/216\",[69,42.153]],[\"comment/216\",[]],[\"name/217\",[71,50.626]],[\"comment/217\",[]],[\"name/218\",[1,34.532]],[\"comment/218\",[]],[\"name/219\",[65,42.153]],[\"comment/219\",[]],[\"name/220\",[58,42.153]],[\"comment/220\",[]],[\"name/221\",[59,42.153]],[\"comment/221\",[]],[\"name/222\",[5,34.532]],[\"comment/222\",[]],[\"name/223\",[60,42.153]],[\"comment/223\",[]],[\"name/224\",[61,42.153]],[\"comment/224\",[]],[\"name/225\",[64,42.153]],[\"comment/225\",[]],[\"name/226\",[66,42.153]],[\"comment/226\",[]],[\"name/227\",[67,42.153]],[\"comment/227\",[]],[\"name/228\",[68,42.153]],[\"comment/228\",[]],[\"name/229\",[69,42.153]],[\"comment/229\",[]],[\"name/230\",[72,50.626]],[\"comment/230\",[]],[\"name/231\",[73,45.518]],[\"comment/231\",[]],[\"name/232\",[74,50.626]],[\"comment/232\",[]],[\"name/233\",[75,50.626]],[\"comment/233\",[]],[\"name/234\",[76,50.626]],[\"comment/234\",[]],[\"name/235\",[73,45.518]],[\"comment/235\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":37,\"name\":{\"37\":{},\"76\":{},\"98\":{},\"100\":{},\"105\":{},\"107\":{},\"147\":{},\"186\":{}},\"comment\":{}}],[\"abstractworker\",{\"_index\":57,\"name\":{\"189\":{}},\"comment\":{}}],[\"afterpromiseworkerresponsehook\",{\"_index\":31,\"name\":{\"31\":{},\"70\":{},\"141\":{},\"180\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":12,\"name\":{\"12\":{},\"48\":{},\"120\":{},\"156\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":59,\"name\":{\"192\":{},\"209\":{},\"221\":{}},\"comment\":{}}],[\"async\",{\"_index\":76,\"name\":{\"234\":{}},\"comment\":{}}],[\"beforepromiseworkerresponsehook\",{\"_index\":30,\"name\":{\"30\":{},\"69\":{},\"140\":{},\"179\":{}},\"comment\":{}}],[\"busy\",{\"_index\":4,\"name\":{\"4\":{},\"50\":{},\"114\":{},\"158\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":66,\"name\":{\"200\":{},\"214\":{},\"226\":{}},\"comment\":{}}],[\"checkfunctioninput\",{\"_index\":63,\"name\":{\"197\":{}},\"comment\":{}}],[\"checkworkeroptions\",{\"_index\":62,\"name\":{\"196\":{}},\"comment\":{}}],[\"chooseworker\",{\"_index\":33,\"name\":{\"33\":{},\"72\":{},\"143\":{},\"182\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":40,\"name\":{\"78\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":70,\"name\":{\"204\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"40\":{},\"111\":{},\"150\":{},\"190\":{},\"205\":{},\"218\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":35,\"name\":{\"35\":{},\"74\":{},\"145\":{},\"184\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":11,\"name\":{\"11\":{},\"47\":{},\"119\":{},\"155\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":29,\"name\":{\"29\":{},\"68\":{},\"88\":{},\"138\":{},\"177\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":8,\"name\":{\"8\":{},\"44\":{},\"116\":{},\"152\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":54,\"name\":{\"110\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":15,\"name\":{\"15\":{},\"53\":{},\"123\":{},\"161\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":47,\"name\":{\"85\":{},\"96\":{}},\"comment\":{}}],[\"env\",{\"_index\":41,\"name\":{\"79\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":43,\"name\":{\"81\":{},\"92\":{},\"97\":{}},\"comment\":{}}],[\"execute\",{\"_index\":28,\"name\":{\"28\":{},\"67\":{},\"87\":{},\"137\":{},\"176\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":45,\"name\":{\"83\":{},\"94\":{},\"99\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":20,\"name\":{\"20\":{},\"59\":{},\"128\":{},\"167\":{}},\"comment\":{}}],[\"findfreeworker\",{\"_index\":27,\"name\":{\"27\":{},\"66\":{},\"136\":{},\"175\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":39,\"name\":{\"39\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":55,\"name\":{\"149\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":64,\"name\":{\"198\":{},\"213\":{},\"225\":{}},\"comment\":{}}],[\"getworkeraveragetasksruntime\",{\"_index\":24,\"name\":{\"24\":{},\"63\":{},\"133\":{},\"172\":{}},\"comment\":{}}],[\"getworkerindex\",{\"_index\":22,\"name\":{\"22\":{},\"61\":{},\"131\":{},\"170\":{}},\"comment\":{}}],[\"getworkerrunningtasks\",{\"_index\":23,\"name\":{\"23\":{},\"62\":{},\"132\":{},\"171\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":67,\"name\":{\"201\":{},\"207\":{},\"227\":{}},\"comment\":{}}],[\"initworkertasksusage\",{\"_index\":38,\"name\":{\"38\":{},\"77\":{},\"148\":{},\"187\":{}},\"comment\":{}}],[\"internalexecute\",{\"_index\":34,\"name\":{\"34\":{},\"73\":{},\"144\":{},\"183\":{}},\"comment\":{}}],[\"internalgetbusystatus\",{\"_index\":26,\"name\":{\"26\":{},\"65\":{},\"135\":{},\"174\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":48,\"name\":{\"86\":{}},\"comment\":{}}],[\"ipoolworker\",{\"_index\":50,\"name\":{\"101\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":7,\"name\":{\"7\":{},\"43\":{},\"115\":{},\"151\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":73,\"name\":{\"231\":{},\"235\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":72,\"name\":{\"230\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":58,\"name\":{\"191\":{},\"208\":{},\"220\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":60,\"name\":{\"194\":{},\"211\":{},\"223\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"54\":{},\"112\":{},\"162\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":75,\"name\":{\"233\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":42,\"name\":{\"80\":{},\"91\":{},\"104\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":61,\"name\":{\"195\":{},\"212\":{},\"224\":{}},\"comment\":{}}],[\"nextmessageid\",{\"_index\":17,\"name\":{\"17\":{},\"56\":{},\"125\":{},\"164\":{}},\"comment\":{}}],[\"numberofrunningtasks\",{\"_index\":21,\"name\":{\"21\":{},\"60\":{},\"130\":{},\"169\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":19,\"name\":{\"19\":{},\"58\":{},\"127\":{},\"166\":{}},\"comment\":{}}],[\"on\",{\"_index\":51,\"name\":{\"102\":{}},\"comment\":{}}],[\"once\",{\"_index\":52,\"name\":{\"103\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":44,\"name\":{\"82\":{},\"93\":{},\"106\":{}},\"comment\":{}}],[\"opts\",{\"_index\":5,\"name\":{\"5\":{},\"41\":{},\"129\":{},\"168\":{},\"193\":{},\"210\":{},\"222\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":49,\"name\":{\"90\":{}},\"comment\":{}}],[\"promisemap\",{\"_index\":16,\"name\":{\"16\":{},\"55\":{},\"124\":{},\"163\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":10,\"name\":{\"10\":{},\"46\":{},\"118\":{},\"154\":{}},\"comment\":{}}],[\"removeworker\",{\"_index\":32,\"name\":{\"32\":{},\"71\":{},\"142\":{},\"181\":{}},\"comment\":{}}],[\"run\",{\"_index\":68,\"name\":{\"202\":{},\"215\":{},\"228\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":69,\"name\":{\"203\":{},\"216\":{},\"229\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":65,\"name\":{\"199\":{},\"206\":{},\"219\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":9,\"name\":{\"9\":{},\"45\":{},\"117\":{},\"153\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":6,\"name\":{\"6\":{},\"42\":{},\"139\":{},\"178\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":25,\"name\":{\"25\":{},\"64\":{},\"89\":{},\"134\":{},\"173\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":71,\"name\":{\"217\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":56,\"name\":{\"188\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"49\":{},\"113\":{},\"157\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":53,\"name\":{\"108\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":46,\"name\":{\"84\":{},\"95\":{},\"109\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":18,\"name\":{\"18\":{},\"57\":{},\"126\":{},\"165\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":36,\"name\":{\"36\":{},\"75\":{},\"146\":{},\"185\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":74,\"name\":{\"232\":{}},\"comment\":{}}],[\"workers\",{\"_index\":13,\"name\":{\"13\":{},\"51\":{},\"121\":{},\"159\":{}},\"comment\":{}}],[\"workerstasksusage\",{\"_index\":14,\"name\":{\"14\":{},\"52\":{},\"122\":{},\"160\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index 825204bb..5ff29d94 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -14,7 +14,7 @@
  • AbstractWorker
  • Class AbstractWorker<MainWorker, Data, Response>Abstract

    -

    Base class containing some shared logic for all poolifier workers.

    +

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

    Type Parameters

    @@ -41,7 +41,7 @@
  • ClusterWorker
  • ThreadWorker
  • +
  • Defined in src/worker/abstract-worker.ts:19
  • @@ -131,7 +131,7 @@

    Returns AbstractWorker<MainWorker, Data, Response>

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

    @@ -140,26 +140,26 @@

    Handler Id of the aliveInterval worker alive check.

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

    Timestamp of the last task processed by this worker.

    +
  • Defined in src/worker/abstract-worker.ts:27
  • mainWorker: undefined | null | MainWorker
    +
  • Defined in src/worker/abstract-worker.ts:49
  • Options for the worker.

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

    @@ -210,7 +210,7 @@ the AsyncResource to which the function is bound.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:144
    • @@ -238,7 +238,7 @@ the AsyncResource to which the function is bound.

      Returns Response

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:118
    • @@ -251,7 +251,7 @@ the AsyncResource to which the function is bound.

      opts: WorkerOptions

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:103
  • +
  • Defined in src/worker/abstract-worker.ts:127
    • @@ -298,7 +298,7 @@ never be called.

    Returns string

    +
  • Defined in src/worker/abstract-worker.ts:159
    • @@ -324,7 +324,7 @@ never be called.

      Returns Response

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:81
    • @@ -356,7 +356,7 @@ never be called.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:169
    • @@ -388,7 +388,7 @@ never be called.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:192
    • @@ -456,7 +456,7 @@ then restore the original execution context.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:139
    • diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index f5c6ec9c..1dab878f 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -42,7 +42,7 @@ but the minimum number of workers will be guaranteed.

      • ClusterWorker
    +
  • Defined in src/worker/cluster-worker.ts:21
  • @@ -116,7 +116,7 @@ but the minimum number of workers will be guaranteed.

    Returns ClusterWorker<Data, Response>

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

    @@ -126,7 +126,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:31
  • lastTaskTimestamp: number
    @@ -134,13 +134,13 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:27
  • mainWorker: undefined | null | Worker
    +
  • Defined in src/worker/abstract-worker.ts:49
  • @@ -148,7 +148,7 @@ but the minimum number of workers will be guaranteed.

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

    @@ -200,7 +200,7 @@ the AsyncResource to which the function is bound.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:144
  • +
  • Defined in src/worker/abstract-worker.ts:127
  • +
  • Defined in src/worker/cluster-worker.ts:47
  • +
  • Defined in src/worker/abstract-worker.ts:81
  • +
  • Defined in src/worker/abstract-worker.ts:169
  • +
  • Defined in src/worker/abstract-worker.ts:192
  • +
  • Defined in src/worker/cluster-worker.ts:42
    • diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 5e8ceb76..eb83929c 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -40,7 +40,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
      • DynamicClusterPool
    +
  • Defined in src/pools/cluster/dynamic.ts:16
  • @@ -59,9 +59,9 @@ When the maximum number of workers is reached, an event is emitted. If you want numberOfWorkers opts promiseMap -tasks workerChoiceStrategyContext workers +workersTasksUsage

    Accessors

    @@ -71,18 +71,20 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Methods

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

    @@ -141,13 +143,13 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:42
  • filePath: string
    +
  • Defined in src/pools/abstract-pool.ts:85
  • max: number
    @@ -155,7 +157,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Inherit Doc

    +
  • Defined in src/pools/cluster/dynamic.ts:30
  • nextMessageId: number = 0
    @@ -163,19 +165,19 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:63
  • numberOfWorkers: number
    +
  • Defined in src/pools/abstract-pool.ts:84
  • +
  • Defined in src/pools/cluster/fixed.ts:47
  • promiseMap: Map<number, PromiseWorkerResponseWrapper<Worker, Response>> = ...
    @@ -188,15 +190,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    -
    - -
    tasks: Map<Worker, number> = ...
    -
    -

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:55
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -205,7 +199,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:70
  • workers: Worker[] = []
    @@ -213,7 +207,15 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:33
  • +
    + +
    workersTasksUsage: Map<Worker, TasksUsage> = ...
    +
    +

    Inherit Doc

    Accessors

    @@ -226,7 +228,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Returns boolean

    +
  • Defined in src/pools/cluster/dynamic.ts:43
    • @@ -237,7 +239,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

      Returns number

    +
  • Defined in src/pools/abstract-pool.ts:156
    • @@ -248,9 +250,32 @@ When the maximum number of workers is reached, an event is emitted. If you want

      Returns PoolType

    +
  • Defined in src/pools/cluster/dynamic.ts:38
  • Methods

    +
    + +
      + +
    • +

      Hook executed after the worker task promise resolution. +Can be overridden.

      +
      +
      +

      Parameters

      +
        +
      • +
        message: MessageValue<Response, unknown>
        +

        The received message.

        +
      • +
      • +
        promise: PromiseWorkerResponseWrapper<Worker, Response>
        +

        The Promise response.

        +
      +

      Returns void

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

      Choose a worker for the next task.

      +

      Chooses a worker for the next task.

      The default implementation uses a round robin algorithm to distribute the load.

      Returns

      Worker.

      @@ -280,7 +324,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

      Returns Worker

    +
  • Defined in src/pools/abstract-pool.ts:290
  • +
  • Defined in src/pools/abstract-pool.ts:344
  • -
    - -
    +
  • Defined in src/pools/cluster/fixed.ts:84
  • +
  • Defined in src/pools/abstract-pool.ts:222
  • +
  • Defined in src/pools/cluster/fixed.ts:65
  • +
  • Defined in src/pools/abstract-pool.ts:210
  • +
  • Defined in src/pools/abstract-pool.ts:199
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:161
  • -
    - -
    +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:470
  • +
  • Defined in src/pools/abstract-pool.ts:315
  • +
  • Defined in src/pools/abstract-pool.ts:191
  • +
  • Defined in src/pools/cluster/fixed.ts:60
  • +
  • Defined in src/pools/cluster/fixed.ts:76
  • +
  • Defined in src/pools/abstract-pool.ts:277
  • +
  • Defined in src/pools/cluster/fixed.ts:71
    • - +
    • Inherit Doc

      @@ -544,11 +586,11 @@ When the maximum number of workers is reached, an event is emitted. If you want

      Parameters

      • -
        workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED"
      +
      workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:176
  • +
  • Defined in src/pools/cluster/fixed.ts:53
    • @@ -587,7 +629,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

      Returns void

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

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

    @@ -141,13 +143,13 @@ When the maximum number of threads is reached, an event is emitted. If you want

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:42
  • filePath: string
    +
  • Defined in src/pools/abstract-pool.ts:85
  • max: number
    @@ -155,7 +157,7 @@ When the maximum number of threads is reached, an event is emitted. If you want

    Inherit Doc

    +
  • Defined in src/pools/thread/dynamic.ts:31
  • nextMessageId: number = 0
    @@ -163,19 +165,19 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:63
  • numberOfWorkers: number
    +
  • Defined in src/pools/abstract-pool.ts:84
  • +
  • Defined in src/pools/abstract-pool.ts:86
  • promiseMap: Map<number, PromiseWorkerResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -188,15 +190,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    -
    - -
    tasks: Map<ThreadWorkerWithMessageChannel, number> = ...
    -
    -

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:55
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -205,7 +199,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:70
  • @@ -213,7 +207,15 @@ When the maximum number of threads is reached, an event is emitted. If you want

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:33
  • +
    + +
    workersTasksUsage: Map<ThreadWorkerWithMessageChannel, TasksUsage> = ...
    +
    +

    Inherit Doc

    Accessors

    @@ -226,7 +228,7 @@ When the maximum number of threads is reached, an event is emitted. If you want

    Returns boolean

    +
  • Defined in src/pools/thread/dynamic.ts:44
    • @@ -237,7 +239,7 @@ When the maximum number of threads is reached, an event is emitted. If you want

      Returns number

    +
  • Defined in src/pools/abstract-pool.ts:156
    • @@ -248,9 +250,32 @@ When the maximum number of threads is reached, an event is emitted. If you want

      Returns PoolType

    +
  • Defined in src/pools/thread/dynamic.ts:39
  • Methods

    +
    + +
    +
  • Defined in src/pools/thread/fixed.ts:80
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:290
  • +
  • Defined in src/pools/abstract-pool.ts:344
  • -
    - -
    +
  • Defined in src/pools/thread/fixed.ts:73
  • +
  • Defined in src/pools/abstract-pool.ts:222
  • +
  • Defined in src/pools/thread/fixed.ts:49
  • +
  • Defined in src/pools/abstract-pool.ts:210
  • +
  • Defined in src/pools/abstract-pool.ts:199
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:161
  • -
    - -
    +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:470
  • +
  • Defined in src/pools/abstract-pool.ts:315
  • +
  • Defined in src/pools/abstract-pool.ts:191
  • +
  • Defined in src/pools/thread/fixed.ts:44
  • +
  • Defined in src/pools/thread/fixed.ts:65
  • +
  • Defined in src/pools/abstract-pool.ts:277
  • +
  • Defined in src/pools/thread/fixed.ts:57
    • - +
    • Inherit Doc

      @@ -544,11 +586,11 @@ When the maximum number of threads is reached, an event is emitted. If you want

      Parameters

      • -
        workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED"
      +
      workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:176
  • +
  • Defined in src/pools/abstract-pool.ts:237
    • @@ -588,7 +630,7 @@ to run code before workers are created in the abstract constructor.

      Returns void

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

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

    @@ -139,13 +141,13 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:42
  • filePath: string
    +
  • Defined in src/pools/abstract-pool.ts:85
  • max?: number
    @@ -153,7 +155,7 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:45
  • nextMessageId: number = 0
    @@ -161,19 +163,19 @@
    +
  • Defined in src/pools/abstract-pool.ts:63
  • numberOfWorkers: number
    +
  • Defined in src/pools/abstract-pool.ts:84
  • +
  • Defined in src/pools/cluster/fixed.ts:47
  • promiseMap: Map<number, PromiseWorkerResponseWrapper<Worker, Response>> = ...
    @@ -186,15 +188,7 @@
    -
    - -
    tasks: Map<Worker, number> = ...
    -
    -

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:55
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -203,7 +197,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:70
  • workers: Worker[] = []
    @@ -211,7 +205,15 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:33
  • +
    + +
    workersTasksUsage: Map<Worker, TasksUsage> = ...
    +
    +

    Inherit Doc

    Accessors

    @@ -224,7 +226,7 @@

    Returns boolean

    +
  • Defined in src/pools/cluster/fixed.ts:100
  • +
  • Defined in src/pools/abstract-pool.ts:156
  • +
  • Defined in src/pools/cluster/fixed.ts:95
  • Methods

    +
    + +
      + +
    • +

      Hook executed after the worker task promise resolution. +Can be overridden.

      +
      +
      +

      Parameters

      +
        +
      • +
        message: MessageValue<Response, unknown>
        +

        The received message.

        +
      • +
      • +
        promise: PromiseWorkerResponseWrapper<Worker, Response>
        +

        The Promise response.

        +
      +

      Returns void

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

      Hook executed before the worker task promise resolution. +Can be overridden.

      +
      +
      +

      Parameters

      +
        +
      • +
        worker: Worker
        +

        The worker.

        +
      +

      Returns void

    • -

      Choose a worker for the next task.

      +

      Chooses a worker for the next task.

      The default implementation uses a round robin algorithm to distribute the load.

      Returns

      Worker.

      @@ -278,7 +322,7 @@

      Returns Worker

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

      Decrease the number of tasks that the given worker has applied.

      -
      -
      -

      Parameters

      -
        -
      • -
        worker: Worker
        -

        Worker whose tasks are decreased.

        -
      -

      Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:84
  • +
  • Defined in src/pools/abstract-pool.ts:222
  • +
  • Defined in src/pools/cluster/fixed.ts:65
  • +
  • Defined in src/pools/abstract-pool.ts:210
  • +
  • Defined in src/pools/abstract-pool.ts:199
  • +
    + +
      + +
    • +
      +

      Inherit Doc

      +
      +

      Parameters

      +
        +
      • +
        worker: Worker
      +

      Returns undefined | number

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

      Increase the number of tasks that the given worker has applied.

      +

      Initializes tasks usage statistics.

      Parameters

      • worker: Worker
        -

        Worker whose tasks are increased.

        +

        The worker.

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:470
  • +
  • Defined in src/pools/abstract-pool.ts:315
  • +
  • Defined in src/pools/abstract-pool.ts:191
  • +
  • Defined in src/pools/cluster/fixed.ts:60
  • +
  • Defined in src/pools/cluster/fixed.ts:76
  • +
  • Defined in src/pools/abstract-pool.ts:277
  • +
  • Defined in src/pools/cluster/fixed.ts:71
    • - +
    • Inherit Doc

      @@ -542,11 +584,11 @@

      Parameters

      • -
        workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED"
      +
      workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:176
  • +
  • Defined in src/pools/cluster/fixed.ts:53
    • @@ -585,7 +627,7 @@

      Returns void

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

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

    @@ -139,13 +141,13 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:42
  • filePath: string
    +
  • Defined in src/pools/abstract-pool.ts:85
  • max?: number
    @@ -153,7 +155,7 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:45
  • nextMessageId: number = 0
    @@ -161,19 +163,19 @@
    +
  • Defined in src/pools/abstract-pool.ts:63
  • numberOfWorkers: number
    +
  • Defined in src/pools/abstract-pool.ts:84
  • +
  • Defined in src/pools/abstract-pool.ts:86
  • promiseMap: Map<number, PromiseWorkerResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -186,15 +188,7 @@
    -
    - -
    tasks: Map<ThreadWorkerWithMessageChannel, number> = ...
    -
    -

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:55
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -203,7 +197,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:70
  • @@ -211,7 +205,15 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:33
  • +
    + +
    workersTasksUsage: Map<ThreadWorkerWithMessageChannel, TasksUsage> = ...
    +
    +

    Inherit Doc

    Accessors

    @@ -224,7 +226,7 @@

    Returns boolean

    +
  • Defined in src/pools/thread/fixed.ts:95
  • +
  • Defined in src/pools/abstract-pool.ts:156
  • +
  • Defined in src/pools/thread/fixed.ts:90
  • Methods

    +
    + +
      + +
    • +

      Hook executed after the worker task promise resolution. +Can be overridden.

      +
      +
      +

      Parameters

      +
        +
      • +
        message: MessageValue<Response, unknown>
        +

        The received message.

        +
      • +
      • +
        promise: PromiseWorkerResponseWrapper<ThreadWorkerWithMessageChannel, Response>
        +

        The Promise response.

        +
      +

      Returns void

    +
  • Defined in src/pools/thread/fixed.ts:80
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:290
  • +
  • Defined in src/pools/abstract-pool.ts:344
  • -
    - -
    +
  • Defined in src/pools/thread/fixed.ts:73
  • +
  • Defined in src/pools/abstract-pool.ts:222
  • +
  • Defined in src/pools/thread/fixed.ts:49
  • +
  • Defined in src/pools/abstract-pool.ts:210
  • +
  • Defined in src/pools/abstract-pool.ts:199
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:161
  • -
    - -
    +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:470
  • +
  • Defined in src/pools/abstract-pool.ts:315
  • +
  • Defined in src/pools/abstract-pool.ts:191
  • +
  • Defined in src/pools/thread/fixed.ts:44
  • +
  • Defined in src/pools/thread/fixed.ts:65
  • +
  • Defined in src/pools/abstract-pool.ts:277
  • +
  • Defined in src/pools/thread/fixed.ts:57
    • - +
    • Inherit Doc

      @@ -542,11 +584,11 @@

      Parameters

      • -
        workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED"
      +
      workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:176
    • @@ -558,7 +600,7 @@ to run code before workers are created in the abstract constructor.

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:237
    • @@ -586,7 +628,7 @@ to run code before workers are created in the abstract constructor.

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:368
  • +
  • Defined in src/worker/abstract-worker.ts:27
  • mainWorker: undefined | null | MessagePort
    +
  • Defined in src/worker/abstract-worker.ts:49
  • @@ -148,7 +148,7 @@ but the minimum number of workers will be guaranteed.

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

    @@ -200,7 +200,7 @@ the AsyncResource to which the function is bound.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:144
  • +
  • Defined in src/worker/abstract-worker.ts:127
  • +
  • Defined in src/worker/abstract-worker.ts:159
  • +
  • Defined in src/worker/abstract-worker.ts:81
  • +
  • Defined in src/worker/abstract-worker.ts:169
  • +
  • Defined in src/worker/abstract-worker.ts:192
  • +
  • Defined in src/worker/thread-worker.ts:36
  • +
  • Defined in src/pools/cluster/fixed.ts:11
  • @@ -50,7 +50,7 @@
    +
  • Defined in src/pools/pool.ts:38
  • env?: any
    @@ -59,7 +59,7 @@

    See

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

    +
  • Defined in src/pools/cluster/fixed.ts:18
  • errorHandler?: ErrorHandler<Worker>
    @@ -67,7 +67,7 @@
    +
  • Defined in src/pools/pool.ts:20
  • exitHandler?: ExitHandler<Worker>
    @@ -75,15 +75,15 @@
    +
  • Defined in src/pools/pool.ts:28
  • -
    messageHandler?: MessageHandler<Worker>
    +
    messageHandler?: MessageHandler<Worker>

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

    +
  • Defined in src/pools/pool.ts:16
  • onlineHandler?: OnlineHandler<Worker>
    @@ -91,15 +91,15 @@
    +
  • Defined in src/pools/pool.ts:24
  • -
    workerChoiceStrategy?: "ROUND_ROBIN" | "LESS_RECENTLY_USED"
    -

    The work choice strategy to use in this pool.

    +
    workerChoiceStrategy?: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
    +

    The worker choice strategy to use in this pool.

    +
  • Defined in src/pools/pool.ts:32
  • +
  • Defined in src/pools/pool.ts:64
  • Returns void

    +
  • Defined in src/pools/pool-worker.ts:40
  • Register a listener to the error event.

    @@ -85,7 +72,7 @@
  • Returns void

    +
  • Defined in src/pools/pool-worker.ts:47
  • Register a listener to the online event.

    @@ -103,7 +90,7 @@
  • Returns void

    +
  • Defined in src/pools/pool-worker.ts:54
  • Register a listener to the exit event.

    @@ -121,7 +108,7 @@
  • Returns void

    +
  • Defined in src/pools/pool-worker.ts:61
    • @@ -142,7 +129,7 @@

    Returns void

    +
  • Defined in src/pools/pool-worker.ts:68
  • diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index cc79c9fb..8dfd15af 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -28,7 +28,7 @@ +
  • Defined in src/pools/pool.ts:12
  • @@ -53,42 +53,42 @@

    Default

    true

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

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

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

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

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

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

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

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

    +
  • Defined in src/pools/pool.ts:24
  • -
    workerChoiceStrategy?: "ROUND_ROBIN" | "LESS_RECENTLY_USED"
    -

    The work choice strategy to use in this pool.

    +
    workerChoiceStrategy?: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
    +

    The worker choice strategy to use in this pool.

    +
  • Defined in src/pools/pool.ts:32
  • +
  • Defined in src/worker/worker-options.ts:68
  • maxInactiveTime?: number
    @@ -70,10 +70,10 @@ when this timeout expires your tasks is interrupted and the worker is killed if
  • 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

    60.000 ms

    +

    Default

    60000 ms

    +
  • Defined in src/worker/worker-options.ts:51
  • +
  • Defined in src/pools/pool-worker.ts:18
  • +
  • Defined in src/pools/pool-worker.ts:28
  • +
  • Defined in src/pools/pool-worker.ts:23
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:6