X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FThreadWorker.html;h=f413bcaa82576745c22786a76b3d76514df7fd4b;hb=0e16e60a89029abe61cda7ba293c036298cced05;hp=18f8afef0ea844bf397e87c5e68968ed837bf8e5;hpb=912e1dfaa2988c8337b3410e7acbaf859afd2212;p=poolifier.git diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html index 18f8afef..f413bcaa 100644 --- a/docs/classes/ThreadWorker.html +++ b/docs/classes/ThreadWorker.html @@ -1,4 +1,4 @@ -ThreadWorker | poolifier - v2.6.8
+ThreadWorker | poolifier - v2.6.26
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.8
+
  • The search index is not available
  • poolifier - v2.6.26
    @@ -47,7 +47,7 @@ but the minimum number of workers will be guaranteed.

    • ThreadWorker
    +
  • Defined in src/worker/thread-worker.ts:26
  • @@ -59,11 +59,11 @@ but the minimum number of workers will be guaranteed.

    Properties

    -
    @@ -73,17 +73,25 @@ but the minimum number of workers will be guaranteed.

    Methods

    -
    @@ -107,7 +115,7 @@ but the minimum number of workers will be guaranteed.

    Parameters

    +
  • Defined in src/worker/thread-worker.ts:40
  • Properties

    -
    - -
    aliveInterval?: Timeout
    -

    Handler id of the aliveInterval worker alive check.

    +
    + +
    activeInterval?: Timeout
    +

    Handler id of the activeInterval worker activity check.

    +
  • Defined in src/worker/abstract-worker.ts:63
  • isMain: boolean
    @@ -140,7 +148,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:75
  • lastTaskTimestamp: number
    @@ -149,16 +157,7 @@ but the minimum number of workers will be guaranteed.

    -
    - -
    mainWorker: MessagePort
    -

    Reference to main worker.

    -
    -
    +
  • Defined in src/worker/abstract-worker.ts:55
  • opts: WorkerOptions = ...
    @@ -167,7 +166,15 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:78
  • +
    + +
    port: MessagePort
    +

    Message port used to communicate with the main worker.

    +
    +
    statistics: WorkerStatistics
    @@ -176,16 +183,16 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:59
  • -
    taskFunctions: Map<string, WorkerFunction<Data, Response>>
    +
    taskFunctions: Map<string, TaskFunction<Data, Response>>

    Task function(s) processed by the worker when the pool's execution function is invoked.

    +
  • Defined in src/worker/abstract-worker.ts:51
  • Accessors

    @@ -199,9 +206,42 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/thread-worker.ts:75
  • Methods

    +
    + +
      @@ -212,7 +252,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in node_modules/.pnpm/@types+node@20.5.0/node_modules/@types/node/async_hooks.d.ts:306
  • -
    - -
    +
  • Defined in node_modules/.pnpm/@types+node@20.5.0/node_modules/@types/node/async_hooks.d.ts:283
  • +
  • Defined in node_modules/.pnpm/@types+node@20.5.0/node_modules/@types/node/async_hooks.d.ts:302
  • +
  • Defined in src/worker/abstract-worker.ts:415
  • +
  • Defined in src/worker/thread-worker.ts:85
  • +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
  • Defined in src/worker/abstract-worker.ts:320
  • +
    + +
    +
    + +
    +
  • Defined in src/worker/abstract-worker.ts:508
  • +
  • Defined in node_modules/.pnpm/@types+node@20.5.0/node_modules/@types/node/async_hooks.d.ts:294
  • +
  • Defined in src/worker/abstract-worker.ts:472
  • +
    + +
    +
  • Defined in src/worker/thread-worker.ts:80
  • +
    + +
    +
  • Defined in node_modules/.pnpm/@types+node@20.5.0/node_modules/@types/node/async_hooks.d.ts:311
  • +
  • Defined in node_modules/.pnpm/@types+node@20.5.0/node_modules/@types/node/async_hooks.d.ts:277