X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=f36a76f83b1b98b4701af54744c4ef4581c34c02;hb=3abeb14de6a5845deeb027ccc69c3feeec8f4a3a;hp=7eea515565d6cc48dfe6d446c2b0b7a4ab79c89f;hpb=6be0ab6d5c78c8e91cc4668d3d03db95f15cbfab;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 7eea5155..f36a76f8 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,4 +1,4 @@ -
Internal
Internal
Optional
Readonly
nameOptional
Readonly
parentReference to main worker.
+Optional
Readonly
startedWhether the worker has started or not.
Optional
Readonly
statisticsWhether to compute the given statistics or not.
+Whether the worker computes the given statistics or not.
Optional
Readonly
taskTask error.
Optional
Readonly
taskOptional
Readonly
timestampOptional
Readonly
workerWorker id.
+Generated using TypeDoc
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
@@ -53,26 +48,36 @@
data?
+dynamic?
id?
kill?
name?
-parent?
+started?
statistics?
task Error?
task Performance?
timestamp?
+worker Id?
Properties
Properties
-Optional
Readonly
dataTask input data that will be passed to the worker.
+Optional
Readonly
dynamicWhether the worker is dynamic or not.
+Optional
Readonly
idOptional
Readonly
kill