X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractWorker.html;h=5cc8e0aecda9b7b5ed585700580039d62423dbdd;hb=004a8816ae9b52388de246a9c7a5184a73915ad6;hp=c4da792dfd210020c6d059c52cf65adc5eb494aa;hpb=15d6dfaf877ec6a99e2bde48cb3c8a9e8671c075;p=poolifier.git
diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html
index c4da792d..5cc8e0ae 100644
--- a/docs/classes/AbstractWorker.html
+++ b/docs/classes/AbstractWorker.html
@@ -47,7 +47,7 @@
ClusterWorker
ThreadWorker
+Defined in src/worker/abstract-worker.ts:40
Protected
Readonly
isMain
isMain: boolean
@@ -153,7 +156,7 @@
+Defined in src/worker/abstract-worker.ts:72
Protected
lastTaskTimestamp
lastTaskTimestamp: number
@@ -161,7 +164,7 @@
+Defined in src/worker/abstract-worker.ts:52
Protected
mainWorker
mainWorker: undefined | null | MainWorker
@@ -169,7 +172,7 @@
+Defined in src/worker/abstract-worker.ts:76
Protected
Readonly
opts
@@ -177,7 +180,15 @@
+Defined in src/worker/abstract-worker.ts:77
+
+Protected
statistics
+statistics: WorkerStatistics
+
+
Protected
taskFunctions
@@ -185,7 +196,7 @@
+Defined in src/worker/abstract-worker.ts:48
Methods
@@ -199,6 +210,19 @@
Inherited from AsyncResource.asyncId
- Defined in node_modules/.pnpm/@types+node@20.2.5/node_modules/@types/node/async_hooks.d.ts:306
+
+Private
beginTaskPerformance
+
+- beginTaskPerformance(message): TaskPerformance
+-
+
+
Returns TaskPerformance
bind
@@ -236,7 +260,7 @@
Returns void
+Defined in src/worker/abstract-worker.ts:199
Private
checkTaskFunctions
@@ -255,7 +279,7 @@
Returns void
+Defined in src/worker/abstract-worker.ts:115
Private
checkWorkerOptions
Returns void
+Defined in src/worker/abstract-worker.ts:103
+
+Private
endTaskPerformance
+
+- endTaskPerformance(taskPerformance): TaskPerformance
+-
+
+
Parameters
+
+-
+
taskPerformance: TaskPerformance
+Returns TaskPerformance
Protected
getMainWorker
@@ -296,7 +333,7 @@ never be called.
+Defined in src/worker/abstract-worker.ts:182
Private
getTaskFunction
@@ -315,7 +352,7 @@ never be called.
+Defined in src/worker/abstract-worker.ts:295
Protected
handleError
@@ -335,7 +372,7 @@ never be called.
+Defined in src/worker/abstract-worker.ts:214
Protected
messageListener
@@ -354,7 +391,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:155
Protected
runAsync
@@ -378,7 +415,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:258
runInAsyncScope
@@ -457,7 +494,7 @@ then restore the original execution context.
Returns void
+Defined in src/worker/abstract-worker.ts:224
Protected
Abstract
sendToMainWorker
@@ -476,7 +513,7 @@ then restore the original execution context.
Returns void
+Defined in src/worker/abstract-worker.ts:194
Performance statistics computation.
+