X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=b8b5610dffdea59854d65237a79d3812154377a0;hb=66fc6ae43f2e7a308cdba9d5038d07cf49b9cda4;hp=1f6e863ce44a60a1338a6562a4dae4724b5d80ef;hpb=184d530faf6acf70e116cb4a3fb831938b73e2c0;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 1f6e863c..3c7018c3 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,13 +1,13 @@ -Task | poolifier
+Task | poolifier - v2.7.5
-
+
  • The search index is not available
  • poolifier - v2.7.5 +
    @@ -17,14 +17,16 @@

    Interface Task<Data>Internal

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

    -
    +
    +

    Type Parameters

    +

    Type of data sent to the worker. This can only be structured-cloneable data.

    +
    +

    Hierarchy

    +
  • Defined in src/utility-types.ts:71
  • - +

    Properties

    - +
    data?: Data

    Task input data that will be passed to the worker.

    -
    +
    -
    - -
    id?: string
    -

    Message UUID.

    -
    +
  • Defined in src/utility-types.ts:83
  • - +
    name?: string

    Task name.

    -
    +
    + +
    taskId?: string
    +

    Task UUID.

    +
    +
    +
    + +
    timestamp?: number
    +

    Timestamp.

    +
    +
    +
    + +
    transferList?: TransferListItem[]
    +

    Array of transferable objects.

    +
    +
    -
    - -
    submissionTimestamp?: number
    -

    Submission timestamp.

    -
    +
    + +
    workerId?: number
    +

    Worker id.

    +
    +
    +
  • Defined in src/utility-types.ts:75
  • -

    On This Page

    +

    On This Page

    +
  • data
  • +
  • name
  • +
  • taskId
  • +
  • timestamp
  • +
  • transferList
  • +
  • workerId
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file