X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FTask.html;h=d3ffcd70e2289d96ded814f40e273a83a2e9320b;hb=a8aeac440fb425585a0d597af86f616e648ae156;hp=cf097693738ec9187ed7e2369c8b87fbdd279e9f;hpb=d6b93f1ae5603949390418b787e0ad51b026f9c5;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index cf097693..d3ffcd70 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
    +

    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