X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=522e65f69520c1a9821a11bb92edaef0dc01657d;hb=0b4e655ca22daa4e6efc10d4ef575520a3abfa2c;hp=3cd68a4feeca262606b1e845e572afd8dac184e6;hpb=dde90273424a8c6dbfaddcc7e6a771623c521f2c;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 3cd68a4f..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 +
    @@ -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
    -

    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.

    +
    +
    -

    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