X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=b2bacebf97362f3cfde31d34438ab11987968391;hb=66fc6ae43f2e7a308cdba9d5038d07cf49b9cda4;hp=db50344064bbb7aa09eab88f3847c2549c1a5c11;hpb=d49303bcd1dc86f36030dff08796f869681d4eae;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index db503440..3c7018c3 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,121 +1,154 @@ -Task | poolifier
+Task | poolifier - v2.7.5
-
+
  • The search index is not available
  • poolifier - v2.7.5 +
    -

    Interface Task<Data>

    +

    Interface Task<Data>Internal

    -

    Worker task interface.

    -
    -
    +

    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
    -

    Worker task data.

    -
    +
    + +
    taskId?: string

    Task UUID.

    -
    +
    +
    + +
    timestamp?: number
    +

    Timestamp.

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

    Array of transferable objects.

    +
    +
    +
    + +
    workerId?: number
    +

    Worker id.

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

    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