X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=1db04da634f0e49082339211b1fe316d79c12023;hb=e9fc6983e78e6e1ca6b29c5390ae66320cdf668a;hp=184178349969ad78a8671e67667f70b4e78d9946;hpb=b4e93467358d93166716dc6e5075d58c18c961c7;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 18417834..1db04da6 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,13 +1,13 @@ -Task | poolifier - v3.0.6

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

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