X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=bcb651b0216b3f6dd17eab46fa345521844a2b0e;hb=ab03ecdd9c195574f19dbed3b36641229c24f723;hp=cf097693738ec9187ed7e2369c8b87fbdd279e9f;hpb=d6b93f1ae5603949390418b787e0ad51b026f9c5;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index cf097693..bcb651b0 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -16,7 +16,7 @@
  • Task
  • Interface Task<Data>Internal

    -

    Worker task interface.

    +

    Message object that is passed as a task between main worker and worker.

    Type Parameters

    @@ -28,9 +28,11 @@

    Hierarchy

    +
  • Defined in src/pools/worker.ts:38
  • @@ -38,25 +40,25 @@

    Properties

    -

    Properties

    - -
    data: Data
    -

    Worker task data.

    + +
    data?: Data
    +

    Task input data that will be passed to the worker.

    +
  • Defined in src/pools/worker.ts:42
  • - -
    id: string
    -

    Task UUID.

    + +
    id?: string
    +

    UUID of the message.

    +
  • Defined in src/pools/worker.ts:46