X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicThreadPool.html;h=4332af1394df411673cc8860c5bcfe4a1f85ca3f;hb=6c3ef3422f73f8d983b82c749959abd06b512e6f;hp=e82807a8b47c6d16f4552699c965f4adef005eca;hpb=c62a9bbc12416e26acbb3b86b5090d6186b14b60;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index e82807a8..4332af13 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -1,4 +1,4 @@ -DynamicThreadPool | poolifier - v2.6.20
+DynamicThreadPool | poolifier - v2.6.21
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.20
+
  • The search index is not available
  • poolifier - v2.6.21
    @@ -45,7 +45,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    • DynamicThreadPool
    +
  • Defined in src/pools/thread/dynamic.ts:15
  • @@ -147,7 +147,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:27
  • Properties

    @@ -166,7 +166,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:64
  • filePath: string
    @@ -175,7 +175,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:104
  • max: number
    @@ -183,7 +183,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:29
  • numberOfWorkers: number
    @@ -192,7 +192,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:103
  • @@ -201,7 +201,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/fixed.ts:48
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Response>> = ...
    @@ -215,7 +215,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:74
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -224,7 +224,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:80
  • workerNodes: IWorkerNode<Worker, Data>[] = []
    @@ -233,7 +233,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:61
  • Accessors

    @@ -248,7 +248,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:48
    • @@ -261,7 +261,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:606
    • @@ -273,7 +273,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:301
    • @@ -285,7 +285,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:43
    • @@ -297,7 +297,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/fixed.ts:130
    • @@ -309,7 +309,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:444
    • @@ -322,7 +322,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:38
    • @@ -335,19 +335,19 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:461
    • -
    • get worker(): "cluster" | "thread"
    • +
    • get worker(): "thread" | "cluster"
    • The worker type.

      -

      Returns "cluster" | "thread"

      +

      Returns "thread" | "cluster"

    +
  • Defined in src/pools/thread/fixed.ts:125
  • Methods

    @@ -375,7 +375,7 @@ Can be overridden.

    +
  • Defined in src/pools/abstract-pool.ts:722
  • +
  • Defined in src/pools/abstract-pool.ts:951
  • +
  • Defined in src/pools/abstract-pool.ts:701
  • +
  • Defined in src/pools/abstract-pool.ts:173
  • +
  • Defined in src/pools/abstract-pool.ts:900
  • +
  • Defined in src/pools/abstract-pool.ts:860
  • +
  • Defined in src/pools/thread/fixed.ts:112
  • +
  • Defined in src/pools/abstract-pool.ts:664
  • +
  • Defined in src/pools/thread/fixed.ts:59
  • +
  • Defined in src/pools/abstract-pool.ts:571
    • @@ -547,12 +547,12 @@ Can be overridden.

      • Optional data: Data
        -

        The task input data for the specified worker function. This can only be structured-cloneable data.

        +

        The task input data for the specified task function. This can only be structured-cloneable data.

      • Optional name: string
        -

        The name of the worker function to execute. If not specified, the default worker function will be executed.

        +

        The name of the task function to execute. If not specified, the default task function will be executed.

    Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    @@ -560,7 +560,7 @@ Can be overridden.

    +
  • Defined in src/pools/abstract-pool.ts:632
  • +
  • Defined in src/pools/abstract-pool.ts:1161
  • +
  • Defined in src/pools/abstract-pool.ts:1100
  • +
  • Defined in src/pools/abstract-pool.ts:622
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • +
  • Defined in src/pools/thread/fixed.ts:102
  • +
  • Defined in src/pools/thread/fixed.ts:86
  • +
  • Defined in src/pools/thread/fixed.ts:76
  • +
  • Defined in src/pools/abstract-pool.ts:583
  • +
  • Defined in src/pools/abstract-pool.ts:541
  • +
  • Defined in src/pools/abstract-pool.ts:560
  • +
  • Defined in src/pools/abstract-pool.ts:685
  • +
  • Defined in src/pools/abstract-pool.ts:1034