X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=54e9c651051cd5757367659d42ecbee076778d3b;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=22b41b087efd60e7a76e3644a9a0d0e0e9b75e39;hpb=6d59ea2c71b8a88d41498c6fb54dfad95fd3a3ac;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 22b41b08..54e9c651 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -14,7 +14,7 @@
-Internal
Internal
Optional
Readonly
dataTask input data that will be passed to the worker.
Optional
Readonly
idOptional
Readonly
killOptional
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
@@ -56,23 +51,24 @@ id? kill? name? -parent? +started? statistics? task Error?
task Performance?
timestamp?
+worker Id?