X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=522e65f69520c1a9821a11bb92edaef0dc01657d;hb=0b4e655ca22daa4e6efc10d4ef575520a3abfa2c;hp=2550f316d1e0787f7d8c0b224e1a71d19f4c37dd;hpb=fddf9cc424b3ace38fd414899c666c76a03c3aff;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 2550f316..c5e89d51 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,13 +1,13 @@ -Task | poolifier
+Task | poolifier - v2.6.45
-
+
  • The search index is not available
  • poolifier - v2.6.45 +
    @@ -24,7 +24,7 @@
    • Data = unknown

      -

      Type of data sent to the worker. This can only be serializable data.

      +

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

    @@ -34,37 +34,31 @@
    +
  • 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
    @@ -72,7 +66,15 @@
    +
  • Defined in src/utility-types.ts:79
  • +
    + +
    taskId?: string
    +

    Task UUID.

    +
    +
    timestamp?: number
    @@ -80,20 +82,36 @@
    +
  • Defined in src/utility-types.ts:91
  • +
    + +
    transferList?: TransferListItem[]
    +

    Array of transferable objects.

    +
    +
    +
    + +
    workerId: number
    +

    Worker id.

    +
    +
    @@ -101,59 +119,36 @@
    +
  • taskId
  • +
  • timestamp
  • +
  • transferList
  • +
  • workerId
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file