X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=6a8693bf3650e1a06dabc22e5f92164c4875143c;hb=0e502832d98443e291ea5558423ca0de86b96e13;hp=3f612975f354af3f49bd21e762b7227701660228;hpb=afa30fd0dd5bbc5d305cc30be663966a449efc08;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 3f612975..6a8693bf 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
eluEvent loop utilization.
+
+Optional
Readonly
killKill code.
-Optional
Readonly
errorTask error.
+
+Optional
Readonly
nameTask name.
Data
-Optional
Readonly
errorTask data triggering task error.
+
+Optional
Readonly
portMessage port.
-Optional
Readonly
idMessage UUID.
+
+Optional
Readonly
readyWhether the worker is ready or not.
-Optional
Readonly
killKill code.
+
+Optional
Readonly
statisticsWhether the worker computes the given statistics or not.
-Optional
Readonly
nameTask name.
+ Error
+Optional
Readonly
taskTask error.
-Optional
Readonly
parentReference to main worker.
+ Functions
+Optional
Readonly
taskTask function names.
Time
-Optional
Readonly
runRuntime.
+ Id
+Optional
Readonly
taskTask UUID.
-Optional
Readonly
statisticsWhether to compute the given statistics or not.
+ Performance
+Optional
Readonly
taskTask performance.
Optional
Readonly
timestamp Time
-Optional
Readonly
waitWait time.
+ List
+Optional
Readonly
transferArray of transferable objects.
+ Id
+Readonly
workerWorker id.
-
+Settings
Settings
Member Visibility
Theme
On This Page
+- check
Active
- data
-- elu
-- error
-- error
Data
-- id
- kill
- name
-- parent
-- run
Time
+- port
+- ready
- statistics
+- task
Error
+- task
Functions
+- task
Id
+- task
Performance
- timestamp
-- wait
Time
Generated using TypeDoc
Generated using TypeDoc