X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=d81db046821fd54e8602c97f4042e4522be93cbe;hb=refs%2Ftags%2Fv3.1.29;hp=942a16f4dde8833948cbd593c0c2c7ee56fc5526;hpb=8d98e603c79d8d00b2b6a33e5f732701a7466234;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 942a16f4..d81db046 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,153 +1,13 @@ -Task | poolifier
-
- -
-
-
-
- -

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 serializable data.

    -
-
-

Hierarchy

-
-
-
-
- -
-
-

Properties

-
-
-

Properties

-
- -
data?: Data
-

Task input data that will be passed to the worker.

-
-
- -
id?: string
-

Message UUID.

-
-
- -
name?: string
-

Task name.

-
-
- -
submissionTimestamp?: number
-

Submission timestamp.

-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +Task | poolifier - v3.1.28

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