X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=cb43147ab2dd8f257ca30184a160bffcbe0640d1;hb=b9f66dae32dbfe46e83c7a498c133855fc6af2a2;hp=0939716b74dbc2a18495a91607ebb65e78e58962;hpb=f8350486e75b15ed17249cda3d0a55ee807a6a9f;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 0939716b..cb43147a 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,13 +1,13 @@ -Task | poolifier
+Task | poolifier - v3.0.0
-
+
  • The search index is not available
  • poolifier - v3.0.0 +
    @@ -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
  • +
  • data
  • +
  • name
  • +
  • taskId
  • +
  • timestamp
  • +
  • transferList
  • +
  • workerId
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file