X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FMessageValue.html;h=17bf1aedd169ef0238eb23e317c44f3fdd9948b1;hb=4608939f425568da5553db1f5bf883d4cca18e02;hp=09ae76d71435383cb4f20e5fcb04ede5e25e28a6;hpb=f05afd162e34836a52c48b05781750e3421424d8;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 09ae76d7..520d5e99 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.
Error
-Optional
Readonly
taskTask error.
Functions
+Optional
Readonly
taskTask function names.
+ Id
+Optional
Readonly
taskTask UUID.
+Optional
Readonly
taskOptional
Readonly
timestamp List
+Optional
Readonly
transferArray of transferable objects.
+ Id
+Readonly
workerWorker id.
+-
+Settings
Settings
Member Visibility
Theme
On This Page
+- check
Active
- data
-- id
- kill
- name
-- parent
+- port
+- ready
- statistics
- task
Error
+- task
Functions
+- task
Id
- task
Performance
-- timestamp