X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=204a7b8b2c6b5c79dc99d2dcae1bfa1c343ab66e;hb=86de0a2d983a71579980758f52cf4c7f1c16abf8;hp=cb43147ab2dd8f257ca30184a160bffcbe0640d1;hpb=7ef6859d79e3a30918f2c53c898e94cd22104622;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index cb43147a..204a7b8b 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,154 +1,13 @@ -Task | poolifier - v3.0.0
-
- -
-
-
-
- -

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?: 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 +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.

+

Generated using TypeDoc

\ No newline at end of file