X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FMessageValue.html;h=e7d99c08e2a1b7775f6543caa0e94c0ae668c71c;hb=2de80350c43436f87fca7de401d213c0d93fe208;hp=e56240d2b3fd08208730519bd1074b32d75e65d3;hpb=004a8816ae9b52388de246a9c7a5184a73915ad6;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index e56240d2..e7d99c08 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