X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=4b8bfdc245ad9a215e312f96dc0629fb902e6601;hb=d3a9c958dcc326062e978f22d88747c00522032d;hp=49701c07c90382c945b6240294765f311bebc2f9;hpb=cf02ff9e146e22a2f99a6af35de7ce49efd4c6b5;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 49701c07..4b8bfdc2 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,154 +1,13 @@ -Task | poolifier - v2.7.4
-
- -
-
-
-
- -

Interface Task<Data>Internal

-
-

Message object that is passed as a task between main worker and worker.

-
-
-
-

Type Parameters

-
    -
  • -

    Data = unknown

    -

    Type of data sent to the worker. This can only be structured-cloneable data.

    -
    -
-
-

Hierarchy

-
-
-
-
- -
-
-

Properties

-
- -
data?: Data
-

Task input data that will be passed to the worker.

-
-
-
- -
name?: string
-

Task name.

-
-
-
- -
taskId?: string
-

Task UUID.

-
-
-
- -
timestamp?: number
-

Timestamp.

-
-
-
- -
transferList?: TransferListItem[]
-

Array of transferable objects.

-
-
-
- -
workerId?: number
-

Worker id.

-
-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +Task | poolifier - v3.1.29

Interface Task<Data>Internal

Message object that is passed as a task between main worker and worker.

+
interface Task<Data> {
    data?: Data;
    name?: string;
    taskId?: string;
    timestamp?: number;
    transferList?: TransferListItem[];
}

Type Parameters

  • Data = unknown

    Type of data sent to the worker. This can only be structured-cloneable data.

    +

Hierarchy (view full)

Properties

data?: Data

Task input data that will be passed to the worker.

+
name?: string

Task name.

+
taskId?: string

Task UUID.

+
timestamp?: number

Timestamp.

+
transferList?: TransferListItem[]

Array of transferable objects.

+

Generated using TypeDoc

\ No newline at end of file