X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=5da3b49a168bf80858bff4b5af42caf8d721d163;hb=5ca8a250be7ec77da7a80f5ea3b7a9ef6ba2530a;hp=fd384c070f8d7ab28538639ff5547905e615d882;hpb=c90257c0b2d2c8ebdc6abbee02361cc2ddae36b9;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index fd384c07..5da3b49a 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,192 +1,13 @@ -Task | poolifier - v2.6.30
-
- -
-
-
-
- -

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? +Task | poolifier - v3.1.21

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.

-
-
-
- -
workerId: number
-

Worker id.

-
-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file +

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