X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=c2de721742bc28d1b70dd5d6df903ccd99874250;hb=761b0c73be0bf581f50a78123913f933bd405f52;hp=75ff7d0018581938f837c900b5f63e147c98a2d0;hpb=d6b93f1ae5603949390418b787e0ad51b026f9c5;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 75ff7d00..c2de7217 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -14,9 +14,9 @@
-Internal
Message object that is passed between worker and main worker.
+Message object that is passed between main worker and worker.
Type Parameters
@@ -32,9 +32,11 @@Hierarchy
-- MessageValue
@@ -42,58 +44,59 @@
data?
+data?
error?
-id?
+id?
kill?
parent?
run Time?
+
data?: Data
-
+Defined in src/pools/worker.ts:42
error?: string
-
+Defined in src/utility-types.ts:31
+
id?: string
-
+Defined in src/pools/worker.ts:46
kill?: 1 | "SOFT" | "HARD"
+Defined in src/utility-types.ts:27
-
parent?: MainWorker
+Defined in src/utility-types.ts:39
Time
run Time?: number
+Defined in src/utility-types.ts:35
@@ -113,9 +116,9 @@
@@ -156,7 +159,10 @@
Online Handler
Pool Event
Thread Worker With Message Channel
+Worker Async Function
Worker Choice Strategy
+Worker Function
+Worker Sync Function
Kill Behaviors
Pool Events
Worker Choice Strategies
Properties
-Properties
-Optional
Readonly
dataInput data that will be passed to the worker.
+Task input data that will be passed to the worker.
Optional
Readonly
errorError.
Optional
Readonly
idId of the message.
+UUID of the message.
Optional
Readonly
killKill code.
+Optional
Readonly
Internal
parentOptional
Readonly
parentReference to main worker.
-Only for internal use.
Optional
Readonly
runRuntime.
On This Page
-- data
+- data
- error
-- id
+- id
- kill
- parent
- run
Time