From: Jérôme Benoit Date: Fri, 21 Oct 2022 12:55:02 +0000 (+0200) Subject: Update documentation X-Git-Tag: v2.3.5~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4101537483d2883af1f76ef2366bb7e92d0d3c4e;p=poolifier.git Update documentation Signed-off-by: Jérôme Benoit --- diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css index 5674cf39..63c0fd44 100644 --- a/docs/assets/highlight.css +++ b/docs/assets/highlight.css @@ -1,22 +1,85 @@ :root { + --light-hl-0: #0000FF; + --dark-hl-0: #569CD6; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #0070C1; + --dark-hl-2: #4FC1FF; + --light-hl-3: #795E26; + --dark-hl-3: #DCDCAA; + --light-hl-4: #A31515; + --dark-hl-4: #CE9178; + --light-hl-5: #008000; + --dark-hl-5: #6A9955; + --light-hl-6: #001080; + --dark-hl-6: #9CDCFE; + --light-hl-7: #098658; + --dark-hl-7: #B5CEA8; + --light-hl-8: #AF00DB; + --dark-hl-8: #C586C0; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); --code-background: var(--light-code-background); } } @media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); --code-background: var(--dark-code-background); } } :root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); --code-background: var(--light-code-background); } :root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); --code-background: var(--dark-code-background); } +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } pre, code { background: var(--code-background); } diff --git a/docs/assets/search.js b/docs/assets/search.js index d0d12513..e63ffd17 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\":\"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\":\"settings\",\"url\":\"interfaces/ClusterPoolOptions.html#settings\",\"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.668]],[\"comment/0\",[]],[\"name/1\",[1,34.574]],[\"comment/1\",[]],[\"name/2\",[2,39.682]],[\"comment/2\",[]],[\"name/3\",[3,39.682]],[\"comment/3\",[]],[\"name/4\",[4,39.682]],[\"comment/4\",[]],[\"name/5\",[5,34.574]],[\"comment/5\",[]],[\"name/6\",[6,39.682]],[\"comment/6\",[]],[\"name/7\",[7,39.682]],[\"comment/7\",[]],[\"name/8\",[8,39.682]],[\"comment/8\",[]],[\"name/9\",[9,39.682]],[\"comment/9\",[]],[\"name/10\",[10,39.682]],[\"comment/10\",[]],[\"name/11\",[11,39.682]],[\"comment/11\",[]],[\"name/12\",[12,39.682]],[\"comment/12\",[]],[\"name/13\",[13,39.682]],[\"comment/13\",[]],[\"name/14\",[14,39.682]],[\"comment/14\",[]],[\"name/15\",[15,39.682]],[\"comment/15\",[]],[\"name/16\",[16,39.682]],[\"comment/16\",[]],[\"name/17\",[17,39.682]],[\"comment/17\",[]],[\"name/18\",[18,39.682]],[\"comment/18\",[]],[\"name/19\",[19,39.682]],[\"comment/19\",[]],[\"name/20\",[20,39.682]],[\"comment/20\",[]],[\"name/21\",[21,39.682]],[\"comment/21\",[]],[\"name/22\",[22,39.682]],[\"comment/22\",[]],[\"name/23\",[23,39.682]],[\"comment/23\",[]],[\"name/24\",[24,39.682]],[\"comment/24\",[]],[\"name/25\",[25,37.675]],[\"comment/25\",[]],[\"name/26\",[26,39.682]],[\"comment/26\",[]],[\"name/27\",[27,39.682]],[\"comment/27\",[]],[\"name/28\",[28,37.675]],[\"comment/28\",[]],[\"name/29\",[29,37.675]],[\"comment/29\",[]],[\"name/30\",[30,39.682]],[\"comment/30\",[]],[\"name/31\",[31,39.682]],[\"comment/31\",[]],[\"name/32\",[32,39.682]],[\"comment/32\",[]],[\"name/33\",[33,39.682]],[\"comment/33\",[]],[\"name/34\",[34,39.682]],[\"comment/34\",[]],[\"name/35\",[35,39.682]],[\"comment/35\",[]],[\"name/36\",[36,39.682]],[\"comment/36\",[]],[\"name/37\",[37,33.322]],[\"comment/37\",[]],[\"name/38\",[38,39.682]],[\"comment/38\",[]],[\"name/39\",[39,50.668]],[\"comment/39\",[]],[\"name/40\",[1,34.574]],[\"comment/40\",[]],[\"name/41\",[5,34.574]],[\"comment/41\",[]],[\"name/42\",[6,39.682]],[\"comment/42\",[]],[\"name/43\",[7,39.682]],[\"comment/43\",[]],[\"name/44\",[8,39.682]],[\"comment/44\",[]],[\"name/45\",[9,39.682]],[\"comment/45\",[]],[\"name/46\",[10,39.682]],[\"comment/46\",[]],[\"name/47\",[11,39.682]],[\"comment/47\",[]],[\"name/48\",[12,39.682]],[\"comment/48\",[]],[\"name/49\",[3,39.682]],[\"comment/49\",[]],[\"name/50\",[4,39.682]],[\"comment/50\",[]],[\"name/51\",[13,39.682]],[\"comment/51\",[]],[\"name/52\",[14,39.682]],[\"comment/52\",[]],[\"name/53\",[15,39.682]],[\"comment/53\",[]],[\"name/54\",[2,39.682]],[\"comment/54\",[]],[\"name/55\",[16,39.682]],[\"comment/55\",[]],[\"name/56\",[17,39.682]],[\"comment/56\",[]],[\"name/57\",[18,39.682]],[\"comment/57\",[]],[\"name/58\",[19,39.682]],[\"comment/58\",[]],[\"name/59\",[20,39.682]],[\"comment/59\",[]],[\"name/60\",[21,39.682]],[\"comment/60\",[]],[\"name/61\",[22,39.682]],[\"comment/61\",[]],[\"name/62\",[23,39.682]],[\"comment/62\",[]],[\"name/63\",[24,39.682]],[\"comment/63\",[]],[\"name/64\",[25,37.675]],[\"comment/64\",[]],[\"name/65\",[26,39.682]],[\"comment/65\",[]],[\"name/66\",[27,39.682]],[\"comment/66\",[]],[\"name/67\",[28,37.675]],[\"comment/67\",[]],[\"name/68\",[29,37.675]],[\"comment/68\",[]],[\"name/69\",[30,39.682]],[\"comment/69\",[]],[\"name/70\",[31,39.682]],[\"comment/70\",[]],[\"name/71\",[32,39.682]],[\"comment/71\",[]],[\"name/72\",[33,39.682]],[\"comment/72\",[]],[\"name/73\",[34,39.682]],[\"comment/73\",[]],[\"name/74\",[35,39.682]],[\"comment/74\",[]],[\"name/75\",[36,39.682]],[\"comment/75\",[]],[\"name/76\",[37,33.322]],[\"comment/76\",[]],[\"name/77\",[38,39.682]],[\"comment/77\",[]],[\"name/78\",[40,50.668]],[\"comment/78\",[]],[\"name/79\",[41,50.668]],[\"comment/79\",[]],[\"name/80\",[42,50.668]],[\"comment/80\",[]],[\"name/81\",[43,42.195]],[\"comment/81\",[]],[\"name/82\",[44,42.195]],[\"comment/82\",[]],[\"name/83\",[45,42.195]],[\"comment/83\",[]],[\"name/84\",[46,42.195]],[\"comment/84\",[]],[\"name/85\",[47,42.195]],[\"comment/85\",[]],[\"name/86\",[48,45.56]],[\"comment/86\",[]],[\"name/87\",[49,50.668]],[\"comment/87\",[]],[\"name/88\",[28,37.675]],[\"comment/88\",[]],[\"name/89\",[29,37.675]],[\"comment/89\",[]],[\"name/90\",[25,37.675]],[\"comment/90\",[]],[\"name/91\",[50,50.668]],[\"comment/91\",[]],[\"name/92\",[43,42.195]],[\"comment/92\",[]],[\"name/93\",[44,42.195]],[\"comment/93\",[]],[\"name/94\",[45,42.195]],[\"comment/94\",[]],[\"name/95\",[46,42.195]],[\"comment/95\",[]],[\"name/96\",[47,42.195]],[\"comment/96\",[]],[\"name/97\",[48,45.56]],[\"comment/97\",[]],[\"name/98\",[44,42.195]],[\"comment/98\",[]],[\"name/99\",[37,33.322]],[\"comment/99\",[]],[\"name/100\",[46,42.195]],[\"comment/100\",[]],[\"name/101\",[37,33.322]],[\"comment/101\",[]],[\"name/102\",[51,50.668]],[\"comment/102\",[]],[\"name/103\",[52,50.668]],[\"comment/103\",[]],[\"name/104\",[53,50.668]],[\"comment/104\",[]],[\"name/105\",[43,42.195]],[\"comment/105\",[]],[\"name/106\",[37,33.322]],[\"comment/106\",[]],[\"name/107\",[45,42.195]],[\"comment/107\",[]],[\"name/108\",[37,33.322]],[\"comment/108\",[]],[\"name/109\",[54,50.668]],[\"comment/109\",[]],[\"name/110\",[47,42.195]],[\"comment/110\",[]],[\"name/111\",[55,50.668]],[\"comment/111\",[]],[\"name/112\",[1,34.574]],[\"comment/112\",[]],[\"name/113\",[2,39.682]],[\"comment/113\",[]],[\"name/114\",[3,39.682]],[\"comment/114\",[]],[\"name/115\",[4,39.682]],[\"comment/115\",[]],[\"name/116\",[7,39.682]],[\"comment/116\",[]],[\"name/117\",[8,39.682]],[\"comment/117\",[]],[\"name/118\",[9,39.682]],[\"comment/118\",[]],[\"name/119\",[10,39.682]],[\"comment/119\",[]],[\"name/120\",[11,39.682]],[\"comment/120\",[]],[\"name/121\",[12,39.682]],[\"comment/121\",[]],[\"name/122\",[13,39.682]],[\"comment/122\",[]],[\"name/123\",[14,39.682]],[\"comment/123\",[]],[\"name/124\",[15,39.682]],[\"comment/124\",[]],[\"name/125\",[16,39.682]],[\"comment/125\",[]],[\"name/126\",[17,39.682]],[\"comment/126\",[]],[\"name/127\",[18,39.682]],[\"comment/127\",[]],[\"name/128\",[19,39.682]],[\"comment/128\",[]],[\"name/129\",[20,39.682]],[\"comment/129\",[]],[\"name/130\",[5,34.574]],[\"comment/130\",[]],[\"name/131\",[21,39.682]],[\"comment/131\",[]],[\"name/132\",[22,39.682]],[\"comment/132\",[]],[\"name/133\",[23,39.682]],[\"comment/133\",[]],[\"name/134\",[24,39.682]],[\"comment/134\",[]],[\"name/135\",[25,37.675]],[\"comment/135\",[]],[\"name/136\",[26,39.682]],[\"comment/136\",[]],[\"name/137\",[27,39.682]],[\"comment/137\",[]],[\"name/138\",[28,37.675]],[\"comment/138\",[]],[\"name/139\",[29,37.675]],[\"comment/139\",[]],[\"name/140\",[6,39.682]],[\"comment/140\",[]],[\"name/141\",[30,39.682]],[\"comment/141\",[]],[\"name/142\",[31,39.682]],[\"comment/142\",[]],[\"name/143\",[32,39.682]],[\"comment/143\",[]],[\"name/144\",[33,39.682]],[\"comment/144\",[]],[\"name/145\",[34,39.682]],[\"comment/145\",[]],[\"name/146\",[35,39.682]],[\"comment/146\",[]],[\"name/147\",[36,39.682]],[\"comment/147\",[]],[\"name/148\",[37,33.322]],[\"comment/148\",[]],[\"name/149\",[38,39.682]],[\"comment/149\",[]],[\"name/150\",[56,50.668]],[\"comment/150\",[]],[\"name/151\",[1,34.574]],[\"comment/151\",[]],[\"name/152\",[7,39.682]],[\"comment/152\",[]],[\"name/153\",[8,39.682]],[\"comment/153\",[]],[\"name/154\",[9,39.682]],[\"comment/154\",[]],[\"name/155\",[10,39.682]],[\"comment/155\",[]],[\"name/156\",[11,39.682]],[\"comment/156\",[]],[\"name/157\",[12,39.682]],[\"comment/157\",[]],[\"name/158\",[3,39.682]],[\"comment/158\",[]],[\"name/159\",[4,39.682]],[\"comment/159\",[]],[\"name/160\",[13,39.682]],[\"comment/160\",[]],[\"name/161\",[14,39.682]],[\"comment/161\",[]],[\"name/162\",[15,39.682]],[\"comment/162\",[]],[\"name/163\",[2,39.682]],[\"comment/163\",[]],[\"name/164\",[16,39.682]],[\"comment/164\",[]],[\"name/165\",[17,39.682]],[\"comment/165\",[]],[\"name/166\",[18,39.682]],[\"comment/166\",[]],[\"name/167\",[19,39.682]],[\"comment/167\",[]],[\"name/168\",[20,39.682]],[\"comment/168\",[]],[\"name/169\",[5,34.574]],[\"comment/169\",[]],[\"name/170\",[21,39.682]],[\"comment/170\",[]],[\"name/171\",[22,39.682]],[\"comment/171\",[]],[\"name/172\",[23,39.682]],[\"comment/172\",[]],[\"name/173\",[24,39.682]],[\"comment/173\",[]],[\"name/174\",[25,37.675]],[\"comment/174\",[]],[\"name/175\",[26,39.682]],[\"comment/175\",[]],[\"name/176\",[27,39.682]],[\"comment/176\",[]],[\"name/177\",[28,37.675]],[\"comment/177\",[]],[\"name/178\",[29,37.675]],[\"comment/178\",[]],[\"name/179\",[6,39.682]],[\"comment/179\",[]],[\"name/180\",[30,39.682]],[\"comment/180\",[]],[\"name/181\",[31,39.682]],[\"comment/181\",[]],[\"name/182\",[32,39.682]],[\"comment/182\",[]],[\"name/183\",[33,39.682]],[\"comment/183\",[]],[\"name/184\",[34,39.682]],[\"comment/184\",[]],[\"name/185\",[35,39.682]],[\"comment/185\",[]],[\"name/186\",[36,39.682]],[\"comment/186\",[]],[\"name/187\",[37,33.322]],[\"comment/187\",[]],[\"name/188\",[38,39.682]],[\"comment/188\",[]],[\"name/189\",[57,50.668]],[\"comment/189\",[]],[\"name/190\",[58,50.668]],[\"comment/190\",[]],[\"name/191\",[1,34.574]],[\"comment/191\",[]],[\"name/192\",[59,42.195]],[\"comment/192\",[]],[\"name/193\",[60,42.195]],[\"comment/193\",[]],[\"name/194\",[5,34.574]],[\"comment/194\",[]],[\"name/195\",[61,42.195]],[\"comment/195\",[]],[\"name/196\",[62,42.195]],[\"comment/196\",[]],[\"name/197\",[63,50.668]],[\"comment/197\",[]],[\"name/198\",[64,50.668]],[\"comment/198\",[]],[\"name/199\",[65,42.195]],[\"comment/199\",[]],[\"name/200\",[66,42.195]],[\"comment/200\",[]],[\"name/201\",[67,42.195]],[\"comment/201\",[]],[\"name/202\",[68,42.195]],[\"comment/202\",[]],[\"name/203\",[69,42.195]],[\"comment/203\",[]],[\"name/204\",[70,42.195]],[\"comment/204\",[]],[\"name/205\",[71,50.668]],[\"comment/205\",[]],[\"name/206\",[1,34.574]],[\"comment/206\",[]],[\"name/207\",[66,42.195]],[\"comment/207\",[]],[\"name/208\",[68,42.195]],[\"comment/208\",[]],[\"name/209\",[59,42.195]],[\"comment/209\",[]],[\"name/210\",[60,42.195]],[\"comment/210\",[]],[\"name/211\",[5,34.574]],[\"comment/211\",[]],[\"name/212\",[61,42.195]],[\"comment/212\",[]],[\"name/213\",[62,42.195]],[\"comment/213\",[]],[\"name/214\",[65,42.195]],[\"comment/214\",[]],[\"name/215\",[67,42.195]],[\"comment/215\",[]],[\"name/216\",[69,42.195]],[\"comment/216\",[]],[\"name/217\",[70,42.195]],[\"comment/217\",[]],[\"name/218\",[72,50.668]],[\"comment/218\",[]],[\"name/219\",[1,34.574]],[\"comment/219\",[]],[\"name/220\",[66,42.195]],[\"comment/220\",[]],[\"name/221\",[59,42.195]],[\"comment/221\",[]],[\"name/222\",[60,42.195]],[\"comment/222\",[]],[\"name/223\",[5,34.574]],[\"comment/223\",[]],[\"name/224\",[61,42.195]],[\"comment/224\",[]],[\"name/225\",[62,42.195]],[\"comment/225\",[]],[\"name/226\",[65,42.195]],[\"comment/226\",[]],[\"name/227\",[67,42.195]],[\"comment/227\",[]],[\"name/228\",[68,42.195]],[\"comment/228\",[]],[\"name/229\",[69,42.195]],[\"comment/229\",[]],[\"name/230\",[70,42.195]],[\"comment/230\",[]],[\"name/231\",[73,50.668]],[\"comment/231\",[]],[\"name/232\",[74,45.56]],[\"comment/232\",[]],[\"name/233\",[75,50.668]],[\"comment/233\",[]],[\"name/234\",[76,50.668]],[\"comment/234\",[]],[\"name/235\",[77,50.668]],[\"comment/235\",[]],[\"name/236\",[74,45.56]],[\"comment/236\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":37,\"name\":{\"37\":{},\"76\":{},\"99\":{},\"101\":{},\"106\":{},\"108\":{},\"148\":{},\"187\":{}},\"comment\":{}}],[\"abstractworker\",{\"_index\":58,\"name\":{\"190\":{}},\"comment\":{}}],[\"afterpromiseworkerresponsehook\",{\"_index\":31,\"name\":{\"31\":{},\"70\":{},\"142\":{},\"181\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":12,\"name\":{\"12\":{},\"48\":{},\"121\":{},\"157\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":60,\"name\":{\"193\":{},\"210\":{},\"222\":{}},\"comment\":{}}],[\"async\",{\"_index\":77,\"name\":{\"235\":{}},\"comment\":{}}],[\"beforepromiseworkerresponsehook\",{\"_index\":30,\"name\":{\"30\":{},\"69\":{},\"141\":{},\"180\":{}},\"comment\":{}}],[\"busy\",{\"_index\":4,\"name\":{\"4\":{},\"50\":{},\"115\":{},\"159\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":67,\"name\":{\"201\":{},\"215\":{},\"227\":{}},\"comment\":{}}],[\"checkfunctioninput\",{\"_index\":64,\"name\":{\"198\":{}},\"comment\":{}}],[\"checkworkeroptions\",{\"_index\":63,\"name\":{\"197\":{}},\"comment\":{}}],[\"chooseworker\",{\"_index\":33,\"name\":{\"33\":{},\"72\":{},\"144\":{},\"183\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":40,\"name\":{\"78\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":71,\"name\":{\"205\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"40\":{},\"112\":{},\"151\":{},\"191\":{},\"206\":{},\"219\":{}},\"comment\":{}}],[\"createandsetupworker\",{\"_index\":35,\"name\":{\"35\":{},\"74\":{},\"146\":{},\"185\":{}},\"comment\":{}}],[\"createworker\",{\"_index\":11,\"name\":{\"11\":{},\"47\":{},\"120\":{},\"156\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":29,\"name\":{\"29\":{},\"68\":{},\"89\":{},\"139\":{},\"178\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":8,\"name\":{\"8\":{},\"44\":{},\"117\":{},\"153\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":55,\"name\":{\"111\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":15,\"name\":{\"15\":{},\"53\":{},\"124\":{},\"162\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":48,\"name\":{\"86\":{},\"97\":{}},\"comment\":{}}],[\"env\",{\"_index\":41,\"name\":{\"79\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":44,\"name\":{\"82\":{},\"93\":{},\"98\":{}},\"comment\":{}}],[\"execute\",{\"_index\":28,\"name\":{\"28\":{},\"67\":{},\"88\":{},\"138\":{},\"177\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":46,\"name\":{\"84\":{},\"95\":{},\"100\":{}},\"comment\":{}}],[\"filepath\",{\"_index\":20,\"name\":{\"20\":{},\"59\":{},\"129\":{},\"168\":{}},\"comment\":{}}],[\"findfreeworker\",{\"_index\":27,\"name\":{\"27\":{},\"66\":{},\"137\":{},\"176\":{}},\"comment\":{}}],[\"fixedclusterpool\",{\"_index\":39,\"name\":{\"39\":{}},\"comment\":{}}],[\"fixedthreadpool\",{\"_index\":56,\"name\":{\"150\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":65,\"name\":{\"199\":{},\"214\":{},\"226\":{}},\"comment\":{}}],[\"getworkeraveragetasksruntime\",{\"_index\":24,\"name\":{\"24\":{},\"63\":{},\"134\":{},\"173\":{}},\"comment\":{}}],[\"getworkerindex\",{\"_index\":22,\"name\":{\"22\":{},\"61\":{},\"132\":{},\"171\":{}},\"comment\":{}}],[\"getworkerrunningtasks\",{\"_index\":23,\"name\":{\"23\":{},\"62\":{},\"133\":{},\"172\":{}},\"comment\":{}}],[\"handleerror\",{\"_index\":68,\"name\":{\"202\":{},\"208\":{},\"228\":{}},\"comment\":{}}],[\"initworkertasksusage\",{\"_index\":38,\"name\":{\"38\":{},\"77\":{},\"149\":{},\"188\":{}},\"comment\":{}}],[\"internalexecute\",{\"_index\":34,\"name\":{\"34\":{},\"73\":{},\"145\":{},\"184\":{}},\"comment\":{}}],[\"internalgetbusystatus\",{\"_index\":26,\"name\":{\"26\":{},\"65\":{},\"136\":{},\"175\":{}},\"comment\":{}}],[\"ipool\",{\"_index\":49,\"name\":{\"87\":{}},\"comment\":{}}],[\"ipoolworker\",{\"_index\":51,\"name\":{\"102\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":7,\"name\":{\"7\":{},\"43\":{},\"116\":{},\"152\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":74,\"name\":{\"232\":{},\"236\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":73,\"name\":{\"231\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":59,\"name\":{\"192\":{},\"209\":{},\"221\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":61,\"name\":{\"195\":{},\"212\":{},\"224\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"54\":{},\"113\":{},\"163\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":76,\"name\":{\"234\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":43,\"name\":{\"81\":{},\"92\":{},\"105\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":62,\"name\":{\"196\":{},\"213\":{},\"225\":{}},\"comment\":{}}],[\"nextmessageid\",{\"_index\":17,\"name\":{\"17\":{},\"56\":{},\"126\":{},\"165\":{}},\"comment\":{}}],[\"numberofrunningtasks\",{\"_index\":21,\"name\":{\"21\":{},\"60\":{},\"131\":{},\"170\":{}},\"comment\":{}}],[\"numberofworkers\",{\"_index\":19,\"name\":{\"19\":{},\"58\":{},\"128\":{},\"167\":{}},\"comment\":{}}],[\"on\",{\"_index\":52,\"name\":{\"103\":{}},\"comment\":{}}],[\"once\",{\"_index\":53,\"name\":{\"104\":{}},\"comment\":{}}],[\"onlinehandler\",{\"_index\":45,\"name\":{\"83\":{},\"94\":{},\"107\":{}},\"comment\":{}}],[\"opts\",{\"_index\":5,\"name\":{\"5\":{},\"41\":{},\"130\":{},\"169\":{},\"194\":{},\"211\":{},\"223\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":50,\"name\":{\"91\":{}},\"comment\":{}}],[\"promisemap\",{\"_index\":16,\"name\":{\"16\":{},\"55\":{},\"125\":{},\"164\":{}},\"comment\":{}}],[\"registerworkermessagelistener\",{\"_index\":10,\"name\":{\"10\":{},\"46\":{},\"119\":{},\"155\":{}},\"comment\":{}}],[\"removeworker\",{\"_index\":32,\"name\":{\"32\":{},\"71\":{},\"143\":{},\"182\":{}},\"comment\":{}}],[\"run\",{\"_index\":69,\"name\":{\"203\":{},\"216\":{},\"229\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":70,\"name\":{\"204\":{},\"217\":{},\"230\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":66,\"name\":{\"200\":{},\"207\":{},\"220\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":9,\"name\":{\"9\":{},\"45\":{},\"118\":{},\"154\":{}},\"comment\":{}}],[\"settings\",{\"_index\":42,\"name\":{\"80\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":6,\"name\":{\"6\":{},\"42\":{},\"140\":{},\"179\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":25,\"name\":{\"25\":{},\"64\":{},\"90\":{},\"135\":{},\"174\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":72,\"name\":{\"218\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":57,\"name\":{\"189\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"49\":{},\"114\":{},\"158\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":54,\"name\":{\"109\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":47,\"name\":{\"85\":{},\"96\":{},\"110\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":18,\"name\":{\"18\":{},\"57\":{},\"127\":{},\"166\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":36,\"name\":{\"36\":{},\"75\":{},\"147\":{},\"186\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":75,\"name\":{\"233\":{}},\"comment\":{}}],[\"workers\",{\"_index\":13,\"name\":{\"13\":{},\"51\":{},\"122\":{},\"160\":{}},\"comment\":{}}],[\"workerstasksusage\",{\"_index\":14,\"name\":{\"14\":{},\"52\":{},\"123\":{},\"161\":{}},\"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\":\"settings\",\"url\":\"interfaces/ClusterPoolOptions.html#settings\",\"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\":1024,\"name\":\"emitter\",\"url\":\"interfaces/IPool.html#emitter\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPool\"},{\"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\":128,\"name\":\"PoolEmitter\",\"url\":\"classes/PoolEmitter.html\",\"classes\":\"tsd-kind-class\"},{\"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\":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\":\"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,49.972]],[\"comment/0\",[]],[\"name/1\",[1,35.309]],[\"comment/1\",[]],[\"name/2\",[2,38.986]],[\"comment/2\",[]],[\"name/3\",[3,38.986]],[\"comment/3\",[]],[\"name/4\",[4,38.986]],[\"comment/4\",[]],[\"name/5\",[5,35.309]],[\"comment/5\",[]],[\"name/6\",[6,38.986]],[\"comment/6\",[]],[\"name/7\",[7,38.986]],[\"comment/7\",[]],[\"name/8\",[8,38.986]],[\"comment/8\",[]],[\"name/9\",[9,38.986]],[\"comment/9\",[]],[\"name/10\",[10,38.986]],[\"comment/10\",[]],[\"name/11\",[11,38.986]],[\"comment/11\",[]],[\"name/12\",[12,38.986]],[\"comment/12\",[]],[\"name/13\",[13,38.986]],[\"comment/13\",[]],[\"name/14\",[14,38.986]],[\"comment/14\",[]],[\"name/15\",[15,36.979]],[\"comment/15\",[]],[\"name/16\",[16,38.986]],[\"comment/16\",[]],[\"name/17\",[17,38.986]],[\"comment/17\",[]],[\"name/18\",[18,38.986]],[\"comment/18\",[]],[\"name/19\",[19,38.986]],[\"comment/19\",[]],[\"name/20\",[20,38.986]],[\"comment/20\",[]],[\"name/21\",[21,38.986]],[\"comment/21\",[]],[\"name/22\",[22,38.986]],[\"comment/22\",[]],[\"name/23\",[23,38.986]],[\"comment/23\",[]],[\"name/24\",[24,38.986]],[\"comment/24\",[]],[\"name/25\",[25,36.979]],[\"comment/25\",[]],[\"name/26\",[26,38.986]],[\"comment/26\",[]],[\"name/27\",[27,38.986]],[\"comment/27\",[]],[\"name/28\",[28,36.979]],[\"comment/28\",[]],[\"name/29\",[29,36.979]],[\"comment/29\",[]],[\"name/30\",[30,38.986]],[\"comment/30\",[]],[\"name/31\",[31,38.986]],[\"comment/31\",[]],[\"name/32\",[32,38.986]],[\"comment/32\",[]],[\"name/33\",[33,38.986]],[\"comment/33\",[]],[\"name/34\",[34,38.986]],[\"comment/34\",[]],[\"name/35\",[35,38.986]],[\"comment/35\",[]],[\"name/36\",[36,38.986]],[\"comment/36\",[]],[\"name/37\",[37,32.626]],[\"comment/37\",[]],[\"name/38\",[38,38.986]],[\"comment/38\",[]],[\"name/39\",[39,49.972]],[\"comment/39\",[]],[\"name/40\",[1,35.309]],[\"comment/40\",[]],[\"name/41\",[5,35.309]],[\"comment/41\",[]],[\"name/42\",[6,38.986]],[\"comment/42\",[]],[\"name/43\",[7,38.986]],[\"comment/43\",[]],[\"name/44\",[8,38.986]],[\"comment/44\",[]],[\"name/45\",[9,38.986]],[\"comment/45\",[]],[\"name/46\",[10,38.986]],[\"comment/46\",[]],[\"name/47\",[11,38.986]],[\"comment/47\",[]],[\"name/48\",[12,38.986]],[\"comment/48\",[]],[\"name/49\",[3,38.986]],[\"comment/49\",[]],[\"name/50\",[4,38.986]],[\"comment/50\",[]],[\"name/51\",[13,38.986]],[\"comment/51\",[]],[\"name/52\",[14,38.986]],[\"comment/52\",[]],[\"name/53\",[15,36.979]],[\"comment/53\",[]],[\"name/54\",[2,38.986]],[\"comment/54\",[]],[\"name/55\",[16,38.986]],[\"comment/55\",[]],[\"name/56\",[17,38.986]],[\"comment/56\",[]],[\"name/57\",[18,38.986]],[\"comment/57\",[]],[\"name/58\",[19,38.986]],[\"comment/58\",[]],[\"name/59\",[20,38.986]],[\"comment/59\",[]],[\"name/60\",[21,38.986]],[\"comment/60\",[]],[\"name/61\",[22,38.986]],[\"comment/61\",[]],[\"name/62\",[23,38.986]],[\"comment/62\",[]],[\"name/63\",[24,38.986]],[\"comment/63\",[]],[\"name/64\",[25,36.979]],[\"comment/64\",[]],[\"name/65\",[26,38.986]],[\"comment/65\",[]],[\"name/66\",[27,38.986]],[\"comment/66\",[]],[\"name/67\",[28,36.979]],[\"comment/67\",[]],[\"name/68\",[29,36.979]],[\"comment/68\",[]],[\"name/69\",[30,38.986]],[\"comment/69\",[]],[\"name/70\",[31,38.986]],[\"comment/70\",[]],[\"name/71\",[32,38.986]],[\"comment/71\",[]],[\"name/72\",[33,38.986]],[\"comment/72\",[]],[\"name/73\",[34,38.986]],[\"comment/73\",[]],[\"name/74\",[35,38.986]],[\"comment/74\",[]],[\"name/75\",[36,38.986]],[\"comment/75\",[]],[\"name/76\",[37,32.626]],[\"comment/76\",[]],[\"name/77\",[38,38.986]],[\"comment/77\",[]],[\"name/78\",[40,49.972]],[\"comment/78\",[]],[\"name/79\",[41,49.972]],[\"comment/79\",[]],[\"name/80\",[42,49.972]],[\"comment/80\",[]],[\"name/81\",[43,41.499]],[\"comment/81\",[]],[\"name/82\",[44,41.499]],[\"comment/82\",[]],[\"name/83\",[45,41.499]],[\"comment/83\",[]],[\"name/84\",[46,41.499]],[\"comment/84\",[]],[\"name/85\",[47,41.499]],[\"comment/85\",[]],[\"name/86\",[48,44.864]],[\"comment/86\",[]],[\"name/87\",[49,49.972]],[\"comment/87\",[]],[\"name/88\",[15,36.979]],[\"comment/88\",[]],[\"name/89\",[28,36.979]],[\"comment/89\",[]],[\"name/90\",[29,36.979]],[\"comment/90\",[]],[\"name/91\",[25,36.979]],[\"comment/91\",[]],[\"name/92\",[50,49.972]],[\"comment/92\",[]],[\"name/93\",[51,49.972]],[\"comment/93\",[]],[\"name/94\",[43,41.499]],[\"comment/94\",[]],[\"name/95\",[44,41.499]],[\"comment/95\",[]],[\"name/96\",[45,41.499]],[\"comment/96\",[]],[\"name/97\",[46,41.499]],[\"comment/97\",[]],[\"name/98\",[47,41.499]],[\"comment/98\",[]],[\"name/99\",[48,44.864]],[\"comment/99\",[]],[\"name/100\",[44,41.499]],[\"comment/100\",[]],[\"name/101\",[37,32.626]],[\"comment/101\",[]],[\"name/102\",[46,41.499]],[\"comment/102\",[]],[\"name/103\",[37,32.626]],[\"comment/103\",[]],[\"name/104\",[43,41.499]],[\"comment/104\",[]],[\"name/105\",[37,32.626]],[\"comment/105\",[]],[\"name/106\",[45,41.499]],[\"comment/106\",[]],[\"name/107\",[37,32.626]],[\"comment/107\",[]],[\"name/108\",[52,49.972]],[\"comment/108\",[]],[\"name/109\",[47,41.499]],[\"comment/109\",[]],[\"name/110\",[53,49.972]],[\"comment/110\",[]],[\"name/111\",[1,35.309]],[\"comment/111\",[]],[\"name/112\",[2,38.986]],[\"comment/112\",[]],[\"name/113\",[3,38.986]],[\"comment/113\",[]],[\"name/114\",[4,38.986]],[\"comment/114\",[]],[\"name/115\",[7,38.986]],[\"comment/115\",[]],[\"name/116\",[8,38.986]],[\"comment/116\",[]],[\"name/117\",[9,38.986]],[\"comment/117\",[]],[\"name/118\",[10,38.986]],[\"comment/118\",[]],[\"name/119\",[11,38.986]],[\"comment/119\",[]],[\"name/120\",[12,38.986]],[\"comment/120\",[]],[\"name/121\",[13,38.986]],[\"comment/121\",[]],[\"name/122\",[14,38.986]],[\"comment/122\",[]],[\"name/123\",[15,36.979]],[\"comment/123\",[]],[\"name/124\",[16,38.986]],[\"comment/124\",[]],[\"name/125\",[17,38.986]],[\"comment/125\",[]],[\"name/126\",[18,38.986]],[\"comment/126\",[]],[\"name/127\",[19,38.986]],[\"comment/127\",[]],[\"name/128\",[20,38.986]],[\"comment/128\",[]],[\"name/129\",[5,35.309]],[\"comment/129\",[]],[\"name/130\",[21,38.986]],[\"comment/130\",[]],[\"name/131\",[22,38.986]],[\"comment/131\",[]],[\"name/132\",[23,38.986]],[\"comment/132\",[]],[\"name/133\",[24,38.986]],[\"comment/133\",[]],[\"name/134\",[25,36.979]],[\"comment/134\",[]],[\"name/135\",[26,38.986]],[\"comment/135\",[]],[\"name/136\",[27,38.986]],[\"comment/136\",[]],[\"name/137\",[28,36.979]],[\"comment/137\",[]],[\"name/138\",[29,36.979]],[\"comment/138\",[]],[\"name/139\",[6,38.986]],[\"comment/139\",[]],[\"name/140\",[30,38.986]],[\"comment/140\",[]],[\"name/141\",[31,38.986]],[\"comment/141\",[]],[\"name/142\",[32,38.986]],[\"comment/142\",[]],[\"name/143\",[33,38.986]],[\"comment/143\",[]],[\"name/144\",[34,38.986]],[\"comment/144\",[]],[\"name/145\",[35,38.986]],[\"comment/145\",[]],[\"name/146\",[36,38.986]],[\"comment/146\",[]],[\"name/147\",[37,32.626]],[\"comment/147\",[]],[\"name/148\",[38,38.986]],[\"comment/148\",[]],[\"name/149\",[54,49.972]],[\"comment/149\",[]],[\"name/150\",[1,35.309]],[\"comment/150\",[]],[\"name/151\",[7,38.986]],[\"comment/151\",[]],[\"name/152\",[8,38.986]],[\"comment/152\",[]],[\"name/153\",[9,38.986]],[\"comment/153\",[]],[\"name/154\",[10,38.986]],[\"comment/154\",[]],[\"name/155\",[11,38.986]],[\"comment/155\",[]],[\"name/156\",[12,38.986]],[\"comment/156\",[]],[\"name/157\",[3,38.986]],[\"comment/157\",[]],[\"name/158\",[4,38.986]],[\"comment/158\",[]],[\"name/159\",[13,38.986]],[\"comment/159\",[]],[\"name/160\",[14,38.986]],[\"comment/160\",[]],[\"name/161\",[15,36.979]],[\"comment/161\",[]],[\"name/162\",[2,38.986]],[\"comment/162\",[]],[\"name/163\",[16,38.986]],[\"comment/163\",[]],[\"name/164\",[17,38.986]],[\"comment/164\",[]],[\"name/165\",[18,38.986]],[\"comment/165\",[]],[\"name/166\",[19,38.986]],[\"comment/166\",[]],[\"name/167\",[20,38.986]],[\"comment/167\",[]],[\"name/168\",[5,35.309]],[\"comment/168\",[]],[\"name/169\",[21,38.986]],[\"comment/169\",[]],[\"name/170\",[22,38.986]],[\"comment/170\",[]],[\"name/171\",[23,38.986]],[\"comment/171\",[]],[\"name/172\",[24,38.986]],[\"comment/172\",[]],[\"name/173\",[25,36.979]],[\"comment/173\",[]],[\"name/174\",[26,38.986]],[\"comment/174\",[]],[\"name/175\",[27,38.986]],[\"comment/175\",[]],[\"name/176\",[28,36.979]],[\"comment/176\",[]],[\"name/177\",[29,36.979]],[\"comment/177\",[]],[\"name/178\",[6,38.986]],[\"comment/178\",[]],[\"name/179\",[30,38.986]],[\"comment/179\",[]],[\"name/180\",[31,38.986]],[\"comment/180\",[]],[\"name/181\",[32,38.986]],[\"comment/181\",[]],[\"name/182\",[33,38.986]],[\"comment/182\",[]],[\"name/183\",[34,38.986]],[\"comment/183\",[]],[\"name/184\",[35,38.986]],[\"comment/184\",[]],[\"name/185\",[36,38.986]],[\"comment/185\",[]],[\"name/186\",[37,32.626]],[\"comment/186\",[]],[\"name/187\",[38,38.986]],[\"comment/187\",[]],[\"name/188\",[55,49.972]],[\"comment/188\",[]],[\"name/189\",[56,49.972]],[\"comment/189\",[]],[\"name/190\",[1,35.309]],[\"comment/190\",[]],[\"name/191\",[57,44.864]],[\"comment/191\",[]],[\"name/192\",[58,44.864]],[\"comment/192\",[]],[\"name/193\",[59,44.864]],[\"comment/193\",[]],[\"name/194\",[60,44.864]],[\"comment/194\",[]],[\"name/195\",[5,35.309]],[\"comment/195\",[]],[\"name/196\",[61,44.864]],[\"comment/196\",[]],[\"name/197\",[62,44.864]],[\"comment/197\",[]],[\"name/198\",[63,44.864]],[\"comment/198\",[]],[\"name/199\",[64,44.864]],[\"comment/199\",[]],[\"name/200\",[65,44.864]],[\"comment/200\",[]],[\"name/201\",[66,44.864]],[\"comment/201\",[]],[\"name/202\",[67,49.972]],[\"comment/202\",[]],[\"name/203\",[1,35.309]],[\"comment/203\",[]],[\"name/204\",[57,44.864]],[\"comment/204\",[]],[\"name/205\",[59,44.864]],[\"comment/205\",[]],[\"name/206\",[60,44.864]],[\"comment/206\",[]],[\"name/207\",[5,35.309]],[\"comment/207\",[]],[\"name/208\",[61,44.864]],[\"comment/208\",[]],[\"name/209\",[62,44.864]],[\"comment/209\",[]],[\"name/210\",[63,44.864]],[\"comment/210\",[]],[\"name/211\",[64,44.864]],[\"comment/211\",[]],[\"name/212\",[58,44.864]],[\"comment/212\",[]],[\"name/213\",[65,44.864]],[\"comment/213\",[]],[\"name/214\",[66,44.864]],[\"comment/214\",[]],[\"name/215\",[68,49.972]],[\"comment/215\",[]],[\"name/216\",[69,44.864]],[\"comment/216\",[]],[\"name/217\",[70,49.972]],[\"comment/217\",[]],[\"name/218\",[71,49.972]],[\"comment/218\",[]],[\"name/219\",[72,49.972]],[\"comment/219\",[]],[\"name/220\",[69,44.864]],[\"comment/220\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":37,\"name\":{\"37\":{},\"76\":{},\"101\":{},\"103\":{},\"105\":{},\"107\":{},\"147\":{},\"186\":{}},\"comment\":{}}],[\"afterpromiseworkerresponsehook\",{\"_index\":31,\"name\":{\"31\":{},\"70\":{},\"141\":{},\"180\":{}},\"comment\":{}}],[\"afterworkersetup\",{\"_index\":12,\"name\":{\"12\":{},\"48\":{},\"120\":{},\"156\":{}},\"comment\":{}}],[\"aliveinterval\",{\"_index\":60,\"name\":{\"194\":{},\"206\":{}},\"comment\":{}}],[\"async\",{\"_index\":72,\"name\":{\"219\":{}},\"comment\":{}}],[\"beforepromiseworkerresponsehook\",{\"_index\":30,\"name\":{\"30\":{},\"69\":{},\"140\":{},\"179\":{}},\"comment\":{}}],[\"busy\",{\"_index\":4,\"name\":{\"4\":{},\"50\":{},\"114\":{},\"158\":{}},\"comment\":{}}],[\"checkalive\",{\"_index\":64,\"name\":{\"199\":{},\"211\":{}},\"comment\":{}}],[\"chooseworker\",{\"_index\":33,\"name\":{\"33\":{},\"72\":{},\"143\":{},\"182\":{}},\"comment\":{}}],[\"clusterpooloptions\",{\"_index\":40,\"name\":{\"78\":{}},\"comment\":{}}],[\"clusterworker\",{\"_index\":56,\"name\":{\"189\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":1,\"name\":{\"1\":{},\"40\":{},\"111\":{},\"150\":{},\"190\":{},\"203\":{}},\"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\":{},\"90\":{},\"138\":{},\"177\":{}},\"comment\":{}}],[\"destroyworker\",{\"_index\":8,\"name\":{\"8\":{},\"44\":{},\"116\":{},\"152\":{}},\"comment\":{}}],[\"dynamicclusterpool\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"dynamicthreadpool\",{\"_index\":53,\"name\":{\"110\":{}},\"comment\":{}}],[\"emitter\",{\"_index\":15,\"name\":{\"15\":{},\"53\":{},\"88\":{},\"123\":{},\"161\":{}},\"comment\":{}}],[\"enableevents\",{\"_index\":48,\"name\":{\"86\":{},\"99\":{}},\"comment\":{}}],[\"env\",{\"_index\":41,\"name\":{\"79\":{}},\"comment\":{}}],[\"errorhandler\",{\"_index\":44,\"name\":{\"82\":{},\"95\":{},\"100\":{}},\"comment\":{}}],[\"execute\",{\"_index\":28,\"name\":{\"28\":{},\"67\":{},\"89\":{},\"137\":{},\"176\":{}},\"comment\":{}}],[\"exithandler\",{\"_index\":46,\"name\":{\"84\":{},\"97\":{},\"102\":{}},\"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\":54,\"name\":{\"149\":{}},\"comment\":{}}],[\"getmainworker\",{\"_index\":63,\"name\":{\"198\":{},\"210\":{}},\"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\":58,\"name\":{\"192\":{},\"212\":{}},\"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\":49,\"name\":{\"87\":{}},\"comment\":{}}],[\"ismain\",{\"_index\":7,\"name\":{\"7\":{},\"43\":{},\"115\":{},\"151\":{}},\"comment\":{}}],[\"killbehavior\",{\"_index\":69,\"name\":{\"216\":{},\"220\":{}},\"comment\":{}}],[\"killbehaviors\",{\"_index\":68,\"name\":{\"215\":{}},\"comment\":{}}],[\"lasttasktimestamp\",{\"_index\":59,\"name\":{\"193\":{},\"205\":{}},\"comment\":{}}],[\"mainworker\",{\"_index\":61,\"name\":{\"196\":{},\"208\":{}},\"comment\":{}}],[\"max\",{\"_index\":2,\"name\":{\"2\":{},\"54\":{},\"112\":{},\"162\":{}},\"comment\":{}}],[\"maxinactivetime\",{\"_index\":71,\"name\":{\"218\":{}},\"comment\":{}}],[\"messagehandler\",{\"_index\":43,\"name\":{\"81\":{},\"94\":{},\"104\":{}},\"comment\":{}}],[\"messagelistener\",{\"_index\":62,\"name\":{\"197\":{},\"209\":{}},\"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\":{}}],[\"onlinehandler\",{\"_index\":45,\"name\":{\"83\":{},\"96\":{},\"106\":{}},\"comment\":{}}],[\"opts\",{\"_index\":5,\"name\":{\"5\":{},\"41\":{},\"129\":{},\"168\":{},\"195\":{},\"207\":{}},\"comment\":{}}],[\"poolemitter\",{\"_index\":50,\"name\":{\"92\":{}},\"comment\":{}}],[\"pooloptions\",{\"_index\":51,\"name\":{\"93\":{}},\"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\":65,\"name\":{\"200\":{},\"213\":{}},\"comment\":{}}],[\"runasync\",{\"_index\":66,\"name\":{\"201\":{},\"214\":{}},\"comment\":{}}],[\"sendtomainworker\",{\"_index\":57,\"name\":{\"191\":{},\"204\":{}},\"comment\":{}}],[\"sendtoworker\",{\"_index\":9,\"name\":{\"9\":{},\"45\":{},\"117\":{},\"153\":{}},\"comment\":{}}],[\"settings\",{\"_index\":42,\"name\":{\"80\":{}},\"comment\":{}}],[\"setuphook\",{\"_index\":6,\"name\":{\"6\":{},\"42\":{},\"139\":{},\"178\":{}},\"comment\":{}}],[\"setworkerchoicestrategy\",{\"_index\":25,\"name\":{\"25\":{},\"64\":{},\"91\":{},\"134\":{},\"173\":{}},\"comment\":{}}],[\"threadworker\",{\"_index\":67,\"name\":{\"202\":{}},\"comment\":{}}],[\"threadworkerwithmessagechannel\",{\"_index\":55,\"name\":{\"188\":{}},\"comment\":{}}],[\"type\",{\"_index\":3,\"name\":{\"3\":{},\"49\":{},\"113\":{},\"157\":{}},\"comment\":{}}],[\"workerchoicestrategies\",{\"_index\":52,\"name\":{\"108\":{}},\"comment\":{}}],[\"workerchoicestrategy\",{\"_index\":47,\"name\":{\"85\":{},\"98\":{},\"109\":{}},\"comment\":{}}],[\"workerchoicestrategycontext\",{\"_index\":18,\"name\":{\"18\":{},\"57\":{},\"126\":{},\"165\":{}},\"comment\":{}}],[\"workerlistener\",{\"_index\":36,\"name\":{\"36\":{},\"75\":{},\"146\":{},\"185\":{}},\"comment\":{}}],[\"workeroptions\",{\"_index\":70,\"name\":{\"217\":{}},\"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/assets/style.css b/docs/assets/style.css index 958d2c26..e5093854 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -825,6 +825,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { padding-left: 5.5rem; } +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + a.tsd-index-link { margin: 0.25rem 0; font-size: 1rem; @@ -978,7 +987,8 @@ a.tsd-index-link { right: -40px; } #tsd-search .field input, -#tsd-search .title { +#tsd-search .title, +#tsd-toolbar-links a { transition: opacity 0.2s; } #tsd-search .results { @@ -1022,7 +1032,8 @@ a.tsd-index-link { top: 0; opacity: 1; } -#tsd-search.has-focus .title { +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { z-index: 0; opacity: 0; } @@ -1036,6 +1047,22 @@ a.tsd-index-link { display: block; } +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + .tsd-signature { margin: 0 0 1rem 0; padding: 1rem 0.5rem; @@ -1134,6 +1161,11 @@ ul.tsd-type-parameter-list h5 { .tsd-page-toolbar .table-cell:first-child { width: 100%; } +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} .tsd-page-toolbar--hide { transform: translateY(-100%); diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html deleted file mode 100644 index b1c6a9b4..00000000 --- a/docs/classes/AbstractWorker.html +++ /dev/null @@ -1,554 +0,0 @@ -AbstractWorker | poolifier
-
- -
-
-
-
- -

Class AbstractWorker<MainWorker, Data, Response>Abstract

-
-

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

-
-
-

Type Parameters

-
    -
  • -

    MainWorker extends Worker | MessagePort

    -

    Type of main worker.

    -
  • -
  • -

    Data = unknown

    -

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

    -
  • -
  • -

    Response = unknown

    -

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

    -
-
-

Hierarchy

-
-
-
-
- -
-
-

Constructors

-
- -
    - -
  • -

    Constructs a new poolifier worker.

    -
    -
    -

    Type Parameters

    -
      -
    • -

      MainWorker extends Worker | MessagePort

    • -
    • -

      Data = unknown

    • -
    • -

      Response = unknown

    -
    -

    Parameters

    -
      -
    • -
      type: string
      -

      The type of async event.

      -
    • -
    • -
      isMain: boolean
      -

      Whether this is the main worker or not.

      -
    • -
    • -
      fn: ((data: Data) => Response)
      -

      Function processed by the worker when the pool's execution function is invoked.

      -
      -
        -
      • -
          -
        • (data: Data): Response
        • -
        • -
          -

          Parameters

          -
            -
          • -
            data: Data
          -

          Returns Response

    • -
    • -
      mainWorker: undefined | null | MainWorker
      -

      Reference to main worker.

      -
    • -
    • -
      opts: WorkerOptions = ...
      -

      Options for the worker.

      -
    -

    Returns AbstractWorker<MainWorker, Data, Response>

-
-

Properties

-
- -
aliveInterval?: Timeout
-

Handler Id of the aliveInterval worker alive check.

-
-
- -
lastTaskTimestamp: number
-

Timestamp of the last task processed by this worker.

-
-
- -
mainWorker: undefined | null | MainWorker
-
- - -

Options for the worker.

-
-
-

Methods

-
- -
    - -
  • -
    -

    Returns

    The unique asyncId assigned to the resource.

    -
    -

    Returns number

-
- -
    - -
  • -

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

    -

    The returned function will have an asyncResource property referencing -the AsyncResource to which the function is bound.

    - -

    Since

    v14.8.0, v12.19.0

    -
    -
    -

    Type Parameters

    -
      -
    • -

      Func extends ((...args: any[]) => any)

    -
    -

    Parameters

    -
      -
    • -
      fn: Func
      -

      The function to bind to the current AsyncResource.

      -
    -

    Returns Func & { asyncResource: AsyncResource }

-
- -
    - -
  • -

    Check to see if the worker should be terminated, because its living too long.

    -
    -

    Returns void

-
- -
    - -
  • -

    Checks if the fn parameter is passed to the constructor.

    -
    -
    -

    Parameters

    -
      -
    • -
      fn: ((data: Data) => Response)
      -

      The function that should be defined.

      -
      -
        -
      • -
          -
        • (data: Data): Response
        • -
        • -
          -

          Parameters

          -
            -
          • -
            data: Data
          -

          Returns Response

    -

    Returns void

-
- -
-
- -
    - -
  • -

    Call all destroy hooks. This should only ever be called once. An error will -be thrown if it is called more than once. This must be manually called. If -the resource is left to be collected by the GC then the destroy hooks will -never be called.

    - -

    Returns

    A reference to asyncResource.

    -
    -

    Returns AbstractWorker<MainWorker, Data, Response>

-
- -
    - -
  • -

    Returns the main worker.

    - -

    Returns

    Reference to the main worker.

    -
    -

    Returns MainWorker

-
- -
    - -
  • -

    Handles an error and convert it to a string so it can be sent back to the main worker.

    - -

    Returns

    Message of the error.

    -
    -
    -

    Parameters

    -
      -
    • -
      e: string | Error
      -

      The error raised by the worker.

      -
    -

    Returns string

-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      value: MessageValue<Data, MainWorker>
    • -
    • -
      fn: ((data: Data) => Response)
      -
        -
      • -
          -
        • (data: Data): Response
        • -
        • -
          -

          Parameters

          -
            -
          • -
            data: Data
          -

          Returns Response

    -

    Returns void

-
- -
    - -
  • -

    Runs the given function synchronously.

    -
    -
    -

    Parameters

    -
      -
    • -
      fn: ((data?: Data) => Response)
      -

      Function that will be executed.

      -
      -
        -
      • -
          -
        • (data?: Data): Response
        • -
        • -
          -

          Parameters

          -
            -
          • -
            Optional data: Data
          -

          Returns Response

    • -
    • -
      value: MessageValue<Data, unknown>
      -

      Input data for the given function.

      -
    -

    Returns void

-
- -
    - -
  • -

    Runs the given function asynchronously.

    -
    -
    -

    Parameters

    -
      -
    • -
      fn: ((data?: Data) => Promise<Response>)
      -

      Function that will be executed.

      -
      -
        -
      • -
          -
        • (data?: Data): Promise<Response>
        • -
        • -
          -

          Parameters

          -
            -
          • -
            Optional data: Data
          -

          Returns Promise<Response>

    • -
    • -
      value: MessageValue<Data, unknown>
      -

      Input data for the given function.

      -
    -

    Returns void

-
- -
    - -
  • -

    Call the provided function with the provided arguments in the execution context -of the async resource. This will establish the context, trigger the AsyncHooks -before callbacks, call the function, trigger the AsyncHooks after callbacks, and -then restore the original execution context.

    - -

    Since

    v9.6.0

    -
    -
    -

    Type Parameters

    -
      -
    • -

      This

    • -
    • -

      Result

    -
    -

    Parameters

    -
      -
    • -
      fn: ((this: This, ...args: any[]) => Result)
      -

      The function to call in the execution context of this async resource.

      -
      -
        -
      • -
          -
        • (this: This, ...args: any[]): Result
        • -
        • -
          -

          Parameters

          -
            -
          • -
            this: This
          • -
          • -
            Rest ...args: any[]
          -

          Returns Result

    • -
    • -
      Optional thisArg: This
      -

      The receiver to be used for the function call.

      -
    • -
    • -
      Rest ...args: any[]
      -

      Optional arguments to pass to the function.

      -
    -

    Returns Result

-
- -
    - -
  • -

    Sends a message to the main worker.

    -
    -
    -

    Parameters

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

      The response message.

      -
    -

    Returns void

-
- -
    - -
  • -
    -

    Returns

    The same triggerAsyncId that is passed to the AsyncResource constructor.

    -
    -

    Returns number

-
- -
    - -
  • -

    Binds the given function to the current execution context.

    -

    The returned function will have an asyncResource property referencing -the AsyncResource to which the function is bound.

    - -

    Since

    v14.8.0, v12.19.0

    -
    -
    -

    Type Parameters

    -
      -
    • -

      Func extends ((this: ThisArg, ...args: any[]) => any)

    • -
    • -

      ThisArg

    -
    -

    Parameters

    -
      -
    • -
      fn: Func
      -

      The function to bind to the current execution context.

      -
    • -
    • -
      Optional type: string
      -

      An optional name to associate with the underlying AsyncResource.

      -
    • -
    • -
      Optional thisArg: ThisArg
    -

    Returns Func & { asyncResource: AsyncResource }

-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index 01e9e5d4..0178263a 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -1,11 +1,13 @@ ClusterWorker | poolifier
-
+
  • The search index is not available
  • poolifier +
    @@ -20,10 +22,6 @@ it will send a termination request to its main worker.

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

    -

    Template

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

    - -

    Template

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

    -

    Author

    Christopher Quadflieg

    Since

    2.0.0

    @@ -32,17 +30,21 @@ but the minimum number of workers will be guaranteed.

    Type Parameters

    • -

      Data = unknown

    • +

      Data = unknown

      +

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

      +
    • -

      Response = unknown

    +

    Response = unknown

    +

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

    +

    Hierarchy

      -
    • AbstractWorker<Worker, Data, Response> +
    • AbstractWorker<Worker, Data, Response>
      • ClusterWorker
    +
  • Defined in src/worker/cluster-worker.ts:21
  • @@ -114,9 +116,9 @@ but the minimum number of workers will be guaranteed.

    Options for the worker.

    Returns ClusterWorker<Data, Response>

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

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

    aliveInterval?: Timeout

    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 | Worker
    +
  • Defined in src/worker/abstract-worker.ts:49
  • Options for the worker.

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

    @@ -160,13 +162,13 @@ but the minimum number of workers will be guaranteed.

    Returns

    The unique asyncId assigned to the resource.

    Returns number

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

      The returned function will have an asyncResource property referencing @@ -186,8 +188,8 @@ the AsyncResource to which the function is bound.

      fn: Func

      The function to bind to the current AsyncResource.

    -

    Returns Func & { asyncResource: AsyncResource }

      @@ -214,7 +216,7 @@ never be called.

      Returns

      A reference to asyncResource.

      Returns ClusterWorker<Data, Response>

    @@ -227,29 +229,25 @@ never be called.

    Returns

    Reference to the main worker.

    Returns Worker

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

      Handles an error and convert it to a string so it can be sent back to the main worker.

      - -

      Returns

      Message of the error.

      -
      +
      +

      Inherit Doc

      Parameters

      • -
        e: string | Error
        -

        The error raised by the worker.

        -
      +
      e: string | Error

    Returns string

    +
  • Defined in src/worker/cluster-worker.ts:47
    • @@ -274,9 +272,9 @@ never be called.

      data: Data

    Returns Response

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:81
    • @@ -307,9 +305,9 @@ never be called.

      Input data for the given function.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:169
    • @@ -340,9 +338,9 @@ never be called.

      Input data for the given function.

    Returns void

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

      Optional arguments to pass to the function.

    Returns Result

    @@ -399,19 +397,17 @@ then restore the original execution context.

    • -

      Sends a message to the main worker.

      -
      +
      +

      Inherit Doc

      Parameters

      • -
        message: MessageValue<Response, unknown>
        -

        The response message.

        -
      +
      message: MessageValue<Response, unknown>

    Returns void

    +
  • Defined in src/worker/cluster-worker.ts:42
    • @@ -421,13 +417,13 @@ then restore the original execution context.

      Returns

      The same triggerAsyncId that is passed to the AsyncResource constructor.

      Returns number

      - +
    • Binds the given function to the current execution context.

      The returned function will have an asyncResource property referencing @@ -455,8 +451,8 @@ the AsyncResource to which the function is bound.

    • Optional thisArg: ThisArg
    -

    Returns Func & { asyncResource: AsyncResource }

    +
    @@ -18,10 +20,6 @@

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

    -

    Template

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

    - -

    Template

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

    -

    Author

    Christopher Quadflieg

    Since

    2.0.0

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

    Type Parameters

    • -

      Data = unknown

    • +

      Data = unknown

      +

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

      +
    • -

      Response = unknown

    +

    Response = unknown

    +

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

    +

    Hierarchy

      @@ -40,7 +42,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
  • @@ -133,23 +135,23 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Returns DynamicClusterPool<Data, Response>

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

    -
    emitter?: PoolEmitter
    +
    emitter?: PoolEmitter

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:40
  • filePath: string
    +
  • Defined in src/pools/abstract-pool.ts:83
  • max: number
    @@ -157,7 +159,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
    @@ -165,19 +167,19 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:61
  • numberOfWorkers: number
    +
  • Defined in src/pools/abstract-pool.ts:82
  • +
  • Defined in src/pools/cluster/fixed.ts:53
  • promiseMap: Map<number, PromiseWorkerResponseWrapper<Worker, Response>> = ...
    @@ -190,7 +192,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:53
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -199,7 +201,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:68
  • workers: Worker[] = []
    @@ -207,7 +209,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:31
  • workersTasksUsage: Map<Worker, TasksUsage> = ...
    @@ -215,7 +217,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Inherit Doc

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

    @@ -228,7 +230,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
    • @@ -239,7 +241,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:154
    • @@ -250,7 +252,7 @@ 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

    @@ -275,7 +277,7 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:263
  • +
  • Defined in src/pools/cluster/fixed.ts:93
  • +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • Defined in src/pools/abstract-pool.ts:290
  • +
  • Defined in src/pools/abstract-pool.ts:344
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:222
  • +
  • Defined in src/pools/cluster/fixed.ts:69
  • +
  • Defined in src/pools/abstract-pool.ts:208
  • +
  • Defined in src/pools/abstract-pool.ts:197
  • +
  • Defined in src/pools/abstract-pool.ts:169
  • +
  • Defined in src/pools/abstract-pool.ts:159
  • +
  • Defined in src/pools/abstract-pool.ts:164
  • +
  • Defined in src/pools/abstract-pool.ts:480
  • +
  • Defined in src/pools/abstract-pool.ts:315
  • +
  • Defined in src/pools/abstract-pool.ts:189
  • +
  • Defined in src/pools/cluster/fixed.ts:64
  • +
  • Defined in src/pools/cluster/fixed.ts:80
  • +
  • Defined in src/pools/abstract-pool.ts:277
  • +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:174
  • +
  • Defined in src/pools/cluster/fixed.ts:59
    • @@ -629,7 +631,7 @@ Can be overridden.

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:368
  • @@ -18,10 +20,6 @@

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

    -

    Template

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

    - -

    Template

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

    -

    Author

    Alessandro Pio Ardizio

    Since

    0.0.1

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

    Type Parameters

    • -

      Data = unknown

    • +

      Data = unknown

      +

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

      +
    • -

      Response = unknown

    +

    Response = unknown

    +

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

    +

    Hierarchy

      @@ -40,7 +42,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
      • DynamicThreadPool
    +
  • Defined in src/pools/thread/dynamic.ts:17
  • @@ -133,23 +135,23 @@ When the maximum number of threads is reached, an event is emitted. If you want

    Returns DynamicThreadPool<Data, Response>

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

    -
    emitter?: PoolEmitter
    +
    emitter?: PoolEmitter

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:40
  • filePath: string
    +
  • Defined in src/pools/abstract-pool.ts:83
  • max: number
    @@ -157,7 +159,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
    @@ -165,19 +167,19 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:61
  • numberOfWorkers: number
    +
  • Defined in src/pools/abstract-pool.ts:82
  • +
  • Defined in src/pools/abstract-pool.ts:84
  • promiseMap: Map<number, PromiseWorkerResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -190,7 +192,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:53
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -199,7 +201,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:68
  • @@ -207,7 +209,7 @@ When the maximum number of threads is reached, an event is emitted. If you want

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:31
  • workersTasksUsage: Map<ThreadWorkerWithMessageChannel, TasksUsage> = ...
    @@ -215,7 +217,7 @@ When the maximum number of threads is reached, an event is emitted. If you want

    Inherit Doc

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

    @@ -228,7 +230,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
    • @@ -239,7 +241,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:154
    • @@ -250,7 +252,7 @@ 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

    @@ -275,7 +277,7 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:263
  • +
  • Defined in src/pools/thread/fixed.ts:80
  • +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • 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:208
  • +
  • Defined in src/pools/abstract-pool.ts:197
  • +
  • Defined in src/pools/abstract-pool.ts:169
  • +
  • Defined in src/pools/abstract-pool.ts:159
  • +
  • Defined in src/pools/abstract-pool.ts:164
  • +
  • Defined in src/pools/abstract-pool.ts:480
  • +
  • Defined in src/pools/abstract-pool.ts:315
  • +
  • Defined in src/pools/abstract-pool.ts:189
  • +
  • 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
  • +
  • Defined in src/pools/abstract-pool.ts:174
  • +
  • Defined in src/pools/abstract-pool.ts:237
    • @@ -630,7 +632,7 @@ to run code before workers are created in the abstract constructor.

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:368
  • @@ -18,10 +20,6 @@

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

    This pool selects the workers in a round robin fashion.

    -

    Template

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

    - -

    Template

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

    -

    Author

    Christopher Quadflieg

    Since

    2.0.0

    @@ -30,9 +28,13 @@

    Type Parameters

    • -

      Data = unknown

    • +

      Data = unknown

      +

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

      +
    • -

      Response = unknown

    +

    Response = unknown

    +

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

    +

    Hierarchy

    +
  • Defined in src/pools/cluster/fixed.ts:39
  • @@ -131,23 +133,23 @@

    Returns FixedClusterPool<Data, Response>

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

    -
    emitter?: PoolEmitter
    +
    emitter?: PoolEmitter

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:40
  • filePath: string
    +
  • Defined in src/pools/abstract-pool.ts:83
  • max?: number
    @@ -155,7 +157,7 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:43
  • nextMessageId: number = 0
    @@ -163,19 +165,19 @@
    +
  • Defined in src/pools/abstract-pool.ts:61
  • numberOfWorkers: number
    +
  • Defined in src/pools/abstract-pool.ts:82
  • +
  • Defined in src/pools/cluster/fixed.ts:53
  • promiseMap: Map<number, PromiseWorkerResponseWrapper<Worker, Response>> = ...
    @@ -188,7 +190,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:53
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -197,7 +199,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:68
  • workers: Worker[] = []
    @@ -205,7 +207,7 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:31
  • workersTasksUsage: Map<Worker, TasksUsage> = ...
    @@ -213,7 +215,7 @@

    Inherit Doc

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

    @@ -226,7 +228,7 @@

    Returns boolean

    +
  • Defined in src/pools/cluster/fixed.ts:104
  • +
  • Defined in src/pools/abstract-pool.ts:154
  • +
  • Defined in src/pools/cluster/fixed.ts:99
  • Methods

    @@ -273,7 +275,7 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:263
  • +
  • Defined in src/pools/cluster/fixed.ts:93
    • @@ -308,7 +310,7 @@ Can be overridden.

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • Defined in src/pools/abstract-pool.ts:290
  • +
  • Defined in src/pools/abstract-pool.ts:344
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:222
  • +
  • Defined in src/pools/cluster/fixed.ts:69
  • +
  • Defined in src/pools/abstract-pool.ts:208
  • +
  • Defined in src/pools/abstract-pool.ts:197
    • @@ -416,7 +418,7 @@ Can be overridden.

      Returns undefined | number

    +
  • Defined in src/pools/abstract-pool.ts:169
  • +
  • Defined in src/pools/abstract-pool.ts:159
    • @@ -448,7 +450,7 @@ Can be overridden.

      Returns undefined | number

    +
  • Defined in src/pools/abstract-pool.ts:164
  • +
  • Defined in src/pools/abstract-pool.ts:480
    • @@ -482,7 +484,7 @@ Can be overridden.

      Returns Promise<Response>

    +
  • Defined in src/pools/abstract-pool.ts:315
  • +
  • Defined in src/pools/abstract-pool.ts:189
  • +
  • Defined in src/pools/cluster/fixed.ts:64
    • @@ -536,7 +538,7 @@ Can be overridden.

      Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:80
  • +
  • Defined in src/pools/abstract-pool.ts:277
  • +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:174
  • +
  • Defined in src/pools/cluster/fixed.ts:59
    • @@ -627,7 +629,7 @@ Can be overridden.

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:368
  • @@ -18,10 +20,6 @@

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

    This pool selects the threads in a round robin fashion.

    -

    Template

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

    - -

    Template

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

    -

    Author

    Alessandro Pio Ardizio

    Since

    0.0.1

    @@ -30,9 +28,13 @@

    Type Parameters

    • -

      Data = unknown

    • +

      Data = unknown

      +

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

      +
    • -

      Response = unknown

    +

    Response = unknown

    +

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

    +

    Hierarchy

    +
  • Defined in src/pools/thread/fixed.ts:24
  • @@ -131,23 +133,23 @@

    Returns FixedThreadPool<Data, Response>

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

    -
    emitter?: PoolEmitter
    +
    emitter?: PoolEmitter

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:40
  • filePath: string
    +
  • Defined in src/pools/abstract-pool.ts:83
  • max?: number
    @@ -155,7 +157,7 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:43
  • nextMessageId: number = 0
    @@ -163,19 +165,19 @@
    +
  • Defined in src/pools/abstract-pool.ts:61
  • numberOfWorkers: number
    +
  • Defined in src/pools/abstract-pool.ts:82
  • +
  • Defined in src/pools/abstract-pool.ts:84
  • promiseMap: Map<number, PromiseWorkerResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -188,7 +190,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:53
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -197,7 +199,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:68
  • @@ -205,7 +207,7 @@

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:31
  • workersTasksUsage: Map<ThreadWorkerWithMessageChannel, TasksUsage> = ...
    @@ -213,7 +215,7 @@

    Inherit Doc

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

    @@ -226,7 +228,7 @@

    Returns boolean

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

    @@ -273,7 +275,7 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:263
  • +
  • Defined in src/pools/thread/fixed.ts:80
    • @@ -308,7 +310,7 @@ Can be overridden.

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • 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:208
  • +
  • Defined in src/pools/abstract-pool.ts:197
    • @@ -416,7 +418,7 @@ Can be overridden.

      Returns undefined | number

    +
  • Defined in src/pools/abstract-pool.ts:169
  • +
  • Defined in src/pools/abstract-pool.ts:159
    • @@ -448,7 +450,7 @@ Can be overridden.

      Returns undefined | number

    +
  • Defined in src/pools/abstract-pool.ts:164
  • +
  • Defined in src/pools/abstract-pool.ts:480
    • @@ -482,7 +484,7 @@ Can be overridden.

      Returns Promise<Response>

    +
  • Defined in src/pools/abstract-pool.ts:315
  • +
  • Defined in src/pools/abstract-pool.ts:189
  • +
  • Defined in src/pools/thread/fixed.ts:44
    • @@ -536,7 +538,7 @@ Can be overridden.

      Returns void

    +
  • Defined in src/pools/thread/fixed.ts:65
  • +
  • Defined in src/pools/abstract-pool.ts:277
  • +
  • Defined in src/pools/thread/fixed.ts:57
  • +
  • Defined in src/pools/abstract-pool.ts:174
    • @@ -600,7 +602,7 @@ to run code before workers are created in the abstract constructor.

      Returns void

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

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:368
  • @@ -20,10 +22,6 @@ it will send a termination request to its main thread.

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

    -

    Template

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

    - -

    Template

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

    -

    Author

    Alessandro Pio Ardizio

    Since

    0.0.1

    @@ -32,17 +30,21 @@ but the minimum number of workers will be guaranteed.

    Type Parameters

    • -

      Data = unknown

    • +

      Data = unknown

      +

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

      +
    • -

      Response = unknown

    +

    Response = unknown

    +

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

    +

    Hierarchy

      -
    • AbstractWorker<MessagePort, Data, Response> +
    • AbstractWorker<MessagePort, Data, Response>
      • ThreadWorker
    +
  • Defined in src/worker/thread-worker.ts:21
  • @@ -114,9 +116,9 @@ but the minimum number of workers will be guaranteed.

    Options for the worker.

    Returns ThreadWorker<Data, Response>

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

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

    aliveInterval?: Timeout

    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 | MessagePort
    +
  • Defined in src/worker/abstract-worker.ts:49
  • Options for the worker.

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

    @@ -160,13 +162,13 @@ but the minimum number of workers will be guaranteed.

    Returns

    The unique asyncId assigned to the resource.

    Returns number

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

      The returned function will have an asyncResource property referencing @@ -186,8 +188,8 @@ the AsyncResource to which the function is bound.

      fn: Func

      The function to bind to the current AsyncResource.

    -

    Returns Func & { asyncResource: AsyncResource }

      @@ -214,7 +216,7 @@ never be called.

      Returns

      A reference to asyncResource.

      Returns ThreadWorker<Data, Response>

    @@ -227,9 +229,9 @@ never be called.

    Returns

    Reference to the main worker.

    Returns MessagePort

    +
  • Defined in src/worker/abstract-worker.ts:127
    • @@ -247,9 +249,9 @@ never be called.

      The error raised by the worker.

    Returns string

    +
  • Defined in src/worker/abstract-worker.ts:159
    • @@ -274,9 +276,9 @@ never be called.

      data: Data

    Returns Response

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:81
    • @@ -307,9 +309,9 @@ never be called.

      Input data for the given function.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:169
    • @@ -340,9 +342,9 @@ never be called.

      Input data for the given function.

    Returns void

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

      Optional arguments to pass to the function.

    Returns Result

    @@ -399,19 +401,17 @@ then restore the original execution context.

    • -

      Sends a message to the main worker.

      -
      +
      +

      Inherit Doc

      Parameters

      • -
        message: MessageValue<Response, unknown>
        -

        The response message.

        -
      +
      message: MessageValue<Response, unknown>

    Returns void

    +
  • Defined in src/worker/thread-worker.ts:36
    • @@ -421,13 +421,13 @@ then restore the original execution context.

      Returns

      The same triggerAsyncId that is passed to the AsyncResource constructor.

      Returns number

      - +
    • Binds the given function to the current execution context.

      The returned function will have an asyncResource property referencing @@ -455,8 +455,8 @@ the AsyncResource to which the function is bound.

    • Optional thisArg: ThisArg
    -

    Returns Func & { asyncResource: AsyncResource }

    +
    +
    @@ -23,7 +25,7 @@
    • ClusterPoolOptions
    +
  • Defined in src/pools/cluster/fixed.ts:11
  • @@ -51,7 +53,7 @@
    +
  • Defined in src/pools/pool.ts:44
  • env?: any
    @@ -60,7 +62,7 @@

    See

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

    +
  • Defined in src/pools/cluster/fixed.ts:18
  • errorHandler?: ErrorHandler<Worker>
    @@ -68,7 +70,7 @@
    +
  • Defined in src/pools/pool.ts:26
  • exitHandler?: ExitHandler<Worker>
    @@ -76,7 +78,7 @@
    +
  • Defined in src/pools/pool.ts:34
  • messageHandler?: MessageHandler<Worker>
    @@ -84,7 +86,7 @@
    +
  • Defined in src/pools/pool.ts:22
  • onlineHandler?: OnlineHandler<Worker>
    @@ -92,7 +94,7 @@
    +
  • Defined in src/pools/pool.ts:30
  • settings?: ClusterSettings
    @@ -101,7 +103,7 @@

    See

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

    +
  • Defined in src/pools/cluster/fixed.ts:24
  • workerChoiceStrategy?: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
    @@ -109,7 +111,7 @@
    +
  • Defined in src/pools/pool.ts:38
  • @@ -32,22 +34,39 @@
    • IPool
    +
  • Defined in src/pools/pool.ts:53
  • +

    Properties

    +
    +

    Methods

    +

    Properties

    +
    + +
    emitter?: PoolEmitter
    +

    Emitter on which events can be listened to.

    +

    Events that can currently be listened to:

    +
      +
    • 'busy'
    • +
    +
    +

    Methods

    - +
    • @@ -55,7 +74,7 @@

    Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:72
    • @@ -74,7 +93,7 @@

    Returns Promise<Response>

    +
  • Defined in src/pools/pool.ts:68
    • @@ -91,7 +110,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:78
  • diff --git a/docs/interfaces/IPoolWorker.html b/docs/interfaces/IPoolWorker.html deleted file mode 100644 index 7f1fdc17..00000000 --- a/docs/interfaces/IPoolWorker.html +++ /dev/null @@ -1,162 +0,0 @@ -IPoolWorker | poolifier
    -
    - -
    -
    -
    -
    - -

    Interface IPoolWorker

    -
    -

    Interface that describes the minimum required implementation of listener events for a pool worker.

    -
    -
    -

    Hierarchy

    -
      -
    • IPoolWorker
    -
    -
    -
    - -
    -
    -

    Methods

    -
    on -once -
    -
    -

    Methods

    -
    - -
    -
    - -
    -
    -
    -

    Generated using TypeDoc

    -
    \ No newline at end of file diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 9c136921..7cdb0c56 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,11 +1,13 @@ PoolOptions | poolifier
    -
    +
  • The search index is not available
  • poolifier +
    @@ -28,7 +30,7 @@ +
  • Defined in src/pools/pool.ts:18
  • @@ -53,42 +55,42 @@

    Default

    true

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

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

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

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

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

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

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

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

    +
  • Defined in src/pools/pool.ts:30
  • 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:38
  • @@ -21,7 +23,7 @@
    • WorkerOptions
    +
  • Defined in src/worker/worker-options.ts:38
  • @@ -43,7 +45,7 @@

    Default

    false

    +
  • Defined in src/worker/worker-options.ts:57
  • killBehavior?: "SOFT" | "HARD"
    @@ -57,7 +59,7 @@

    Default

    KillBehaviors.SOFT

    +
  • Defined in src/worker/worker-options.ts:68
  • maxInactiveTime?: number
    @@ -73,7 +75,7 @@ when this timeout expires your tasks is interrupted and the worker is killed if

    Default

    60000 ms

    +
  • Defined in src/worker/worker-options.ts:51
  • @@ -37,7 +39,7 @@
    e: Error

    Returns void

    +
  • Defined in src/pools/pool-worker.ts:9
  • +
    @@ -37,7 +39,7 @@
    code: number

    Returns void

    +
  • Defined in src/pools/pool-worker.ts:19
  • +
    @@ -17,7 +19,7 @@

    Kill behavior.

    +
  • Defined in src/worker/worker-options.ts:18
  • +
    @@ -37,7 +39,7 @@
    m: unknown

    Returns void

    +
  • Defined in src/pools/pool-worker.ts:4
  • +
    @@ -35,7 +37,7 @@
    this: Worker

    Returns void

    +
  • Defined in src/pools/pool-worker.ts:14
  • +
    @@ -17,7 +19,7 @@

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

    +
  • Defined in src/pools/thread/fixed.ts:10
  • +
    +
    @@ -13,11 +15,11 @@
  • poolifier
  • KillBehaviors
  • Variable KillBehaviorsConst

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

    Enumeration of kill behaviors.

    +
  • Defined in src/worker/worker-options.ts:4
  • +
    @@ -13,11 +15,11 @@
  • poolifier
  • WorkerChoiceStrategies
  • Variable WorkerChoiceStrategiesConst

    -
    WorkerChoiceStrategies: Readonly<{ FAIR_SHARE: "FAIR_SHARE"; LESS_RECENTLY_USED: "LESS_RECENTLY_USED"; ROUND_ROBIN: "ROUND_ROBIN"; WEIGHTED_ROUND_ROBIN: "WEIGHTED_ROUND_ROBIN" }> = ...
    +
    WorkerChoiceStrategies: Readonly<{
        FAIR_SHARE: "FAIR_SHARE";
        LESS_RECENTLY_USED: "LESS_RECENTLY_USED";
        ROUND_ROBIN: "ROUND_ROBIN";
        WEIGHTED_ROUND_ROBIN: "WEIGHTED_ROUND_ROBIN";
    }> = ...

    Enumeration of worker choice strategies.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:6