X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=472625ca471d808b0f00ed495008f0ded231c808;hb=61daa7116c6cd19b7e120f857a0d0427b83b7408;hp=1c99f70b2f2959f84bd40dd8882da0163493fc39;hpb=b8882b9d826a828a34eb8ba64b02a74b83db9a09;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 1c99f70b..472625ca 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,13 +1,13 @@ -Task | poolifier - v3.1.14

Interface Task<Data>Internal

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

+Task | poolifier - v3.1.20

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

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 +
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