From 849e05470ba75db08bb8def0c547ab4d8c35c9a0 Mon Sep 17 00:00:00 2001 From: aardizio Date: Tue, 16 Mar 2021 09:39:45 +0100 Subject: [PATCH 1/1] Bump version to 2.0.1 to release, generate doc --- docs/_config.yml | 1 - docs/classes/abstractworker.html | 26 +++++------ docs/classes/clusterworker.html | 24 +++++----- docs/classes/dynamicclusterpool.html | 58 ++++++++++++------------ docs/classes/dynamicthreadpool.html | 58 ++++++++++++------------ docs/classes/fixedclusterpool.html | 60 ++++++++++++------------- docs/classes/fixedthreadpool.html | 60 ++++++++++++------------- docs/classes/threadworker.html | 24 +++++----- docs/index.html | 16 +++---- docs/interfaces/clusterpooloptions.html | 12 ++--- docs/interfaces/ipool.html | 6 +-- docs/interfaces/iworker.html | 8 ++-- docs/interfaces/pooloptions.html | 10 ++--- docs/interfaces/workeroptions.html | 6 +-- package.json | 2 +- 15 files changed, 185 insertions(+), 186 deletions(-) delete mode 100644 docs/_config.yml diff --git a/docs/_config.yml b/docs/_config.yml deleted file mode 100644 index 8bbf7943..00000000 --- a/docs/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-hacker diff --git a/docs/classes/abstractworker.html b/docs/classes/abstractworker.html index bc99b16e..867f3c91 100644 --- a/docs/classes/abstractworker.html +++ b/docs/classes/abstractworker.html @@ -177,7 +177,7 @@
  • @@ -261,7 +261,7 @@
    async: boolean
    @@ -276,7 +276,7 @@
    interval: undefined | Timeout
    @@ -291,7 +291,7 @@
    killBehavior: "SOFT" | "HARD"
    @@ -306,7 +306,7 @@
    lastTask: number
    @@ -328,7 +328,7 @@
    maxInactiveTime: number
    @@ -412,7 +412,7 @@
  • @@ -434,7 +434,7 @@
  • @@ -505,7 +505,7 @@
  • @@ -528,7 +528,7 @@
  • @@ -560,7 +560,7 @@
  • @@ -615,7 +615,7 @@
  • @@ -745,7 +745,7 @@
  • diff --git a/docs/classes/clusterworker.html b/docs/classes/clusterworker.html index c70fa06a..158ad3cf 100644 --- a/docs/classes/clusterworker.html +++ b/docs/classes/clusterworker.html @@ -173,7 +173,7 @@
    @@ -237,7 +237,7 @@
    @@ -253,7 +253,7 @@
    @@ -269,7 +269,7 @@
    @@ -285,7 +285,7 @@
    @@ -309,7 +309,7 @@
    @@ -397,7 +397,7 @@
    @@ -443,7 +443,7 @@
    @@ -467,7 +467,7 @@

    Parameters

    @@ -491,7 +491,7 @@
    @@ -547,7 +547,7 @@
    @@ -679,7 +679,7 @@

    Parameters

    diff --git a/docs/classes/dynamicclusterpool.html b/docs/classes/dynamicclusterpool.html index b3d21778..f661b0b4 100644 --- a/docs/classes/dynamicclusterpool.html +++ b/docs/classes/dynamicclusterpool.html @@ -189,7 +189,7 @@
    @@ -247,7 +247,7 @@ @@ -274,7 +274,7 @@
    @@ -306,7 +306,7 @@
    @@ -327,7 +327,7 @@ @@ -338,7 +338,7 @@
    @@ -355,7 +355,7 @@ @@ -372,7 +372,7 @@
  • @@ -395,7 +395,7 @@
  • @@ -418,7 +418,7 @@
  • @@ -445,7 +445,7 @@

    Parameters

    @@ -469,7 +469,7 @@
    @@ -494,7 +494,7 @@
    @@ -518,7 +518,7 @@

    Returns Worker

    @@ -536,7 +536,7 @@
    @@ -568,7 +568,7 @@
    @@ -592,7 +592,7 @@
    @@ -622,7 +622,7 @@
    @@ -652,7 +652,7 @@
    @@ -676,7 +676,7 @@
    @@ -708,7 +708,7 @@

    Parameters

    @@ -735,7 +735,7 @@

    Returns boolean

    @@ -753,7 +753,7 @@

    Returns boolean

    @@ -771,7 +771,7 @@
    @@ -828,7 +828,7 @@
    @@ -860,7 +860,7 @@

    Parameters

    @@ -887,7 +887,7 @@
    @@ -917,7 +917,7 @@

    Returns void

    @@ -935,7 +935,7 @@
    diff --git a/docs/classes/dynamicthreadpool.html b/docs/classes/dynamicthreadpool.html index b81badc4..7728fdb4 100644 --- a/docs/classes/dynamicthreadpool.html +++ b/docs/classes/dynamicthreadpool.html @@ -189,7 +189,7 @@
    @@ -247,7 +247,7 @@ @@ -274,7 +274,7 @@
    @@ -306,7 +306,7 @@
    @@ -327,7 +327,7 @@ @@ -338,7 +338,7 @@
    @@ -355,7 +355,7 @@ @@ -372,7 +372,7 @@
  • @@ -395,7 +395,7 @@
  • @@ -418,7 +418,7 @@
  • @@ -445,7 +445,7 @@

    Parameters

    @@ -469,7 +469,7 @@
    @@ -494,7 +494,7 @@
    @@ -518,7 +518,7 @@

    Returns ThreadWorkerWithMessageChannel

    @@ -536,7 +536,7 @@
    @@ -568,7 +568,7 @@
    @@ -592,7 +592,7 @@
    @@ -622,7 +622,7 @@
    @@ -652,7 +652,7 @@
    @@ -676,7 +676,7 @@
    @@ -708,7 +708,7 @@

    Parameters

    @@ -735,7 +735,7 @@

    Returns boolean

    @@ -753,7 +753,7 @@

    Returns boolean

    @@ -771,7 +771,7 @@
    @@ -828,7 +828,7 @@
    @@ -860,7 +860,7 @@

    Parameters

    @@ -887,7 +887,7 @@
    @@ -917,7 +917,7 @@
    @@ -941,7 +941,7 @@
    diff --git a/docs/classes/fixedclusterpool.html b/docs/classes/fixedclusterpool.html index 27a6c746..5a9d84a8 100644 --- a/docs/classes/fixedclusterpool.html +++ b/docs/classes/fixedclusterpool.html @@ -193,7 +193,7 @@
  • @@ -244,7 +244,7 @@
    emitter: undefined | PoolEmitter
    @@ -267,7 +267,7 @@
    max: undefined | number
    @@ -283,7 +283,7 @@
    nextMessageId: number = 0
    @@ -312,7 +312,7 @@
    promiseMap: Map<number, PromiseWorkerResponseWrapper<Worker, Response>> = ...
    @@ -332,7 +332,7 @@
    tasks: Map<Worker, number> = ...
    @@ -348,7 +348,7 @@
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -364,7 +364,7 @@
    workers: Worker[] = ...
    @@ -387,7 +387,7 @@
  • @@ -410,7 +410,7 @@
  • @@ -433,7 +433,7 @@
  • @@ -459,7 +459,7 @@
  • Parameters

    @@ -482,7 +482,7 @@
  • @@ -506,7 +506,7 @@
  • @@ -529,7 +529,7 @@
  • Returns Worker

    @@ -546,7 +546,7 @@
  • @@ -577,7 +577,7 @@
  • @@ -600,7 +600,7 @@
  • @@ -629,7 +629,7 @@
  • @@ -658,7 +658,7 @@
  • @@ -681,7 +681,7 @@
  • @@ -712,7 +712,7 @@
  • Parameters

    @@ -738,7 +738,7 @@
  • Returns boolean

    @@ -755,7 +755,7 @@
  • Returns boolean

    @@ -772,7 +772,7 @@
  • @@ -828,7 +828,7 @@
  • @@ -859,7 +859,7 @@
  • Parameters

    @@ -885,7 +885,7 @@
  • @@ -914,7 +914,7 @@
  • Returns void

    @@ -931,7 +931,7 @@
  • diff --git a/docs/classes/fixedthreadpool.html b/docs/classes/fixedthreadpool.html index 65c94585..90a4ae16 100644 --- a/docs/classes/fixedthreadpool.html +++ b/docs/classes/fixedthreadpool.html @@ -193,7 +193,7 @@
  • @@ -244,7 +244,7 @@
    emitter: undefined | PoolEmitter
    @@ -267,7 +267,7 @@
    max: undefined | number
    @@ -283,7 +283,7 @@
    nextMessageId: number = 0
    @@ -312,7 +312,7 @@
    promiseMap: Map<number, PromiseWorkerResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -332,7 +332,7 @@
    tasks: Map<ThreadWorkerWithMessageChannel, number> = ...
    @@ -348,7 +348,7 @@
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -364,7 +364,7 @@
    @@ -387,7 +387,7 @@
  • @@ -410,7 +410,7 @@
  • @@ -433,7 +433,7 @@
  • @@ -459,7 +459,7 @@
  • Parameters

    @@ -482,7 +482,7 @@
  • @@ -506,7 +506,7 @@
  • @@ -529,7 +529,7 @@
  • Returns ThreadWorkerWithMessageChannel

    @@ -546,7 +546,7 @@
  • @@ -577,7 +577,7 @@
  • @@ -600,7 +600,7 @@
  • @@ -629,7 +629,7 @@
  • @@ -658,7 +658,7 @@
  • @@ -681,7 +681,7 @@
  • @@ -712,7 +712,7 @@
  • Parameters

    @@ -738,7 +738,7 @@
  • Returns boolean

    @@ -755,7 +755,7 @@
  • Returns boolean

    @@ -772,7 +772,7 @@
  • @@ -828,7 +828,7 @@
  • @@ -859,7 +859,7 @@
  • Parameters

    @@ -885,7 +885,7 @@
  • @@ -914,7 +914,7 @@
  • @@ -937,7 +937,7 @@
  • diff --git a/docs/classes/threadworker.html b/docs/classes/threadworker.html index b28df056..07bef40c 100644 --- a/docs/classes/threadworker.html +++ b/docs/classes/threadworker.html @@ -173,7 +173,7 @@
    @@ -237,7 +237,7 @@
    @@ -253,7 +253,7 @@
    @@ -269,7 +269,7 @@
    @@ -285,7 +285,7 @@
    @@ -309,7 +309,7 @@
    @@ -397,7 +397,7 @@
    @@ -443,7 +443,7 @@
    @@ -467,7 +467,7 @@
    @@ -500,7 +500,7 @@
    @@ -556,7 +556,7 @@
    @@ -688,7 +688,7 @@

    Parameters

    diff --git a/docs/index.html b/docs/index.html index 6154496e..b5848270 100644 --- a/docs/index.html +++ b/docs/index.html @@ -112,7 +112,7 @@
    ErrorHandler<Worker>: (this: Worker, e: Error) => void
    @@ -157,7 +157,7 @@
    ExitHandler<Worker>: (this: Worker, code: number) => void
    @@ -202,7 +202,7 @@
    KillBehavior: keyof typeof KillBehaviors
    @@ -217,7 +217,7 @@
    OnlineHandler<Worker>: (this: Worker) => void
    @@ -259,7 +259,7 @@
    ThreadWorkerWithMessageChannel: Worker & Draft<MessageChannel>
    @@ -274,7 +274,7 @@
    WorkerChoiceStrategy: keyof typeof WorkerChoiceStrategies
    @@ -292,7 +292,7 @@
    KillBehaviors: Readonly<{ HARD: "HARD"; SOFT: "SOFT" }> = ...
    @@ -307,7 +307,7 @@
    WorkerChoiceStrategies: Readonly<{ LESS_RECENTLY_USED: "LESS_RECENTLY_USED"; ROUND_ROBIN: "ROUND_ROBIN" }> = ...
    diff --git a/docs/interfaces/clusterpooloptions.html b/docs/interfaces/clusterpooloptions.html index 2ec928b1..111ae896 100644 --- a/docs/interfaces/clusterpooloptions.html +++ b/docs/interfaces/clusterpooloptions.html @@ -112,7 +112,7 @@
    @@ -128,7 +128,7 @@
    env: any
    @@ -149,7 +149,7 @@
    @@ -165,7 +165,7 @@
    @@ -181,7 +181,7 @@
    @@ -197,7 +197,7 @@
    diff --git a/docs/interfaces/ipool.html b/docs/interfaces/ipool.html index b0061b54..dd2238e1 100644 --- a/docs/interfaces/ipool.html +++ b/docs/interfaces/ipool.html @@ -128,7 +128,7 @@
  • @@ -150,7 +150,7 @@
  • @@ -182,7 +182,7 @@
  • diff --git a/docs/interfaces/iworker.html b/docs/interfaces/iworker.html index 2514393d..a4097ddf 100644 --- a/docs/interfaces/iworker.html +++ b/docs/interfaces/iworker.html @@ -108,7 +108,7 @@
  • @@ -136,7 +136,7 @@
  • @@ -164,7 +164,7 @@
  • @@ -201,7 +201,7 @@
  • diff --git a/docs/interfaces/pooloptions.html b/docs/interfaces/pooloptions.html index 6db10692..820f7154 100644 --- a/docs/interfaces/pooloptions.html +++ b/docs/interfaces/pooloptions.html @@ -118,7 +118,7 @@
    enableEvents: undefined | boolean
    @@ -134,7 +134,7 @@
    errorHandler: undefined | ErrorHandler<Worker>
    @@ -149,7 +149,7 @@
    exitHandler: undefined | ExitHandler<Worker>
    @@ -164,7 +164,7 @@
    onlineHandler: undefined | OnlineHandler<Worker>
    @@ -179,7 +179,7 @@
    workerChoiceStrategy: undefined | "ROUND_ROBIN" | "LESS_RECENTLY_USED"
    diff --git a/docs/interfaces/workeroptions.html b/docs/interfaces/workeroptions.html index 374d84cf..36932f27 100644 --- a/docs/interfaces/workeroptions.html +++ b/docs/interfaces/workeroptions.html @@ -103,7 +103,7 @@
    async: undefined | boolean
    @@ -123,7 +123,7 @@
    killBehavior: undefined | "SOFT" | "HARD"
    @@ -148,7 +148,7 @@
    maxInactiveTime: undefined | number
    diff --git a/package.json b/package.json index ae59c6eb..96566ead 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "poolifier", - "version": "2.0.0", + "version": "2.0.1", "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation", "main": "lib/index.js", "scripts": { -- 2.34.1