X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FThreadWorker.html;h=a425fbf372a4d2c9a8a4beaaad647aa440c335c1;hb=fb8fbcfd7983c1eadc39411c9b29054e6fa97d5b;hp=21ec83ec77e142c84ca9b1417a00d70dbf7dafb9;hpb=c65efde664ab9e4dcd2ed9e827d8171e7e081359;p=poolifier.git diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html index 21ec83ec..a425fbf3 100644 --- a/docs/classes/ThreadWorker.html +++ b/docs/classes/ThreadWorker.html @@ -1,4 +1,4 @@ -ThreadWorker | poolifier - v2.6.24
+ThreadWorker | poolifier - v2.6.28
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.24
+
  • The search index is not available
  • poolifier - v2.6.28
    @@ -47,7 +47,7 @@ but the minimum number of workers will be guaranteed.

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

    runAsync runInAsyncScope runSync +sendTaskFunctionsListToMainWorker sendToMainWorker setDefaultTaskFunction triggerAsyncId @@ -127,7 +128,7 @@ but the minimum number of workers will be guaranteed.

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

    @@ -138,7 +139,7 @@ but the minimum number of workers will be guaranteed.

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

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

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

    +
  • Defined in src/worker/abstract-worker.ts:78
  • port: MessagePort
    @@ -173,7 +174,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/thread-worker.ts:33
  • statistics: WorkerStatistics
    @@ -182,7 +183,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:59
  • taskFunctions: Map<string, TaskFunction<Data, Response>>
    @@ -191,7 +192,7 @@ but the minimum number of workers will be guaranteed.

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

    @@ -205,7 +206,7 @@ but the minimum number of workers will be guaranteed.

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

    @@ -232,7 +233,7 @@ If a task function with the same name already exists, it is replaced.

    Returns boolean

    Whether the task function was added or not.

    -

    Throws

    https://nodejs.org/api/errors.html#class-typeerror If the name parameter is not a string.

    +

    Throws

    https://nodejs.org/api/errors.html#class-typeerror If the name parameter is not a string or an empty string.

    Throws

    https://nodejs.org/api/errors.html#class-error If the name parameter is the default task function reserved name.

    @@ -240,7 +241,7 @@ If a task function with the same name already exists, it is replaced.

    +
  • Defined in src/worker/abstract-worker.ts:195
    • @@ -251,7 +252,7 @@ If a task function with the same name already exists, it is replaced.

    +
  • Defined in node_modules/.pnpm/@types+node@20.5.0/node_modules/@types/node/async_hooks.d.ts:306
    • @@ -278,7 +279,7 @@ If a task function with the same name already exists, it is replaced.

    +
  • 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:424
  • +
  • Defined in src/worker/thread-worker.ts:89
  • +
  • Defined in src/worker/thread-worker.ts:72
  • +
  • Defined in src/worker/thread-worker.ts:54
  • +
  • Defined in src/worker/abstract-worker.ts:174
  • +
  • Defined in src/worker/abstract-worker.ts:267
  • +
  • Defined in src/worker/abstract-worker.ts:320
  • +
  • Defined in src/worker/abstract-worker.ts:238
  • +
  • Defined in src/worker/abstract-worker.ts:466
  • +
  • Defined in src/worker/abstract-worker.ts:518
  • +
  • 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:481
  • +
    + +
    +
  • Defined in src/worker/thread-worker.ts:84
  • +
  • Defined in src/worker/abstract-worker.ts:280
  • +
  • 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