@@ -47,7 +47,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/cluster-worker.ts:21
@@ -125,7 +125,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/cluster-worker.ts:31
Protected
Readonly
isMain
isMain: boolean
@@ -145,7 +145,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/abstract-worker.ts:75
Protected
lastTaskTimestamp
lastTaskTimestamp: number
@@ -154,7 +154,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/abstract-worker.ts:55
Protected
Readonly
mainWorker
mainWorker: Worker
@@ -163,7 +163,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/abstract-worker.ts:79
Protected
Readonly
opts
@@ -172,7 +172,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/abstract-worker.ts:80
Protected
statistics
@@ -181,7 +181,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/abstract-worker.ts:59
Protected
taskFunctions
@@ -190,7 +190,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/abstract-worker.ts:51
Accessors
@@ -204,7 +204,7 @@ but the minimum number of workers will be guaranteed.
+
Defined in src/worker/cluster-worker.ts:47
Methods
@@ -239,7 +239,7 @@ If a task function with the same name already exists, it is replaced.
Runs the given function asynchronously.
+Runs the given task function asynchronously.
Parameters
@@ -444,7 +444,7 @@ never be called. +run In Async Scope
@@ -505,7 +505,7 @@ then restore the original execution context.- run
Sync(fn, task): void
-
-
- Defined in src/worker/abstract-worker.ts:388
To Main Worker
+- Defined in src/worker/cluster-worker.ts:52
+- Defined in src/worker/abstract-worker.ts:243
+- Defined in src/worker/abstract-worker.ts:301
Runs the given function synchronously.
+Runs the given task function synchronously.
Parameters
@@ -524,7 +524,7 @@ then restore the original execution context. +Protected
send@@ -544,7 +544,7 @@ then restore the original execution context.
set Default Task Function
@@ -571,7 +571,7 @@ then restore the original execution context.
trigger Async Id
@@ -594,7 +594,7 @@ then restore the original execution context.
Static
bind@@ -678,7 +678,7 @@ then restore the original execution context.- worker
Ready
- bind