X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=b8b5610dffdea59854d65237a79d3812154377a0;hb=66fc6ae43f2e7a308cdba9d5038d07cf49b9cda4;hp=5f7c406d80d4023d33bc3b79e8e2eb995bb19d81;hpb=004a8816ae9b52388de246a9c7a5184a73915ad6;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 5f7c406d..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 +
    @@ -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,60 +119,36 @@
    +
  • taskId
  • +
  • timestamp
  • +
  • transferList
  • +
  • workerId
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file