X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FMessageValue.html;h=bc45386feac689ecacbddca69ca60e6d155fe8eb;hb=85553181aa07b458e1ad65f6991ce27d5e3fc4ac;hp=1cc063bec19077809a1a2550026792d4b72edf5f;hpb=aba8d9bd41f1bd46f3cc3863c0c2e74bdfacb7b6;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 1cc063be..bc45386f 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,20 +1,20 @@ -
Internal
Internal
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Message object that is passed between main worker and worker.
Type Parameters
MessageData = unknown
-Type of data sent to and/or from the worker. This can only be serializable data.
-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.
Hierarchy
-- Task<MessageData>
+
- Task<Data>
- MessageValue
-
+Index
Index
Properties
-Properties
-
-Optional
Readonly
dataTask input data that will be passed to the worker.
+ Active
+Optional
Readonly
checkWhether the worker starts or stops its activity check.
-Optional
Readonly
idMessage UUID.
+
+Optional
Readonly
dataTask input data that will be passed to the worker.
-Optional
Readonly
killKill code.
Optional
Readonly
name
-Optional
Readonly
parentReference to main worker.
+
+Optional
Readonly
portMessage port.
+Optional
Readonly
readyWhether the worker is ready or not.
+Optional
Readonly
statisticsWhether to compute the given statistics or not.
+Whether the worker computes the given statistics or not.
+ Function
+Optional
Readonly
taskTask function serialized to string.
Error
-Optional
Readonly
taskTask error.
+ 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.
+Optional
Readonly
taskOptional
Readonly
timestamp 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
-- id
- kill
- name
-- parent
+- port
+- ready
- statistics
-- task
Error
+- task
Function
+- task
Function Name
+- task
Function Names
+- task
Function Operation
+- task
Function Operation Status
+- task
Id
- task
Performance
-- timestamp