X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FMessageValue.html;h=6883c713fe3eccaa67e39eb50173ca23b45ee027;hb=dad366a5c6102e742938c03d9d56ec45f3397612;hp=3f612975f354af3f49bd21e762b7227701660228;hpb=afa30fd0dd5bbc5d305cc30be663966a449efc08;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 3f612975..6883c713 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.
+ Function
+Optional
Readonly
taskTask function serialized to string.
-Optional
Readonly
parentReference to main worker.
+ Function Name
+Optional
Readonly
taskTask function name.
Time
-Optional
Readonly
runRuntime.
+ Function Names
+Optional
Readonly
taskTask function names.
-Optional
Readonly
statisticsWhether to compute the given statistics or not.
+ 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
timestamp Time
-Optional
Readonly
waitWait time.
+ List
+Optional
Readonly
transferArray of transferable objects.
+ Error
+Optional
Readonly
workerWorker error.
+ Id
+Optional
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
Function
+- task
Function Name
+- task
Function Names
+- task
Function Operation
+- task
Function Operation Status
+- task
Id
+- task
Performance
- timestamp
-- wait
Time
Generated using TypeDoc
Generated using TypeDoc