From: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 7 Apr 2023 12:51:59 +0000 (+0000) Subject: chore: generate documentation X-Git-Tag: v2.4.3~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=71a64eca52278c2396cf7cb6e6c53fce3704f5ab;p=poolifier.git chore: generate documentation --- diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index 8c0f1bf2..7fc56890 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -44,7 +44,7 @@ but the minimum number of workers will be guaranteed.

+
  • Defined in src/worker/cluster-worker.ts:21
  • @@ -119,7 +119,7 @@ but the minimum number of workers will be guaranteed.

    Returns ClusterWorker<Data, Response>

    +
  • Defined in src/worker/cluster-worker.ts:31
  • Properties

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

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

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

    +
  • Defined in src/worker/abstract-worker.ts:27
  • mainWorker: undefined | null | Worker
    @@ -153,7 +153,7 @@ but the minimum number of workers will be guaranteed.

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

    +
  • Defined in src/worker/abstract-worker.ts:35
  • Methods

    @@ -213,7 +213,7 @@ the AsyncResource to which the function is bound.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:143
  • +
  • Defined in src/worker/abstract-worker.ts:126
  • +
  • Defined in src/worker/cluster-worker.ts:47
  • +
  • Defined in src/worker/abstract-worker.ts:80
  • +
  • Defined in src/worker/abstract-worker.ts:168
  • +
  • Defined in src/worker/abstract-worker.ts:191
  • +
  • Defined in src/worker/cluster-worker.ts:42
  • +
  • Defined in src/pools/cluster/dynamic.ts:16
  • @@ -129,17 +129,17 @@ When the maximum number of workers is reached and workers are busy, an event is

    Returns DynamicClusterPool<Data, Response>

    +
  • Defined in src/pools/cluster/dynamic.ts:28
  • Properties

    emitter?: PoolEmitter
    -

    {@inheritDoc}

    -
    +
  • Defined in src/pools/abstract-pool.ts:32
  • filePath: string
    @@ -147,14 +147,14 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:67
  • max: number

    Maximum number of workers that can be created by this pool.

    +
  • Defined in src/pools/cluster/dynamic.ts:30
  • numberOfWorkers: number
    @@ -162,7 +162,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: ClusterPoolOptions = {}
    @@ -170,7 +170,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/fixed.ts:53
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -183,7 +183,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -192,15 +192,15 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<Worker>[] = []
    -

    {@inheritDoc}

    -
    +
  • Defined in src/pools/abstract-pool.ts:29
  • Accessors

    @@ -208,23 +208,23 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/dynamic.ts:48
  • +
  • Defined in src/pools/cluster/dynamic.ts:43
  • +
  • Defined in src/pools/abstract-pool.ts:163
  • +
  • Defined in src/pools/cluster/dynamic.ts:38
  • Methods

    @@ -271,14 +271,14 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:280
  • +
  • Defined in src/pools/cluster/fixed.ts:93
  • +
  • Defined in src/pools/abstract-pool.ts:269
  • +
  • Defined in src/pools/abstract-pool.ts:309
  • +
  • Defined in src/pools/abstract-pool.ts:355
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:233
  • +
  • Defined in src/pools/cluster/fixed.ts:69
  • +
  • Defined in src/pools/abstract-pool.ts:217
  • +
  • Defined in src/pools/abstract-pool.ts:210
  • +
  • Defined in src/pools/abstract-pool.ts:202
  • +
  • Defined in src/pools/cluster/fixed.ts:64
  • +
  • Defined in src/pools/abstract-pool.ts:478
  • +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:178
  • +
  • Defined in src/pools/cluster/fixed.ts:59
  • +
  • Defined in src/pools/abstract-pool.ts:384
  • +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: PoolOptions<ThreadWorkerWithMessageChannel>
    @@ -170,7 +170,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:68
  • promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -183,7 +183,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -192,15 +192,15 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<ThreadWorkerWithMessageChannel>[] = []
    -

    {@inheritDoc}

    -
    +
  • Defined in src/pools/abstract-pool.ts:29
  • Accessors

    @@ -208,23 +208,23 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:49
  • +
  • Defined in src/pools/thread/dynamic.ts:44
  • +
  • Defined in src/pools/abstract-pool.ts:163
  • +
  • Defined in src/pools/thread/dynamic.ts:39
  • Methods

    @@ -271,14 +271,14 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:280
  • +
  • Defined in src/pools/thread/fixed.ts:85
  • +
  • Defined in src/pools/abstract-pool.ts:269
  • +
  • Defined in src/pools/abstract-pool.ts:309
  • +
  • Defined in src/pools/abstract-pool.ts:355
  • +
  • Defined in src/pools/thread/fixed.ts:78
  • +
  • Defined in src/pools/abstract-pool.ts:233
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • +
  • Defined in src/pools/abstract-pool.ts:217
  • +
  • Defined in src/pools/abstract-pool.ts:210
  • +
  • Defined in src/pools/abstract-pool.ts:202
  • +
  • Defined in src/pools/thread/fixed.ts:49
  • +
  • Defined in src/pools/abstract-pool.ts:478
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:178
  • +
  • Defined in src/pools/abstract-pool.ts:254
  • +
  • Defined in src/pools/abstract-pool.ts:384
  • +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: ClusterPoolOptions = {}
    @@ -160,7 +160,7 @@
    +
  • Defined in src/pools/cluster/fixed.ts:53
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -173,7 +173,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -182,15 +182,15 @@
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<Worker>[] = []
    -

    {@inheritDoc}

    -
    +
  • Defined in src/pools/abstract-pool.ts:29
  • Accessors

    @@ -198,23 +198,23 @@
    +
  • Defined in src/pools/cluster/fixed.ts:109
  • +
  • Defined in src/pools/cluster/fixed.ts:104
  • +
  • Defined in src/pools/abstract-pool.ts:163
  • +
  • Defined in src/pools/cluster/fixed.ts:99
  • Methods

    @@ -261,14 +261,14 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:280
  • +
  • Defined in src/pools/cluster/fixed.ts:93
  • +
  • Defined in src/pools/abstract-pool.ts:269
  • +
  • Defined in src/pools/abstract-pool.ts:309
  • +
  • Defined in src/pools/abstract-pool.ts:355
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:233
  • +
  • Defined in src/pools/cluster/fixed.ts:69
  • +
  • Defined in src/pools/abstract-pool.ts:217
  • +
  • Defined in src/pools/abstract-pool.ts:210
  • +
  • Defined in src/pools/abstract-pool.ts:202
  • +
  • Defined in src/pools/cluster/fixed.ts:64
  • +
  • Defined in src/pools/abstract-pool.ts:478
  • +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:178
  • +
  • Defined in src/pools/cluster/fixed.ts:59
  • +
  • Defined in src/pools/abstract-pool.ts:384
  • +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: PoolOptions<ThreadWorkerWithMessageChannel>
    @@ -160,7 +160,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:68
  • promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -173,7 +173,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -182,15 +182,15 @@
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<ThreadWorkerWithMessageChannel>[] = []
    -

    {@inheritDoc}

    -
    +
  • Defined in src/pools/abstract-pool.ts:29
  • Accessors

    @@ -198,23 +198,23 @@
    +
  • Defined in src/pools/thread/fixed.ts:105
  • +
  • Defined in src/pools/thread/fixed.ts:100
  • +
  • Defined in src/pools/abstract-pool.ts:163
  • +
  • Defined in src/pools/thread/fixed.ts:95
  • Methods

    @@ -261,14 +261,14 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:280
  • +
  • Defined in src/pools/thread/fixed.ts:85
  • +
  • Defined in src/pools/abstract-pool.ts:269
  • +
  • Defined in src/pools/abstract-pool.ts:309
  • +
  • Defined in src/pools/abstract-pool.ts:355
  • +
  • Defined in src/pools/thread/fixed.ts:78
  • +
  • Defined in src/pools/abstract-pool.ts:233
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • +
  • Defined in src/pools/abstract-pool.ts:217
  • +
  • Defined in src/pools/abstract-pool.ts:210
  • +
  • Defined in src/pools/abstract-pool.ts:202
  • +
  • Defined in src/pools/thread/fixed.ts:49
  • +
  • Defined in src/pools/abstract-pool.ts:478
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:178
  • +
  • Defined in src/pools/abstract-pool.ts:254
  • +
  • Defined in src/pools/abstract-pool.ts:384
  • +
  • Defined in src/worker/abstract-worker.ts:47
  • lastTaskTimestamp: number
    @@ -145,7 +145,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:27
  • mainWorker: undefined | null | MessagePort
    @@ -153,7 +153,7 @@ but the minimum number of workers will be guaranteed.

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

    +
  • Defined in src/worker/abstract-worker.ts:35
  • Methods

    @@ -213,7 +213,7 @@ the AsyncResource to which the function is bound.

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:143
  • +
  • Defined in src/worker/abstract-worker.ts:126
  • +
  • Defined in src/worker/abstract-worker.ts:158
  • +
  • Defined in src/worker/abstract-worker.ts:80
  • +
  • Defined in src/worker/abstract-worker.ts:168
  • +
  • Defined in src/worker/abstract-worker.ts:191
  • +
  • Defined in src/worker/thread-worker.ts:36
  • +
  • Defined in src/pools/cluster/fixed.ts:11
  • @@ -53,7 +53,7 @@
    +
  • Defined in src/pools/pool.ts:44
  • env?: any
    @@ -62,7 +62,7 @@

    See

    https://nodejs.org/api/cluster.html#cluster_cluster_fork_env

    +
  • Defined in src/pools/cluster/fixed.ts:18
  • errorHandler?: ErrorHandler<Worker>
    @@ -70,7 +70,7 @@
    +
  • Defined in src/pools/pool.ts:26
  • exitHandler?: ExitHandler<Worker>
    @@ -78,7 +78,7 @@
    +
  • Defined in src/pools/pool.ts:34
  • messageHandler?: MessageHandler<Worker>
    @@ -86,7 +86,7 @@
    +
  • Defined in src/pools/pool.ts:22
  • onlineHandler?: OnlineHandler<Worker>
    @@ -94,7 +94,7 @@
    +
  • Defined in src/pools/pool.ts:30
  • settings?: ClusterSettings
    @@ -103,7 +103,7 @@

    See

    https://nodejs.org/api/cluster.html#cluster_cluster_settings

    +
  • Defined in src/pools/cluster/fixed.ts:24
  • workerChoiceStrategy?: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
    @@ -111,7 +111,7 @@
    +
  • Defined in src/pools/pool.ts:38
  • +
  • Defined in src/pools/pool.ts:73
  • emitter?: PoolEmitter
    @@ -75,7 +75,7 @@
    +
  • Defined in src/pools/pool.ts:62
  • execute: ((data: Data) => Promise<Response>)
    @@ -99,7 +99,7 @@

    Returns Promise<Response>

    +
  • Defined in src/pools/pool.ts:69
  • setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN") => void)
    @@ -121,7 +121,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:79
  • +
  • Defined in src/pools/pool.ts:38
  • +
  • Defined in src/worker/worker-options.ts:68
  • maxInactiveTime?: number
    @@ -75,7 +75,7 @@ when this timeout expires your tasks is interrupted and the worker is killed if

    Default Value

    60000 ms

    +
  • Defined in src/worker/worker-options.ts:51
  • +
  • Defined in src/pools/pool-worker.ts:9
  • +
  • Defined in src/pools/pool-worker.ts:19
  • +
  • Defined in src/pools/pool-worker.ts:4
  • +
  • Defined in src/pools/pool-worker.ts:14