X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FTask.html;h=d3ffcd70e2289d96ded814f40e273a83a2e9320b;hb=a8aeac440fb425585a0d597af86f616e648ae156;hp=cf097693738ec9187ed7e2369c8b87fbdd279e9f;hpb=d6b93f1ae5603949390418b787e0ad51b026f9c5;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index cf097693..d3ffcd70 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -16,7 +16,7 @@
Internal
Worker task interface.
+Message object that is passed as a task between main worker and worker.
Type Parameters
@@ -28,9 +28,11 @@Hierarchy
-- Task
@@ -38,25 +40,25 @@
data
-id
+data?
+id?
-data: Data
-data?: Data
+
+Defined in src/pools/worker.ts:42
-id: string
-id?: string
+
+Defined in src/pools/worker.ts:46
Properties
-Properties
data
-Worker task data.
+
+Optional
Readonly
dataInput data that will be passed to the worker.
id
-Task UUID.
+
+Optional
Readonly
idUUID of the message.