From: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 4 Apr 2023 08:09:03 +0000 (+0000) Subject: chore: generate documentation X-Git-Tag: v2.4.0-3~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b4d61a7596f314145be453ddbcaa9b0dade39bfb;p=poolifier.git chore: generate documentation --- diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index 1b75d5b9..cd69cbcd 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
  • @@ -118,7 +118,7 @@ but the minimum number of workers will be guaranteed.

    Returns ClusterWorker<Data, Response>

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

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

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

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

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

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

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

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:147
  • +
  • Defined in src/worker/abstract-worker.ts:130
  • +
  • Defined in src/worker/cluster-worker.ts:47
  • +
  • Defined in src/worker/abstract-worker.ts:84
  • +
  • Defined in src/worker/abstract-worker.ts:172
  • +
  • Defined in src/worker/abstract-worker.ts:196
  • +
  • Defined in src/worker/cluster-worker.ts:42
  • +
  • Defined in src/pools/cluster/dynamic.ts:16
  • @@ -128,7 +128,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Returns DynamicClusterPool<Data, Response>

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

    @@ -138,7 +138,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:32
  • filePath: string
    @@ -146,14 +146,14 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • 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
    @@ -161,7 +161,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: ClusterPoolOptions = {}
    @@ -169,7 +169,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/cluster/fixed.ts:53
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -182,7 +182,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -191,7 +191,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<Worker>[] = []
    @@ -199,7 +199,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:29
  • Accessors

    @@ -212,7 +212,7 @@ When the maximum number of workers is reached, an event is emitted. If you want

    Returns boolean

    +
  • Defined in src/pools/cluster/dynamic.ts:43
  • +
  • Defined in src/pools/abstract-pool.ts:141
  • +
  • Defined in src/pools/cluster/dynamic.ts:38
  • Methods

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

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • Defined in src/pools/cluster/fixed.ts:93
  • +
  • Defined in src/pools/abstract-pool.ts:241
  • +
  • Defined in src/pools/abstract-pool.ts:289
  • +
  • Defined in src/pools/abstract-pool.ts:334
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:207
  • +
  • Defined in src/pools/cluster/fixed.ts:69
  • +
  • Defined in src/pools/abstract-pool.ts:192
  • +
  • Defined in src/pools/abstract-pool.ts:185
  • +
  • Defined in src/pools/abstract-pool.ts:177
  • +
  • Defined in src/pools/cluster/fixed.ts:64
  • +
  • Defined in src/pools/cluster/fixed.ts:80
  • +
  • Defined in src/pools/abstract-pool.ts:276
  • +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:156
  • +
  • Defined in src/pools/cluster/fixed.ts:59
  • +
  • Defined in src/pools/abstract-pool.ts:363
  • +
  • Defined in src/pools/abstract-pool.ts:67
  • max: number

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

    +
  • Defined in src/pools/thread/dynamic.ts:31
  • numberOfWorkers: number
    @@ -161,7 +161,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: PoolOptions<ThreadWorkerWithMessageChannel>
    @@ -169,7 +169,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:68
  • promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -182,7 +182,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -191,7 +191,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<ThreadWorkerWithMessageChannel>[] = []
    @@ -199,7 +199,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
    +
  • Defined in src/pools/abstract-pool.ts:29
  • Accessors

    @@ -212,7 +212,7 @@ When the maximum number of threads is reached, an event is emitted. If you want

    Returns boolean

    +
  • Defined in src/pools/thread/dynamic.ts:44
  • +
  • Defined in src/pools/abstract-pool.ts:141
  • +
  • Defined in src/pools/thread/dynamic.ts:39
  • Methods

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

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • Defined in src/pools/thread/fixed.ts:85
  • +
  • Defined in src/pools/abstract-pool.ts:241
  • +
  • Defined in src/pools/abstract-pool.ts:289
  • +
  • Defined in src/pools/abstract-pool.ts:334
  • +
  • Defined in src/pools/thread/fixed.ts:78
  • +
  • Defined in src/pools/abstract-pool.ts:207
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • +
  • Defined in src/pools/abstract-pool.ts:192
  • +
  • Defined in src/pools/abstract-pool.ts:185
  • +
  • Defined in src/pools/abstract-pool.ts:177
  • +
  • Defined in src/pools/thread/fixed.ts:49
  • +
  • Defined in src/pools/thread/fixed.ts:70
  • +
  • Defined in src/pools/abstract-pool.ts:276
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:156
  • +
  • Defined in src/pools/abstract-pool.ts:226
  • +
  • Defined in src/pools/abstract-pool.ts:363
  • +
  • Defined in src/pools/abstract-pool.ts:67
  • numberOfWorkers: number
    @@ -151,7 +151,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: ClusterPoolOptions = {}
    @@ -159,7 +159,7 @@
    +
  • Defined in src/pools/cluster/fixed.ts:53
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -172,7 +172,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -181,7 +181,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<Worker>[] = []
    @@ -189,7 +189,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:29
  • Accessors

    @@ -202,7 +202,7 @@

    Returns boolean

    +
  • Defined in src/pools/cluster/fixed.ts:104
  • +
  • Defined in src/pools/abstract-pool.ts:141
  • +
  • Defined in src/pools/cluster/fixed.ts:99
  • Methods

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

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • Defined in src/pools/cluster/fixed.ts:93
  • +
  • Defined in src/pools/abstract-pool.ts:241
  • +
  • Defined in src/pools/abstract-pool.ts:289
  • +
  • Defined in src/pools/abstract-pool.ts:334
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:207
  • +
  • Defined in src/pools/cluster/fixed.ts:69
  • +
  • Defined in src/pools/abstract-pool.ts:192
  • +
  • Defined in src/pools/abstract-pool.ts:185
  • +
  • Defined in src/pools/abstract-pool.ts:177
  • +
  • Defined in src/pools/cluster/fixed.ts:64
  • +
  • Defined in src/pools/cluster/fixed.ts:80
  • +
  • Defined in src/pools/abstract-pool.ts:276
  • +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:156
  • +
  • Defined in src/pools/cluster/fixed.ts:59
  • +
  • Defined in src/pools/abstract-pool.ts:363
  • +
  • Defined in src/pools/abstract-pool.ts:67
  • numberOfWorkers: number
    @@ -151,7 +151,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: PoolOptions<ThreadWorkerWithMessageChannel>
    @@ -159,7 +159,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:68
  • promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -172,7 +172,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -181,7 +181,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<ThreadWorkerWithMessageChannel>[] = []
    @@ -189,7 +189,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:29
  • Accessors

    @@ -202,7 +202,7 @@

    Returns boolean

    +
  • Defined in src/pools/thread/fixed.ts:100
  • +
  • Defined in src/pools/abstract-pool.ts:141
  • +
  • Defined in src/pools/thread/fixed.ts:95
  • Methods

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

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • Defined in src/pools/thread/fixed.ts:85
  • +
  • Defined in src/pools/abstract-pool.ts:241
  • +
  • Defined in src/pools/abstract-pool.ts:289
  • +
  • Defined in src/pools/abstract-pool.ts:334
  • +
  • Defined in src/pools/thread/fixed.ts:78
  • +
  • Defined in src/pools/abstract-pool.ts:207
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • +
  • Defined in src/pools/abstract-pool.ts:192
  • +
  • Defined in src/pools/abstract-pool.ts:185
  • +
  • Defined in src/pools/abstract-pool.ts:177
  • +
  • Defined in src/pools/thread/fixed.ts:49
  • +
  • Defined in src/pools/thread/fixed.ts:70
  • +
  • Defined in src/pools/abstract-pool.ts:276
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:156
  • +
  • Defined in src/pools/abstract-pool.ts:226
  • +
  • Defined in src/pools/abstract-pool.ts:363
  • +
  • Defined in src/worker/abstract-worker.ts:31
  • mainWorker: undefined | null | MessagePort
    @@ -144,7 +144,7 @@ but the minimum number of workers will be guaranteed.

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

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

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

    Returns void

    +
  • Defined in src/worker/abstract-worker.ts:147
  • +
  • Defined in src/worker/abstract-worker.ts:130
  • +
  • Defined in src/worker/abstract-worker.ts:162
  • +
  • Defined in src/worker/abstract-worker.ts:84
  • +
  • Defined in src/worker/abstract-worker.ts:172
  • +
  • Defined in src/worker/abstract-worker.ts:196
  • +
  • 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:72
  • emitter?: PoolEmitter
    @@ -74,7 +74,7 @@
    +
  • Defined in src/pools/pool.ts:61
  • execute: ((data: Data) => Promise<Response>)
    @@ -98,7 +98,7 @@

    Returns Promise<Response>

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

    Returns void

    +
  • Defined in src/pools/pool.ts:78
  • +
  • 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