X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=4ea0c4df3fe0b3d71c7f0d51fa5677a6f66a2594;hb=42283971c52896a642fafa9fd351da3ef645b7f5;hp=ed771c4d329436c76c0e012c1e7d5ed3ed2583b2;hpb=9ad272eaf0cded8c7e70f1fe6f075c99f23619fa;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index ed771c4d..4ea0c4df 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,13 +1,13 @@ -Task | poolifier - v3.0.8

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.16

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 +

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