X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=fc0b329be166f01ac38d2cf527a2370710a1eb36;hb=1fc389b2220cdecd939aa0a5942345025f4f22ed;hp=ba77a3c678a11c07c438bc7a36b60edaf4454574;hpb=15d6dfaf877ec6a99e2bde48cb3c8a9e8671c075;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index ba77a3c6..fc0b329b 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,20 +1,20 @@ -
Internal
Internal
Message object that is passed between main worker and worker.
Data = unknown
-Type of data sent to the worker. This can only be serializable data.
+Type of data sent to the worker or execution response. This can only be structured-cloneable data.
MainWorker extends ClusterWorker | MessagePort = ClusterWorker | MessagePort
-Type of main worker.
+ErrorData = unknown
+Type of data sent to the worker triggering an error. This can only be structured-cloneable data.
-
+Index
Index
Properties
-Properties
+ Active
+Optional
Readonly
checkWhether the worker starts or stops its activity check.
+
+Optional
Readonly
dataOptional
Readonly
dataTask input data that will be passed to the worker.
-Optional
Readonly
errorTask error.
+
+Optional
Readonly
killKill code.
Data
-Optional
Readonly
errorTask data triggering task error.
+
+Optional
Readonly
nameTask name.
-Optional
Readonly
idMessage UUID.
+
+Optional
Readonly
portMessage port.
-Optional
Readonly
killKill code.
+
+Optional
Readonly
readyWhether the worker is ready or not.
-Optional
Readonly
nameTask name.
+
+Optional
Readonly
statisticsWhether the worker computes the given statistics or not.
+ Function
+Optional
Readonly
taskTask function serialized to string.
+ Function Name
+Optional
Readonly
taskTask function name.
+ Function Names
+Optional
Readonly
taskTask function names.
+ Function Operation
+Optional
Readonly
taskTask function operation:
++
+
+
+
+'add'
- Add a task function.'remove'
- Remove a task function.'default'
- Set a task function as default. Function Operation Status
+Optional
Readonly
taskWhether the task function operation is successful or not.
+ Id
+Optional
Readonly
taskTask UUID.
+ Performance
+Optional
Readonly
taskTask performance.
-Optional
Readonly
parentReference to main worker.
+
+Optional
Readonly
timestampTimestamp.
Time
-Optional
Readonly
runRuntime.
+ List
+Optional
Readonly
transferArray of transferable objects.
Timestamp
-Optional
Readonly
submissionSubmission timestamp.
+ Error
+Optional
Readonly
workerWorker error.
Time
-Optional
Readonly
waitWait time.
+ Id
+Optional
Readonly
workerWorker id.
-
+Settings
Settings
Member Visibility
Generated using TypeDoc
Generated using TypeDoc