X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=b2bacebf97362f3cfde31d34438ab11987968391;hb=66fc6ae43f2e7a308cdba9d5038d07cf49b9cda4;hp=219826f261c4df1c99c5a2e04411ddd7024d4428;hpb=67a6f2fa4500ca41675aaec32730093d312a351d;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 219826f2..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,110 +17,138 @@

    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
    +
    + +
    data?: Data

    Task input data that will be passed to the worker.

    -
    +
    -
    - -
    id?: string
    -

    UUID of the message.

    -
    +
    + +
    name?: string
    +

    Task name.

    +
    +
    +
  • Defined in src/utility-types.ts:79
  • +
    + +
    taskId?: string
    +

    Task UUID.

    +
    +
    +
    + +
    timestamp?: number
    +

    Timestamp.

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

    Array of transferable objects.

    +
    +
    +
    + +
    workerId?: number
    +

    Worker id.

    +
    +
    +

    Theme

    -

    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