X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FTask.html;h=51b28d6a058d7a6398c77ef9c4b4d33e91c3204c;hb=30d7f6e094a9b837fd85c74ef23188ab28e86644;hp=22d8f73b90954d96ce0422f9b089c13a57cb99cd;hpb=3fca3a00e737361a87f923cc85fc027cd06e347d;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 22d8f73b..51b28d6a 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,13 +1,13 @@ -Task | poolifier - v3.1.7

Interface Task<Data>Internal

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

+Task | poolifier - v3.1.8

Interface Task<Data>Internal

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

interface Task {
    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

Properties

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.

-

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