From: Documentation Bot Date: Tue, 8 Jul 2025 19:02:25 +0000 (+0000) Subject: docs: publish documentation X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c85e7e02381e81592de44d4eeef0818464f50e05;p=poolifier.git docs: publish documentation --- diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js index 5694615e2..df0435299 100644 --- a/docs/assets/hierarchy.js +++ b/docs/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJydkzFvwjAQhf/LzYbGF+Ik3qpWlRgqdUDtgBjcxJQIk0i2kVqh/PfKgbYmFMVhyeC8p+/ds+8AummsAb6kKTLCsohQluOKgJZrJQtbNbUBfgBM3LcWOwkc7t+N1aKwL02jgMC2qkvgmDACe62AQ1VbqdeikObO6GLqy6cbu3OeQgljgIM15cT5J78e93NTqVLLGvgywZRQGs1WLYGYpV6Ix69a7KriQe2NlfosCsXsJ0rHOeW4dFxNczxoCSToM5+qT1mOIPb1A7yzyWOWuqFZFnkB5oGVz2/pGhMHzGfxZcuLjZaiHFHyn2G4Y3e//ZLDgT35mIrzWewmpizx+c/SGPEhX4Xay4CqfXlA4x0vR4+3EGYbwHGysTfqJusmTJH9s79vjd5KPWKDj4bRKTKkhOYYdVEypF6U03L0kly56jNxwLvK0d+d4xsJI/naIVDbfgNVlruU" \ No newline at end of file +window.hierarchyData = "eJydUz1PwzAQ/S83mxLHseN4QyCkDkgMFQxVB5O4NKqbSLYrgar8d+S0gJNS1WHJ4Lyn93F3BzBt6yyIJc6zBDGeI5wnbIXAqLVWpavbxoI4QEr9t5E7BQLu3qwzsnTPbasBwbZuKhApZQj2RoOAunHKrGWp7K015SyEzzZu5zmlltaCAGerG8+/+eH4n5taV0Y1IJaUYIQxpqsOAWE8MPHw2chdXd7rvXXKDKzglH9b6XVOPs4ZF90cHzoElOBA87H+UNUExTH+it4gOWHch2Y8DwzMIyuf/6frtG+5oPi85cXGKFlNKPmXcL1jP99xyfGCI/iUiguKfWLMBov1pKyV7+pF6r2KqDqERzTu9fKEBXoLabcROh42daI+WZ8wz5I/7ve1NVtlJlzwkTDZBScU4YJkvRVOwmGfjmPk5MKoB+CIvSpIFvbc70icUoi9JtR1X2Ogu6o=" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 229af3f08..e08fdb761 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJzNnduS4ziSpl9lLfI2uiZwoqS6q6nusSmb6enarpqZi7K2NZbEiOSmQoqWqKzMbut3XyNASIDzB+g8KGavMowpwH+SjpN/DvDvD6fjb+eHb3/5+8On+rB7+Hat1uviaf34cChfq4dvH8q3+uHx4XLaP3z7sDtuL6/VoTn/U/lWf/Oxed0/PD5s9+X5XJ0fvn14+MdjqpaX6lCdyv3vXi71rtrXh+oMKu3/aJSN346nT9Xpd9uPx3pb/e7cnMqmeqmhpdRPs/bk1dL5tL1W+nrcXfbV+Z/Op222tJA3pd/vL+emOv23VXGtqStma4p+Aep9fHgrT9Wh6cTczBhxk7k9Hs7N6bJtjlwjH+IiSYNx0fAun6S+uc62qT9XPxya6vS53HMluFL1rdRNRXPe/a4+/+7tdGyqbVPt/ld3oT58rE51U+0myazPfyzrA1defX51v763rH15bn4uz59+rl+rc1O+vnEVtgWb8vypCQreW+zxrTlz9XW/vbekc1M29bmpt2xhUYl7y2vf0He/Hk/Nv1wO26Y+Htgy25JlW/I5KPkecicpvbNIWUihg7a8Y7fjXVYQ2/6TDsbK3e7n4Dmxe7zdLnxSSNf45xLqeqmatosbNd58eKmatqf7zRe6x8sLRX4sD7t99YfTiT9auSJVV2Thl+kq/7d6v/9jdT6XL9U4VZ/q/f71WvB9Ht6fq3L3dZLaU1uSI3eGurBp/OmtOpXtH5PUhq3l6Gt6z4d9ntLMP5bn+zbzfe1mDNd++sdT+3SacA48NHeo3dzh2mu/hVUsrLd7Y/9en5t25s/V2BXb34rd+4Wfqtfj52rKO3cl7/vaTxe+nMudZq5U0Hfnr4ftCFVl9/t3kPb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Ncqg1PJoF9fM1XM870YwXecjrfMgQZ32xwgV35JhoykUrhdBYU6e3GtvQtXLkNS3jBLHAe36GySU33DspFJ+5i5fBkf0WmuBImZZm2LSjrsPq5l0dc9UMx3r93jS4KnZMC9xky88Q/vGpbx8zXMotLBWpf4aIWAyERAZCJs3JDBnxSTat2yo66EZ1fWRZUeUR5XOFtmLd2t108lOZ8pdovrNlhmYc6tW+RxOjnJZOzlJ32lmw7aNzTc65AhlyGCkQFWqfAYNHM7XVulgl6feBIIGUsrrv8Y8xwyi/w4qWtHuUu3cDXuilm9eeuKDL1x9o+5OMsd3RUn/yx3Kj1VnY8IyHjgsZws918eH96qN7fL/+HbX/7yj3/8PwaNB24="; \ No newline at end of file diff --git a/docs/classes/src.ClusterWorker.html b/docs/classes/src.ClusterWorker.html index f30900a63..7bcbb33c2 100644 --- a/docs/classes/src.ClusterWorker.html +++ b/docs/classes/src.ClusterWorker.html @@ -1,4 +1,4 @@ -ClusterWorker | poolifier - v5.0.5
poolifier - v5.0.5
    Preparing search index...

    Class ClusterWorker<Data, Response>

    A cluster worker used by a poolifier ClusterPool.

    +ClusterWorker | poolifier - v5.0.6
    poolifier - v5.0.6
      Preparing search index...

      Class ClusterWorker<Data, Response>

      A cluster worker used by a poolifier ClusterPool.

      When this worker is inactive for more than the given maxInactiveTime, it will send a termination request to its main worker.

      If you use a DynamicClusterPool the extra workers that were created will be terminated, @@ -7,7 +7,7 @@ but the minimum number of workers will be guaranteed.

      2.0.0

      Type Parameters

      • Data = unknown

        Type of data this worker receives from pool's execution. This can only be structured-cloneable data.

      • Response = unknown

        Type of response the worker sends back to the main worker. This can only be structured-cloneable data.

        -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Properties

      activeInterval? isMain lastTaskTimestamp @@ -35,51 +35,51 @@ but the minimum number of workers will be guaranteed.

      Constructors

      Properties

      activeInterval?: Timeout

      Handler id of the activeInterval worker activity check.

      -
      isMain: undefined | boolean

      Whether this is the main worker or not.

      -
      lastTaskTimestamp: number

      Timestamp of the last task processed by this worker.

      -
      opts: WorkerOptions = DEFAULT_WORKER_OPTIONS

      Options for the worker.

      -
      statistics?: WorkerStatistics

      Performance statistics computation requirements.

      -
      taskAbortFunctions: Map<
          `${string}-${string}-${string}-${string}-${string}`,
          () => void,
      >

      Task abort functions processed by the worker when task operation 'abort' is received.

      -
      taskFunctions: Map<string, TaskFunctionObject<Data, Response>>

      Task function object(s) processed by the worker when the pool's execute method is invoked.

      -

      Accessors

      Methods

      Returns ClusterWorker<Data, Response>

      Properties

      activeInterval?: Timeout

      Handler id of the activeInterval worker activity check.

      +
      isMain: undefined | boolean

      Whether this is the main worker or not.

      +
      lastTaskTimestamp: number

      Timestamp of the last task processed by this worker.

      +
      opts: WorkerOptions = DEFAULT_WORKER_OPTIONS

      Options for the worker.

      +
      statistics?: WorkerStatistics

      Performance statistics computation requirements.

      +
      taskAbortFunctions: Map<
          `${string}-${string}-${string}-${string}-${string}`,
          () => void,
      >

      Task abort functions processed by the worker when task operation 'abort' is received.

      +
      taskFunctions: Map<string, TaskFunctionObject<Data, Response>>

      Task function object(s) processed by the worker when the pool's execute method is invoked.

      +

      Accessors

      Methods

      Returns void

      Returns void

      Returns void

      Returns void

      Returns void

      Returns void

      Returns void

      +
      diff --git a/docs/classes/src.DynamicClusterPool.html b/docs/classes/src.DynamicClusterPool.html index 0787e3c0c..12f7aeb99 100644 --- a/docs/classes/src.DynamicClusterPool.html +++ b/docs/classes/src.DynamicClusterPool.html @@ -1,17 +1,20 @@ -DynamicClusterPool | poolifier - v5.0.5
      poolifier - v5.0.5
        Preparing search index...

        Class DynamicClusterPool<Data, Response>

        A cluster pool with a dynamic number of workers, but a guaranteed minimum number of workers.

        +DynamicClusterPool | poolifier - v5.0.6
        poolifier - v5.0.6
          Preparing search index...

          Class DynamicClusterPool<Data, Response>

          A cluster pool with a dynamic number of workers, but a guaranteed minimum number of workers.

          This cluster pool creates new workers when the others are busy, up to the maximum number of workers. When the maximum number of workers is reached and workers are busy, an event is emitted. If you want to listen to this event, use the pool's emitter.

          2.0.0

          Type Parameters

          • Data = unknown

            Type of data sent to the worker. This can only be structured-cloneable data.

          • Response = unknown

            Type of execution response. This can only be structured-cloneable data.

            -

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          Accessors

          backPressure @@ -59,70 +62,73 @@ When the maximum number of workers is reached and workers are busy, an event is
        • max: number

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

        • filePath: string

          Path to an implementation of a ClusterWorker file, which can be relative or absolute.

        • opts: ClusterPoolOptions = {}

          Options for this dynamic cluster pool.

          -
        • Returns DynamicClusterPool<Data, Response>

          Properties

          emitter?: EventEmitterAsyncResource
          filePath: string

          Path to the worker file.

          -
          maximumNumberOfWorkers?: number

          Maximum number of workers that this pool manages.

          -
          minimumNumberOfWorkers: number

          Minimum number of workers that this pool manages.

          -
          opts: PoolOptions<Worker>

          Options for the pool.

          -
          promiseResponseMap: Map<
              `${string}-${string}-${string}-${string}-${string}`,
              PromiseResponseWrapper<Response>,
          > = ...

          The task execution response promise map:

          +

          Returns DynamicClusterPool<Data, Response>

          Properties

          destroying: boolean

          Whether the pool is destroying or not.

          +
          emitter?: EventEmitterAsyncResource
          filePath: string

          Path to the worker file.

          +
          maximumNumberOfWorkers?: number

          Maximum number of workers that this pool manages.

          +
          minimumNumberOfWorkers: number

          Minimum number of workers that this pool manages.

          +
          opts: PoolOptions<Worker>

          Options for the pool.

          +
          promiseResponseMap: Map<
              `${string}-${string}-${string}-${string}-${string}`,
              PromiseResponseWrapper<Response>,
          > = ...

          The task execution response promise map:

          • key: The message id of each submitted task.
          • value: An object that contains task's worker node key, execution response promise resolve and reject callbacks, async resource.

          When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

          -
          workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
              Worker,
              Data,
              Response,
          >

          Worker choice strategies context referencing worker choice algorithms implementation.

          -
          workerNodes: IWorkerNode<Worker, Data>[] = []

          Accessors

          started: boolean

          Whether the pool is started or not.

          +
          starting: boolean

          Whether the pool is starting or not.

          +
          workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
              Worker,
              Data,
              Response,
          >

          Worker choice strategies context referencing worker choice algorithms implementation.

          +
          workerNodes: IWorkerNode<Worker, Data>[] = []

          Accessors

          • get backPressure(): boolean

            Whether the pool is back pressured or not.

            Returns boolean

            The pool back pressure boolean status.

            -
          • get busy(): boolean

            Whether the pool is busy or not.

            Returns boolean

            The pool busyness boolean status.

            -
          • get type(): "fixed" | "dynamic"

            The pool type.

            If it is 'dynamic', it provides the max property.

            -

            Returns "fixed" | "dynamic"

          • get worker(): "cluster" | "thread"

            The worker type.

            -

            Returns "cluster" | "thread"

          Methods

          • Hook executed after the worker task execution. +

            Returns "fixed" | "dynamic"

          • get worker(): "cluster" | "thread"

            The worker type.

            +

            Returns "cluster" | "thread"

          Methods

          • Method hooked up after a worker node has been newly created. +

          Returns void

          Returns void

          Returns void

          Returns void

          Returns Promise<void>

          Returns void

          Returns void

          Returns void

          Returns void

          +

          Returns void

          diff --git a/docs/classes/src.DynamicThreadPool.html b/docs/classes/src.DynamicThreadPool.html index 27b7b8576..d9b4259a3 100644 --- a/docs/classes/src.DynamicThreadPool.html +++ b/docs/classes/src.DynamicThreadPool.html @@ -1,17 +1,20 @@ -DynamicThreadPool | poolifier - v5.0.5
          poolifier - v5.0.5
            Preparing search index...

            Class DynamicThreadPool<Data, Response>

            A thread pool with a dynamic number of threads, but a guaranteed minimum number of threads.

            +DynamicThreadPool | poolifier - v5.0.6
            poolifier - v5.0.6
              Preparing search index...

              Class DynamicThreadPool<Data, Response>

              A thread pool with a dynamic number of threads, but a guaranteed minimum number of threads.

              This thread pool creates new threads when the others are busy, up to the maximum number of threads. When the maximum number of threads is reached and workers are busy, an event is emitted. If you want to listen to this event, use the pool's emitter.

              0.0.1

              Type Parameters

              • Data = unknown

                Type of data sent to the worker. This can only be structured-cloneable data.

              • Response = unknown

                Type of execution response. This can only be structured-cloneable data.

                -

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              Accessors

              backPressure @@ -59,71 +62,74 @@ When the maximum number of threads is reached and workers are busy, an event is
            • max: number

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

            • filePath: string

              Path to an implementation of a ThreadWorker file, which can be relative or absolute.

            • opts: ThreadPoolOptions = {}

              Options for this dynamic thread pool.

              -
            • Returns DynamicThreadPool<Data, Response>

              Properties

              emitter?: EventEmitterAsyncResource
              filePath: string

              Path to the worker file.

              -
              maximumNumberOfWorkers?: number

              Maximum number of workers that this pool manages.

              -
              minimumNumberOfWorkers: number

              Minimum number of workers that this pool manages.

              -
              opts: PoolOptions<Worker>

              Options for the pool.

              -
              promiseResponseMap: Map<
                  `${string}-${string}-${string}-${string}-${string}`,
                  PromiseResponseWrapper<Response>,
              > = ...

              The task execution response promise map:

              +

              Returns DynamicThreadPool<Data, Response>

              Properties

              destroying: boolean

              Whether the pool is destroying or not.

              +
              emitter?: EventEmitterAsyncResource
              filePath: string

              Path to the worker file.

              +
              maximumNumberOfWorkers?: number

              Maximum number of workers that this pool manages.

              +
              minimumNumberOfWorkers: number

              Minimum number of workers that this pool manages.

              +
              opts: PoolOptions<Worker>

              Options for the pool.

              +
              promiseResponseMap: Map<
                  `${string}-${string}-${string}-${string}-${string}`,
                  PromiseResponseWrapper<Response>,
              > = ...

              The task execution response promise map:

              • key: The message id of each submitted task.
              • value: An object that contains task's worker node key, execution response promise resolve and reject callbacks, async resource.

              When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

              -
              workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                  Worker,
                  Data,
                  Response,
              >

              Worker choice strategies context referencing worker choice algorithms implementation.

              -
              workerNodes: IWorkerNode<Worker, Data>[] = []

              Accessors

              started: boolean

              Whether the pool is started or not.

              +
              starting: boolean

              Whether the pool is starting or not.

              +
              workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                  Worker,
                  Data,
                  Response,
              >

              Worker choice strategies context referencing worker choice algorithms implementation.

              +
              workerNodes: IWorkerNode<Worker, Data>[] = []

              Accessors

              • get backPressure(): boolean

                Whether the pool is back pressured or not.

                Returns boolean

                The pool back pressure boolean status.

                -
              • get busy(): boolean

                Whether the pool is busy or not.

                Returns boolean

                The pool busyness boolean status.

                -
              • get type(): "fixed" | "dynamic"

                The pool type.

                If it is 'dynamic', it provides the max property.

                -

                Returns "fixed" | "dynamic"

              • get worker(): "cluster" | "thread"

                The worker type.

                -

                Returns "cluster" | "thread"

              Methods

              • Hook executed after the worker task execution. +

                Returns "fixed" | "dynamic"

              • get worker(): "cluster" | "thread"

                The worker type.

                +

                Returns "cluster" | "thread"

              Methods

              • Method hooked up after a worker node has been newly created. +

              Returns void

              Returns void

              Returns void

              Returns void

              Returns Promise<void>

              Returns void

              Returns void

              Returns void

              Returns void

              +

              Returns void

              diff --git a/docs/classes/src.FixedClusterPool.html b/docs/classes/src.FixedClusterPool.html index 9bee488e2..20a74953a 100644 --- a/docs/classes/src.FixedClusterPool.html +++ b/docs/classes/src.FixedClusterPool.html @@ -1,15 +1,18 @@ -FixedClusterPool | poolifier - v5.0.5
              poolifier - v5.0.5
                Preparing search index...

                Class FixedClusterPool<Data, Response>

                A cluster pool with a fixed number of workers.

                +FixedClusterPool | poolifier - v5.0.6
                poolifier - v5.0.6
                  Preparing search index...

                  Class FixedClusterPool<Data, Response>

                  A cluster pool with a fixed number of workers.

                  2.0.0

                  Type Parameters

                  • Data = unknown

                    Type of data sent to the worker. This can only be structured-cloneable data.

                  • Response = unknown

                    Type of execution response. This can only be structured-cloneable data.

                    -

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Properties

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Properties

                  Accessors

                  backPressure @@ -57,70 +60,73 @@
                • filePath: string

                  Path to an implementation of a ClusterWorker file, which can be relative or absolute.

                • opts: ClusterPoolOptions = {}

                  Options for this fixed cluster pool.

                • OptionalmaximumNumberOfWorkers: number

                  The maximum number of workers for this pool.

                  -
                • Returns FixedClusterPool<Data, Response>

                  Properties

                  emitter?: EventEmitterAsyncResource
                  filePath: string

                  Path to the worker file.

                  -
                  maximumNumberOfWorkers?: number

                  Maximum number of workers that this pool manages.

                  -
                  minimumNumberOfWorkers: number

                  Minimum number of workers that this pool manages.

                  -
                  opts: PoolOptions<Worker>

                  Options for the pool.

                  -
                  promiseResponseMap: Map<
                      `${string}-${string}-${string}-${string}-${string}`,
                      PromiseResponseWrapper<Response>,
                  > = ...

                  The task execution response promise map:

                  +

                  Returns FixedClusterPool<Data, Response>

                  Properties

                  destroying: boolean

                  Whether the pool is destroying or not.

                  +
                  emitter?: EventEmitterAsyncResource
                  filePath: string

                  Path to the worker file.

                  +
                  maximumNumberOfWorkers?: number

                  Maximum number of workers that this pool manages.

                  +
                  minimumNumberOfWorkers: number

                  Minimum number of workers that this pool manages.

                  +
                  opts: PoolOptions<Worker>

                  Options for the pool.

                  +
                  promiseResponseMap: Map<
                      `${string}-${string}-${string}-${string}-${string}`,
                      PromiseResponseWrapper<Response>,
                  > = ...

                  The task execution response promise map:

                  • key: The message id of each submitted task.
                  • value: An object that contains task's worker node key, execution response promise resolve and reject callbacks, async resource.

                  When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

                  -
                  workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                      Worker,
                      Data,
                      Response,
                  >

                  Worker choice strategies context referencing worker choice algorithms implementation.

                  -
                  workerNodes: IWorkerNode<Worker, Data>[] = []

                  Accessors

                  started: boolean

                  Whether the pool is started or not.

                  +
                  starting: boolean

                  Whether the pool is starting or not.

                  +
                  workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                      Worker,
                      Data,
                      Response,
                  >

                  Worker choice strategies context referencing worker choice algorithms implementation.

                  +
                  workerNodes: IWorkerNode<Worker, Data>[] = []

                  Accessors

                  • get backPressure(): boolean

                    Whether the pool is back pressured or not.

                    Returns boolean

                    The pool back pressure boolean status.

                    -
                  • get busy(): boolean

                    Whether the pool is busy or not.

                    Returns boolean

                    The pool busyness boolean status.

                    -
                  • get type(): "fixed" | "dynamic"

                    The pool type.

                    If it is 'dynamic', it provides the max property.

                    -

                    Returns "fixed" | "dynamic"

                  • get worker(): "cluster" | "thread"

                    The worker type.

                    -

                    Returns "cluster" | "thread"

                  Methods

                  • Hook executed after the worker task execution. +

                    Returns "fixed" | "dynamic"

                  • get worker(): "cluster" | "thread"

                    The worker type.

                    +

                    Returns "cluster" | "thread"

                  Methods

                  • Method hooked up after a worker node has been newly created. +

                  Returns void

                  Returns void

                  Returns void

                  Returns void

                  Returns Promise<void>

                  Returns void

                  Returns void

                  Returns void

                  Returns void

                  +

                  Returns void

                  diff --git a/docs/classes/src.FixedThreadPool.html b/docs/classes/src.FixedThreadPool.html index f7e0285dc..498713d30 100644 --- a/docs/classes/src.FixedThreadPool.html +++ b/docs/classes/src.FixedThreadPool.html @@ -1,15 +1,18 @@ -FixedThreadPool | poolifier - v5.0.5
                  poolifier - v5.0.5
                    Preparing search index...

                    Class FixedThreadPool<Data, Response>

                    A thread pool with a fixed number of threads.

                    +FixedThreadPool | poolifier - v5.0.6
                    poolifier - v5.0.6
                      Preparing search index...

                      Class FixedThreadPool<Data, Response>

                      A thread pool with a fixed number of threads.

                      0.0.1

                      Type Parameters

                      • Data = unknown

                        Type of data sent to the worker. This can only be structured-cloneable data.

                      • Response = unknown

                        Type of execution response. This can only be structured-cloneable data.

                        -

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Properties

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Properties

                      Accessors

                      backPressure @@ -57,71 +60,74 @@
                    • filePath: string

                      Path to an implementation of a ThreadWorker file, which can be relative or absolute.

                    • opts: ThreadPoolOptions = {}

                      Options for this fixed thread pool.

                    • OptionalmaximumNumberOfThreads: number

                      The maximum number of threads for this pool.

                      -
                    • Returns FixedThreadPool<Data, Response>

                      Properties

                      emitter?: EventEmitterAsyncResource
                      filePath: string

                      Path to the worker file.

                      -
                      maximumNumberOfWorkers?: number

                      Maximum number of workers that this pool manages.

                      -
                      minimumNumberOfWorkers: number

                      Minimum number of workers that this pool manages.

                      -
                      opts: PoolOptions<Worker>

                      Options for the pool.

                      -
                      promiseResponseMap: Map<
                          `${string}-${string}-${string}-${string}-${string}`,
                          PromiseResponseWrapper<Response>,
                      > = ...

                      The task execution response promise map:

                      +

                      Returns FixedThreadPool<Data, Response>

                      Properties

                      destroying: boolean

                      Whether the pool is destroying or not.

                      +
                      emitter?: EventEmitterAsyncResource
                      filePath: string

                      Path to the worker file.

                      +
                      maximumNumberOfWorkers?: number

                      Maximum number of workers that this pool manages.

                      +
                      minimumNumberOfWorkers: number

                      Minimum number of workers that this pool manages.

                      +
                      opts: PoolOptions<Worker>

                      Options for the pool.

                      +
                      promiseResponseMap: Map<
                          `${string}-${string}-${string}-${string}-${string}`,
                          PromiseResponseWrapper<Response>,
                      > = ...

                      The task execution response promise map:

                      • key: The message id of each submitted task.
                      • value: An object that contains task's worker node key, execution response promise resolve and reject callbacks, async resource.

                      When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

                      -
                      workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                          Worker,
                          Data,
                          Response,
                      >

                      Worker choice strategies context referencing worker choice algorithms implementation.

                      -
                      workerNodes: IWorkerNode<Worker, Data>[] = []

                      Accessors

                      started: boolean

                      Whether the pool is started or not.

                      +
                      starting: boolean

                      Whether the pool is starting or not.

                      +
                      workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                          Worker,
                          Data,
                          Response,
                      >

                      Worker choice strategies context referencing worker choice algorithms implementation.

                      +
                      workerNodes: IWorkerNode<Worker, Data>[] = []

                      Accessors

                      • get backPressure(): boolean

                        Whether the pool is back pressured or not.

                        Returns boolean

                        The pool back pressure boolean status.

                        -
                      • get busy(): boolean

                        Whether the pool is busy or not.

                        Returns boolean

                        The pool busyness boolean status.

                        -
                      • get type(): "fixed" | "dynamic"

                        The pool type.

                        If it is 'dynamic', it provides the max property.

                        -

                        Returns "fixed" | "dynamic"

                      • get worker(): "cluster" | "thread"

                        The worker type.

                        -

                        Returns "cluster" | "thread"

                      Methods

                      • Hook executed after the worker task execution. +

                        Returns "fixed" | "dynamic"

                      • get worker(): "cluster" | "thread"

                        The worker type.

                        +

                        Returns "cluster" | "thread"

                      Methods

                      • Method hooked up after a worker node has been newly created. +

                      Returns void

                      Returns void

                      Returns void

                      Returns void

                      Returns Promise<void>

                      Returns void

                      Returns void

                      Returns void

                      Returns void

                      +

                      Returns void

                      diff --git a/docs/classes/src.ThreadWorker.html b/docs/classes/src.ThreadWorker.html index c597ba3b6..3250bf597 100644 --- a/docs/classes/src.ThreadWorker.html +++ b/docs/classes/src.ThreadWorker.html @@ -1,4 +1,4 @@ -ThreadWorker | poolifier - v5.0.5
                      poolifier - v5.0.5
                        Preparing search index...

                        Class ThreadWorker<Data, Response>

                        A thread worker used by a poolifier ThreadPool.

                        +ThreadWorker | poolifier - v5.0.6
                        poolifier - v5.0.6
                          Preparing search index...

                          Class ThreadWorker<Data, Response>

                          A thread worker used by a poolifier ThreadPool.

                          When this worker is inactive for more than the given maxInactiveTime, it will send a termination request to its main thread.

                          If you use a DynamicThreadPool the extra workers that were created will be terminated, @@ -7,7 +7,7 @@ but the minimum number of workers will be guaranteed.

                          0.0.1

                          Type Parameters

                          • Data = unknown

                            Type of data this worker receives from pool's execution. This can only be structured-cloneable data.

                          • Response = unknown

                            Type of response the worker sends back to the main thread. This can only be structured-cloneable data.

                            -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Properties

                          activeInterval? isMain lastTaskTimestamp @@ -35,51 +35,51 @@ but the minimum number of workers will be guaranteed.

                          Constructors

                          Properties

                          activeInterval?: Timeout

                          Handler id of the activeInterval worker activity check.

                          -
                          isMain: undefined | boolean

                          Whether this is the main worker or not.

                          -
                          lastTaskTimestamp: number

                          Timestamp of the last task processed by this worker.

                          -
                          opts: WorkerOptions = DEFAULT_WORKER_OPTIONS

                          Options for the worker.

                          -
                          statistics?: WorkerStatistics

                          Performance statistics computation requirements.

                          -
                          taskAbortFunctions: Map<
                              `${string}-${string}-${string}-${string}-${string}`,
                              () => void,
                          >

                          Task abort functions processed by the worker when task operation 'abort' is received.

                          -
                          taskFunctions: Map<string, TaskFunctionObject<Data, Response>>

                          Task function object(s) processed by the worker when the pool's execute method is invoked.

                          -

                          Accessors

                          Methods

                          Returns ThreadWorker<Data, Response>

                          Properties

                          activeInterval?: Timeout

                          Handler id of the activeInterval worker activity check.

                          +
                          isMain: undefined | boolean

                          Whether this is the main worker or not.

                          +
                          lastTaskTimestamp: number

                          Timestamp of the last task processed by this worker.

                          +
                          opts: WorkerOptions = DEFAULT_WORKER_OPTIONS

                          Options for the worker.

                          +
                          statistics?: WorkerStatistics

                          Performance statistics computation requirements.

                          +
                          taskAbortFunctions: Map<
                              `${string}-${string}-${string}-${string}-${string}`,
                              () => void,
                          >

                          Task abort functions processed by the worker when task operation 'abort' is received.

                          +
                          taskFunctions: Map<string, TaskFunctionObject<Data, Response>>

                          Task function object(s) processed by the worker when the pool's execute method is invoked.

                          +

                          Accessors

                          Methods

                          Returns void

                          Returns void

                          Returns void

                          Returns void

                          Returns void

                          Returns void

                          Returns void

                          +
                          diff --git a/docs/documents/api.html b/docs/documents/api.html index 35797d5be..74efe01a3 100644 --- a/docs/documents/api.html +++ b/docs/documents/api.html @@ -1,4 +1,4 @@ -api | poolifier - v5.0.5
                          poolifier - v5.0.5
                            Preparing search index...

                            API

                            diff --git a/docs/documents/general-guidelines.html b/docs/documents/general-guidelines.html index da1bfc99f..0a6bb0c96 100644 --- a/docs/documents/general-guidelines.html +++ b/docs/documents/general-guidelines.html @@ -1,4 +1,4 @@ -general-guidelines | poolifier - v5.0.5
                            poolifier - v5.0.5
                              Preparing search index...

                              General guidelines

                              Performance is one of the main target of these worker pool implementations, poolifier team wants to have a strong focus on this.
                              +general-guidelines | poolifier - v5.0.6

                              poolifier - v5.0.6
                                Preparing search index...

                                General guidelines

                                Performance is one of the main target of these worker pool implementations, poolifier team wants to have a strong focus on this.
                                Poolifier already has benchmarks where you can find some comparisons.

                                • Internal Node.js thread pool
                                • @@ -27,4 +27,4 @@ By doing so, your application will be ready to execute in parallel more tasks, b One good choice from poolifier team point of view is to profile your application using a fixed or dynamic worker pool, and analyze your application metrics when you increase/decrease the number of workers.
                                  For example you could keep the memory footprint low by choosing a DynamicThreadPool/DynamicClusterPool with a minimum of 5 workers, and allowing it to create new workers until a maximum of 50 workers if needed. This is the advantage of using a DynamicThreadPool/DynamicClusterPool.
                                  But in general, always profile your application.

                                  -
                                +
                                diff --git a/docs/documents/worker-choice-strategies.html b/docs/documents/worker-choice-strategies.html index 24d2f69d0..19780ae7e 100644 --- a/docs/documents/worker-choice-strategies.html +++ b/docs/documents/worker-choice-strategies.html @@ -1,4 +1,4 @@ -worker-choice-strategies | poolifier - v5.0.5
                                poolifier - v5.0.5
                                  Preparing search index...

                                  Worker choice strategies

                                  All duration or timestamp are expressed in milliseconds.

                                  +worker-choice-strategies | poolifier - v5.0.6
                                  poolifier - v5.0.6
                                    Preparing search index...

                                    Worker choice strategies

                                    All duration or timestamp are expressed in milliseconds.

                                    • Strategies
                                        @@ -21,4 +21,4 @@ During a round, if the worker weight is superior or equal to the current round w The default worker weights is the same for each and computed given the CPU cores speed and theirs numbers. So the default 'rounds' consists of a unique worker weight.

                                        Worker choice strategies enable only the statistics that are needed to choose the next worker to avoid unnecessary overhead.

                                        Strategies using the simple moving average task execution time for each worker can use the simple moving median instead. Simple moving median is more robust to outliers and can be used to avoid assigning tasks to workers that are currently overloaded.

                                        -
                                    +
                                    diff --git a/docs/functions/src.availableParallelism.html b/docs/functions/src.availableParallelism.html index b1118a089..ffc1d3f07 100644 --- a/docs/functions/src.availableParallelism.html +++ b/docs/functions/src.availableParallelism.html @@ -1,4 +1,4 @@ -availableParallelism | poolifier - v5.0.5
                                    poolifier - v5.0.5
                                      Preparing search index...

                                      Function availableParallelism

                                      • Returns safe host OS optimized estimate of the default amount of parallelism a pool should use. +availableParallelism | poolifier - v5.0.6

                                        poolifier - v5.0.6
                                          Preparing search index...

                                          Function availableParallelism

                                          • Returns safe host OS optimized estimate of the default amount of parallelism a pool should use. Always returns a value greater than zero.

                                            Returns number

                                            The host OS optimized maximum pool size.

                                            -
                                          +
                                        diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 9033dbcff..85757591a 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -poolifier - v5.0.5
                                        poolifier - v5.0.5
                                          Preparing search index...
                                          +poolifier - v5.0.6
                                          poolifier - v5.0.6
                                            Preparing search index...
                                            diff --git a/docs/index.html b/docs/index.html index aaf8bc418..7122cc5e6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -poolifier - v5.0.5
                                            poolifier - v5.0.5
                                              Preparing search index...

                                              poolifier - v5.0.5

                                              Documents

                                              api
                                              general-guidelines
                                              worker-choice-strategies

                                              Modules

                                              src
                                              +poolifier - v5.0.6
                                              poolifier - v5.0.6
                                                Preparing search index...

                                                poolifier - v5.0.6

                                                Documents

                                                api
                                                general-guidelines
                                                worker-choice-strategies

                                                Modules

                                                src
                                                diff --git a/docs/interfaces/src.AbstractPool.html b/docs/interfaces/src.AbstractPool.html index 0c8f71d9e..f5a5cf2c5 100644 --- a/docs/interfaces/src.AbstractPool.html +++ b/docs/interfaces/src.AbstractPool.html @@ -1,13 +1,16 @@ -AbstractPool | poolifier - v5.0.5
                                                poolifier - v5.0.5
                                                  Preparing search index...

                                                  Interface AbstractPool<Worker, Data, Response>Abstract

                                                  Base class that implements some shared logic for all poolifier pools.

                                                  -
                                                  interface AbstractPool<
                                                      Worker extends IWorker,
                                                      Data = unknown,
                                                      Response = unknown,
                                                  > {
                                                      emitter?: EventEmitterAsyncResource;
                                                      filePath: string;
                                                      maximumNumberOfWorkers?: number;
                                                      minimumNumberOfWorkers: number;
                                                      opts: PoolOptions<Worker>;
                                                      promiseResponseMap: Map<
                                                          `${string}-${string}-${string}-${string}-${string}`,
                                                          PromiseResponseWrapper<Response>,
                                                      >;
                                                      workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                                                          Worker,
                                                          Data,
                                                          Response,
                                                      >;
                                                      workerNodes: IWorkerNode<Worker, Data>[];
                                                      get backPressure(): boolean;
                                                      get busy(): boolean;
                                                      get info(): PoolInfo;
                                                      get type(): "fixed" | "dynamic";
                                                      get worker(): "cluster" | "thread";
                                                      addTaskFunction(
                                                          name: string,
                                                          fn: TaskFunction<Data, Response> | TaskFunctionObject<Data, Response>,
                                                      ): Promise<boolean>;
                                                      afterTaskExecutionHook(
                                                          workerNodeKey: number,
                                                          message: MessageValue<Response>,
                                                      ): void;
                                                      afterWorkerNodeSetup(workerNodeKey: number): void;
                                                      beforeTaskExecutionHook(workerNodeKey: number, task: Task<Data>): void;
                                                      checkAndEmitDynamicWorkerCreationEvents(): void;
                                                      checkAndEmitDynamicWorkerDestructionEvents(): void;
                                                      createAndSetupDynamicWorkerNode(): number;
                                                      createAndSetupWorkerNode(): number;
                                                      deregisterWorkerMessageListener<Message>(
                                                          workerNodeKey: number,
                                                          listener: (message: MessageValue<Message>) => void,
                                                      ): void;
                                                      destroy(): Promise<void>;
                                                      destroyWorkerNode(workerNodeKey: number): Promise<void>;
                                                      enableTasksQueue(
                                                          enable: boolean,
                                                          tasksQueueOptions?: TasksQueueOptions,
                                                      ): void;
                                                      execute(
                                                          data?: Data,
                                                          name?: string,
                                                          abortSignal?: AbortSignal,
                                                          transferList?: readonly Transferable[],
                                                      ): Promise<Response>;
                                                      flagWorkerNodeAsNotReady(workerNodeKey: number): void;
                                                      flushTasksQueue(workerNodeKey: number): number;
                                                      getWorkerInfo(workerNodeKey: number): undefined | WorkerInfo;
                                                      hasTaskFunction(name: string): boolean;
                                                      internalBackPressure(): boolean;
                                                      internalBusy(): boolean;
                                                      isMain(): boolean;
                                                      listTaskFunctionsProperties(): TaskFunctionProperties[];
                                                      mapExecute(
                                                          data: Iterable<Data>,
                                                          name?: string,
                                                          abortSignals?: Iterable<AbortSignal, any, any>,
                                                          transferList?: readonly Transferable[],
                                                      ): Promise<Response[]>;
                                                      registerOnceWorkerMessageListener<Message>(
                                                          workerNodeKey: number,
                                                          listener: (message: MessageValue<Message>) => void,
                                                      ): void;
                                                      registerWorkerMessageListener<Message>(
                                                          workerNodeKey: number,
                                                          listener: (message: MessageValue<Message>) => void,
                                                      ): void;
                                                      removeTaskFunction(name: string): Promise<boolean>;
                                                      sendStartupMessageToWorker(workerNodeKey: number): void;
                                                      sendToWorker(
                                                          workerNodeKey: number,
                                                          message: MessageValue<Data>,
                                                          transferList?: readonly Transferable[],
                                                      ): void;
                                                      setDefaultTaskFunction(name: string): Promise<boolean>;
                                                      setTasksQueueOptions(
                                                          tasksQueueOptions: undefined | TasksQueueOptions,
                                                      ): void;
                                                      setupHook(): void;
                                                      setWorkerChoiceStrategy(
                                                          workerChoiceStrategy:
                                                              | "FAIR_SHARE"
                                                              | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                              | "LEAST_BUSY"
                                                              | "LEAST_ELU"
                                                              | "LEAST_USED"
                                                              | "ROUND_ROBIN"
                                                              | "WEIGHTED_ROUND_ROBIN",
                                                          workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions,
                                                      ): void;
                                                      setWorkerChoiceStrategyOptions(
                                                          workerChoiceStrategyOptions: undefined | WorkerChoiceStrategyOptions,
                                                      ): boolean;
                                                      shallCreateDynamicWorker(): boolean;
                                                      start(): void;
                                                      workerMessageListener(message: MessageValue<Response>): void;
                                                  }

                                                  Type Parameters

                                                  Hierarchy (View Summary)

                                                  Implements

                                                  Index

                                                  Properties

                                                  emitter?: EventEmitterAsyncResource
                                                  filePath: string

                                                  Path to the worker file.

                                                  -
                                                  maximumNumberOfWorkers?: number

                                                  Maximum number of workers that this pool manages.

                                                  -
                                                  minimumNumberOfWorkers: number

                                                  Minimum number of workers that this pool manages.

                                                  -

                                                  Options for the pool.

                                                  -
                                                  promiseResponseMap: Map<
                                                      `${string}-${string}-${string}-${string}-${string}`,
                                                      PromiseResponseWrapper<Response>,
                                                  > = ...

                                                  The task execution response promise map:

                                                  +

                                                  Properties

                                                  destroying: boolean

                                                  Whether the pool is destroying or not.

                                                  +
                                                  emitter?: EventEmitterAsyncResource
                                                  filePath: string

                                                  Path to the worker file.

                                                  +
                                                  maximumNumberOfWorkers?: number

                                                  Maximum number of workers that this pool manages.

                                                  +
                                                  minimumNumberOfWorkers: number

                                                  Minimum number of workers that this pool manages.

                                                  +

                                                  Options for the pool.

                                                  +
                                                  promiseResponseMap: Map<
                                                      `${string}-${string}-${string}-${string}-${string}`,
                                                      PromiseResponseWrapper<Response>,
                                                  > = ...

                                                  The task execution response promise map:

                                                  • key: The message id of each submitted task.
                                                  • value: An object that contains task's worker node key, execution response promise resolve and reject callbacks, async resource.

                                                  When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

                                                  -
                                                  workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                                                      Worker,
                                                      Data,
                                                      Response,
                                                  >

                                                  Worker choice strategies context referencing worker choice algorithms implementation.

                                                  -
                                                  workerNodes: IWorkerNode<Worker, Data>[] = []

                                                  Accessors

                                                  started: boolean

                                                  Whether the pool is started or not.

                                                  +
                                                  starting: boolean

                                                  Whether the pool is starting or not.

                                                  +
                                                  workerChoiceStrategiesContext?: WorkerChoiceStrategiesContext<
                                                      Worker,
                                                      Data,
                                                      Response,
                                                  >

                                                  Worker choice strategies context referencing worker choice algorithms implementation.

                                                  +
                                                  workerNodes: IWorkerNode<Worker, Data>[] = []

                                                  Accessors

                                                  • get backPressure(): boolean

                                                    Whether the pool is back pressured or not.

                                                    Returns boolean

                                                    The pool back pressure boolean status.

                                                    -
                                                  • get type(): "fixed" | "dynamic"

                                                    The pool type.

                                                    If it is 'dynamic', it provides the max property.

                                                    -

                                                    Returns "fixed" | "dynamic"

                                                  Methods

                                                  Methods

                                                  • Method hooked up after a worker node has been newly created. +

                                                  Returns void

                                                  Returns void

                                                  Returns void

                                                  Returns void

                                                  Returns Promise<void>

                                                  Returns void

                                                  Returns void

                                                  Returns void

                                                  Returns void

                                                  +

                                                  Returns void

                                                  diff --git a/docs/interfaces/src.AbstractWorker.html b/docs/interfaces/src.AbstractWorker.html index 6723e576a..c1e8633e3 100644 --- a/docs/interfaces/src.AbstractWorker.html +++ b/docs/interfaces/src.AbstractWorker.html @@ -1,8 +1,8 @@ -AbstractWorker | poolifier - v5.0.5
                                                  poolifier - v5.0.5
                                                    Preparing search index...

                                                    Interface AbstractWorker<MainWorker, Data, Response>Abstract

                                                    Base class that implements some shared logic for all poolifier workers.

                                                    +AbstractWorker | poolifier - v5.0.6
                                                    poolifier - v5.0.6
                                                      Preparing search index...

                                                      Interface AbstractWorker<MainWorker, Data, Response>Abstract

                                                      Base class that implements some shared logic for all poolifier workers.

                                                      interface AbstractWorker<
                                                          MainWorker extends MessagePort
                                                          | Worker,
                                                          Data = unknown,
                                                          Response = unknown,
                                                      > {
                                                          activeInterval?: Timeout;
                                                          id: number;
                                                          isMain: undefined | boolean;
                                                          lastTaskTimestamp: number;
                                                          opts: WorkerOptions;
                                                          statistics?: WorkerStatistics;
                                                          taskAbortFunctions: Map<
                                                              `${string}-${string}-${string}-${string}-${string}`,
                                                              () => void,
                                                          >;
                                                          taskFunctions: Map<string, TaskFunctionObject<Data, Response>>;
                                                          addTaskFunction(
                                                              name: string,
                                                              fn: TaskFunctionObject<Data, Response> | TaskFunction<Data, Response>,
                                                          ): TaskFunctionOperationResult;
                                                          getMainWorker(): MainWorker;
                                                          handleError(
                                                              error: Error,
                                                          ): { aborted: boolean; error?: Error; message: string; stack?: string };
                                                          handleKillMessage(message: MessageValue<Data>): void;
                                                          handleReadyMessage(message: MessageValue<Data>): void;
                                                          handleTaskFunctionOperationMessage(message: MessageValue<Data>): void;
                                                          hasTaskFunction(name: string): TaskFunctionOperationResult;
                                                          listTaskFunctionsProperties(): TaskFunctionProperties[];
                                                          messageListener(message: MessageValue<Data>): void;
                                                          removeTaskFunction(name: string): TaskFunctionOperationResult;
                                                          run(task: Task<Data>): void;
                                                          runAsync(fn: TaskAsyncFunction<Data, Response>, task: Task<Data>): void;
                                                          runSync(fn: TaskSyncFunction<Data, Response>, task: Task<Data>): void;
                                                          sendTaskFunctionsPropertiesToMainWorker(): void;
                                                          sendToMainWorker(message: MessageValue<Response, Data>): void;
                                                          setDefaultTaskFunction(name: string): TaskFunctionOperationResult;
                                                      }

                                                      Type Parameters

                                                      • MainWorker extends MessagePort | Worker

                                                        Type of main worker.

                                                      • Data = unknown

                                                        Type of data this worker receives from pool's execution. This can only be structured-cloneable data.

                                                      • Response = unknown

                                                        Type of response the worker sends back to the main worker. This can only be structured-cloneable data.

                                                        -

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Properties

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Properties

                                                      activeInterval?: Timeout

                                                      Handler id of the activeInterval worker activity check.

                                                      -
                                                      id: number

                                                      Worker id.

                                                      -
                                                      isMain: undefined | boolean

                                                      Whether this is the main worker or not.

                                                      -
                                                      lastTaskTimestamp: number

                                                      Timestamp of the last task processed by this worker.

                                                      -
                                                      opts: WorkerOptions = DEFAULT_WORKER_OPTIONS

                                                      Options for the worker.

                                                      -
                                                      statistics?: WorkerStatistics

                                                      Performance statistics computation requirements.

                                                      -
                                                      taskAbortFunctions: Map<
                                                          `${string}-${string}-${string}-${string}-${string}`,
                                                          () => void,
                                                      >

                                                      Task abort functions processed by the worker when task operation 'abort' is received.

                                                      -
                                                      taskFunctions: Map<string, TaskFunctionObject<Data, Response>>

                                                      Task function object(s) processed by the worker when the pool's execute method is invoked.

                                                      -

                                                      Methods

                                                      id: number

                                                      Worker id.

                                                      +
                                                      isMain: undefined | boolean

                                                      Whether this is the main worker or not.

                                                      +
                                                      lastTaskTimestamp: number

                                                      Timestamp of the last task processed by this worker.

                                                      +
                                                      opts: WorkerOptions = DEFAULT_WORKER_OPTIONS

                                                      Options for the worker.

                                                      +
                                                      statistics?: WorkerStatistics

                                                      Performance statistics computation requirements.

                                                      +
                                                      taskAbortFunctions: Map<
                                                          `${string}-${string}-${string}-${string}-${string}`,
                                                          () => void,
                                                      >

                                                      Task abort functions processed by the worker when task operation 'abort' is received.

                                                      +
                                                      taskFunctions: Map<string, TaskFunctionObject<Data, Response>>

                                                      Task function object(s) processed by the worker when the pool's execute method is invoked.

                                                      +

                                                      Methods

                                                      • Handles a worker error.

                                                        +
                                                      • Handles a worker error.

                                                        Parameters

                                                        • error: Error

                                                          The error raised by the worker.

                                                        Returns { aborted: boolean; error?: Error; message: string; stack?: string }

                                                        The worker error object.

                                                        -
                                                      • Handles the ready message sent by the main worker.

                                                        +

                                                      Returns void

                                                      Returns void

                                                      Returns void

                                                      Returns void

                                                      Returns void

                                                      Returns void

                                                      Returns void

                                                      +
                                                      diff --git a/docs/interfaces/src.CircularBuffer.html b/docs/interfaces/src.CircularBuffer.html index 70d67ff3c..7e2c950f9 100644 --- a/docs/interfaces/src.CircularBuffer.html +++ b/docs/interfaces/src.CircularBuffer.html @@ -1,18 +1,18 @@ -CircularBuffer | poolifier - v5.0.5
                                                      poolifier - v5.0.5
                                                        Preparing search index...

                                                        Interface CircularBufferInternal

                                                        Circular buffer designed for numbers.

                                                        -
                                                        interface CircularBuffer {
                                                            size: number;
                                                            empty(): boolean;
                                                            full(): boolean;
                                                            get(): undefined | number;
                                                            put(number: number): void;
                                                            toArray(): number[];
                                                        }
                                                        Index

                                                        Properties

                                                        size +CircularBuffer | poolifier - v5.0.6
                                                        poolifier - v5.0.6
                                                          Preparing search index...

                                                          Interface CircularBufferInternal

                                                          Circular buffer designed for numbers.

                                                          +
                                                          interface CircularBuffer {
                                                              size: number;
                                                              empty(): boolean;
                                                              full(): boolean;
                                                              get(): undefined | number;
                                                              put(number: number): void;
                                                              toArray(): number[];
                                                          }
                                                          Index

                                                          Properties

                                                          Methods

                                                          Properties

                                                          size: number

                                                          Methods

                                                          • Checks whether the buffer is empty.

                                                            +

                                                          Properties

                                                          size: number

                                                          Methods

                                                          • Checks whether the buffer is empty.

                                                            Returns boolean

                                                            Whether the buffer is empty.

                                                            -
                                                          • Checks whether the buffer is full.

                                                            Returns boolean

                                                            Whether the buffer is full.

                                                            -
                                                          • Gets number from buffer.

                                                            Returns undefined | number

                                                            Number from buffer.

                                                            -
                                                          • Puts number into buffer.

                                                            Parameters

                                                            • number: number

                                                              Number to put into buffer.

                                                              -

                                                            Returns void

                                                          • Returns buffer as numbers' array.

                                                            +

                                                          Returns void

                                                          +
                                                          diff --git a/docs/interfaces/src.EventLoopUtilizationMeasurementStatistics.html b/docs/interfaces/src.EventLoopUtilizationMeasurementStatistics.html index ff0005fb4..553983a29 100644 --- a/docs/interfaces/src.EventLoopUtilizationMeasurementStatistics.html +++ b/docs/interfaces/src.EventLoopUtilizationMeasurementStatistics.html @@ -1,6 +1,6 @@ -EventLoopUtilizationMeasurementStatistics | poolifier - v5.0.5
                                                          poolifier - v5.0.5
                                                            Preparing search index...

                                                            Interface EventLoopUtilizationMeasurementStatisticsInternal

                                                            Event loop utilization measurement statistics.

                                                            -
                                                            interface EventLoopUtilizationMeasurementStatistics {
                                                                active: MeasurementStatistics;
                                                                count?: number;
                                                                idle: MeasurementStatistics;
                                                                utilization?: number;
                                                            }
                                                            Index

                                                            Properties

                                                            active +EventLoopUtilizationMeasurementStatistics | poolifier - v5.0.6
                                                            poolifier - v5.0.6
                                                              Preparing search index...

                                                              Interface EventLoopUtilizationMeasurementStatisticsInternal

                                                              Event loop utilization measurement statistics.

                                                              +
                                                              interface EventLoopUtilizationMeasurementStatistics {
                                                                  active: MeasurementStatistics;
                                                                  count?: number;
                                                                  idle: MeasurementStatistics;
                                                                  utilization?: number;
                                                              }
                                                              Index

                                                              Properties

                                                              count?: number
                                                              utilization?: number
                                                              +

                                                              Properties

                                                              count?: number
                                                              utilization?: number
                                                              diff --git a/docs/interfaces/src.FixedQueueNode.html b/docs/interfaces/src.FixedQueueNode.html index 869d512d9..f0b82c846 100644 --- a/docs/interfaces/src.FixedQueueNode.html +++ b/docs/interfaces/src.FixedQueueNode.html @@ -1,5 +1,5 @@ -FixedQueueNode | poolifier - v5.0.5
                                                              poolifier - v5.0.5
                                                                Preparing search index...

                                                                Interface FixedQueueNode<T>Internal

                                                                Fixed queue node.

                                                                +FixedQueueNode | poolifier - v5.0.6
                                                                poolifier - v5.0.6
                                                                  Preparing search index...

                                                                  Interface FixedQueueNode<T>Internal

                                                                  Fixed queue node.

                                                                  interface FixedQueueNode<T> {
                                                                      data: T;
                                                                      priority: number;
                                                                  }

                                                                  Type Parameters

                                                                  • T

                                                                    Type of fixed queue node data.

                                                                    -
                                                                  Index

                                                                  Properties

                                                                  Index

                                                                  Properties

                                                                  Properties

                                                                  data: T
                                                                  priority: number
                                                                  +

                                                                  Properties

                                                                  data: T
                                                                  priority: number
                                                                  diff --git a/docs/interfaces/src.IFixedQueue.html b/docs/interfaces/src.IFixedQueue.html index 19c4a3dc0..0add18a2c 100644 --- a/docs/interfaces/src.IFixedQueue.html +++ b/docs/interfaces/src.IFixedQueue.html @@ -1,6 +1,6 @@ -IFixedQueue | poolifier - v5.0.5
                                                                  poolifier - v5.0.5
                                                                    Preparing search index...

                                                                    Interface IFixedQueue<T>Internal

                                                                    Fixed queue.

                                                                    +IFixedQueue | poolifier - v5.0.6
                                                                    poolifier - v5.0.6
                                                                      Preparing search index...

                                                                      Interface IFixedQueue<T>Internal

                                                                      Fixed queue.

                                                                      interface IFixedQueue<T> {
                                                                          "[iterator]": () => Iterator<T>;
                                                                          capacity: number;
                                                                          clear: () => void;
                                                                          delete: (data: T) => boolean;
                                                                          dequeue: () => undefined | T;
                                                                          empty: () => boolean;
                                                                          enqueue: (data: T, priority?: number) => number;
                                                                          full: () => boolean;
                                                                          get: (index: number) => undefined | T;
                                                                          nodeArray: (undefined | FixedQueueNode<T>)[];
                                                                          size: number;
                                                                      }

                                                                      Type Parameters

                                                                      • T

                                                                        Type of fixed queue data.

                                                                        -
                                                                      Index

                                                                      Properties

                                                                      Index

                                                                      Properties

                                                                      [iterator] capacity clear delete @@ -14,25 +14,25 @@

                                                                      Properties

                                                                      "[iterator]": () => Iterator<T>

                                                                      Returns an iterator for the fixed queue.

                                                                      Type declaration

                                                                        • (): Iterator<T>
                                                                        • Returns Iterator<T>

                                                                          An iterator for the fixed queue.

                                                                      capacity: number

                                                                      The fixed queue capacity.

                                                                      -
                                                                      clear: () => void

                                                                      Clears the fixed queue.

                                                                      -
                                                                      delete: (data: T) => boolean

                                                                      Deletes the given data from the fixed priority queue.

                                                                      +
                                                                      capacity: number

                                                                      The fixed queue capacity.

                                                                      +
                                                                      clear: () => void

                                                                      Clears the fixed queue.

                                                                      +
                                                                      delete: (data: T) => boolean

                                                                      Deletes the given data from the fixed priority queue.

                                                                      Type declaration

                                                                        • (data: T): boolean
                                                                        • Parameters

                                                                          • data: T

                                                                            Data to delete.

                                                                          Returns boolean

                                                                          true if the data was deleted, false otherwise.

                                                                          -
                                                                      dequeue: () => undefined | T

                                                                      Dequeue data from the fixed queue.

                                                                      +
                                                                      dequeue: () => undefined | T

                                                                      Dequeue data from the fixed queue.

                                                                      Type declaration

                                                                        • (): undefined | T
                                                                        • Returns undefined | T

                                                                          The dequeued data or undefined if the fixed queue is empty.

                                                                          -
                                                                      empty: () => boolean

                                                                      Checks if the fixed queue is empty.

                                                                      +
                                                                      empty: () => boolean

                                                                      Checks if the fixed queue is empty.

                                                                      Type declaration

                                                                        • (): boolean
                                                                        • Returns boolean

                                                                          true if the fixed queue is empty, false otherwise.

                                                                          -
                                                                      enqueue: (data: T, priority?: number) => number

                                                                      Enqueue data into the fixed queue.

                                                                      +
                                                                      enqueue: (data: T, priority?: number) => number

                                                                      Enqueue data into the fixed queue.

                                                                      Type declaration

                                                                        • (data: T, priority?: number): number
                                                                        • Parameters

                                                                          • data: T

                                                                            Data to enqueue.

                                                                          • Optionalpriority: number

                                                                            Priority of the data. Lower values have higher priority.

                                                                          Returns number

                                                                          The new size of the fixed queue.

                                                                      If the fixed queue is full.

                                                                      -
                                                                      full: () => boolean

                                                                      Checks if the fixed queue is full.

                                                                      +
                                                                      full: () => boolean

                                                                      Checks if the fixed queue is full.

                                                                      Type declaration

                                                                        • (): boolean
                                                                        • Returns boolean

                                                                          true if the fixed queue is full, false otherwise.

                                                                          -
                                                                      get: (index: number) => undefined | T

                                                                      Gets data from the fixed queue.

                                                                      +
                                                                      get: (index: number) => undefined | T

                                                                      Gets data from the fixed queue.

                                                                      Type declaration

                                                                        • (index: number): undefined | T
                                                                        • Parameters

                                                                          • index: number

                                                                            The index of the data to get.

                                                                          Returns undefined | T

                                                                          The data at the index or undefined if the fixed queue is empty or the index is out of bounds.

                                                                          -
                                                                      nodeArray: (undefined | FixedQueueNode<T>)[]

                                                                      The fixed queue node array.

                                                                      -
                                                                      size: number

                                                                      The fixed queue size.

                                                                      -
                                                                      +
                                                                      nodeArray: (undefined | FixedQueueNode<T>)[]

                                                                      The fixed queue node array.

                                                                      +
                                                                      size: number

                                                                      The fixed queue size.

                                                                      +
                                                                      diff --git a/docs/interfaces/src.IPool.html b/docs/interfaces/src.IPool.html index 2b27cbe0b..a232e07c3 100644 --- a/docs/interfaces/src.IPool.html +++ b/docs/interfaces/src.IPool.html @@ -1,8 +1,8 @@ -IPool | poolifier - v5.0.5
                                                                      poolifier - v5.0.5
                                                                        Preparing search index...

                                                                        Interface IPool<Worker, Data, Response>

                                                                        Contract definition for a poolifier pool.

                                                                        +IPool | poolifier - v5.0.6
                                                                        poolifier - v5.0.6
                                                                          Preparing search index...

                                                                          Interface IPool<Worker, Data, Response>

                                                                          Contract definition for a poolifier pool.

                                                                          interface IPool<Worker extends IWorker, Data = unknown, Response = unknown> {
                                                                              addTaskFunction: (
                                                                                  name: string,
                                                                                  fn: TaskFunction<Data, Response> | TaskFunctionObject<Data, Response>,
                                                                              ) => Promise<boolean>;
                                                                              destroy: () => Promise<void>;
                                                                              emitter?: EventEmitterAsyncResource;
                                                                              enableTasksQueue: (
                                                                                  enable: boolean,
                                                                                  tasksQueueOptions?: TasksQueueOptions,
                                                                              ) => void;
                                                                              execute: (
                                                                                  data?: Data,
                                                                                  name?: string,
                                                                                  abortSignal?: AbortSignal,
                                                                                  transferList?: readonly Transferable[],
                                                                              ) => Promise<Response>;
                                                                              hasTaskFunction: (name: string) => boolean;
                                                                              info: PoolInfo;
                                                                              listTaskFunctionsProperties: () => TaskFunctionProperties[];
                                                                              mapExecute: (
                                                                                  data: Iterable<Data>,
                                                                                  name?: string,
                                                                                  abortSignals?: Iterable<AbortSignal, any, any>,
                                                                                  transferList?: readonly Transferable[],
                                                                              ) => Promise<Response[]>;
                                                                              removeTaskFunction: (name: string) => Promise<boolean>;
                                                                              setDefaultTaskFunction: (name: string) => Promise<boolean>;
                                                                              setTasksQueueOptions: (tasksQueueOptions: TasksQueueOptions) => void;
                                                                              setWorkerChoiceStrategy: (
                                                                                  workerChoiceStrategy:
                                                                                      | "FAIR_SHARE"
                                                                                      | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                      | "LEAST_BUSY"
                                                                                      | "LEAST_ELU"
                                                                                      | "LEAST_USED"
                                                                                      | "ROUND_ROBIN"
                                                                                      | "WEIGHTED_ROUND_ROBIN",
                                                                                  workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions,
                                                                              ) => void;
                                                                              setWorkerChoiceStrategyOptions: (
                                                                                  workerChoiceStrategyOptions: WorkerChoiceStrategyOptions,
                                                                              ) => boolean;
                                                                              start: () => void;
                                                                              workerNodes: IWorkerNode<Worker, Data>[];
                                                                          }

                                                                          Type Parameters

                                                                          • Worker extends IWorker

                                                                            Type of worker which manages this pool.

                                                                          • Data = unknown

                                                                            Type of data sent to the worker. This can only be structured-cloneable data.

                                                                          • Response = unknown

                                                                            Type of execution response. This can only be structured-cloneable data.

                                                                            -

                                                                          Implemented by

                                                                          Index

                                                                          Properties

                                                                          Implemented by

                                                                          Index

                                                                          Properties

                                                                          addTaskFunction destroy emitter? enableTasksQueue @@ -25,8 +25,8 @@ If a task function with the same name already exists, it will be overwritten.

                                                                          Returns Promise<boolean>

                                                                          true if the task function was added, false otherwise.

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

                                                                          https://nodejs.org/api/errors.html#class-typeerror If the fn parameter is not a function or task function object.

                                                                          -
                                                                          destroy: () => Promise<void>

                                                                          Terminates all workers in this pool.

                                                                          -
                                                                          emitter?: EventEmitterAsyncResource

                                                                          Pool event emitter integrated with async resource. +

                                                                          destroy: () => Promise<void>

                                                                          Terminates all workers in this pool.

                                                                          +
                                                                          emitter?: EventEmitterAsyncResource

                                                                          Pool event emitter integrated with async resource. The async tracking tooling identifier is poolifier:<PoolType>-<WorkerType>-pool.

                                                                          Events that can currently be listened to:

                                                                            @@ -42,41 +42,41 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
                                                                          • 'backPressure': Emitted when the number of workers created in the pool has reached the maximum size expected and are back pressured (i.e. their tasks queue is full: queue size >= maximum queue size).
                                                                          • 'backPressureEnd': Emitted when the number of workers created in the pool has reached the maximum size expected and are no longer back pressured (i.e. their tasks queue is no longer full: queue size < maximum queue size).
                                                                          -
                                                                          enableTasksQueue: (
                                                                              enable: boolean,
                                                                              tasksQueueOptions?: TasksQueueOptions,
                                                                          ) => void

                                                                          Enables/disables the worker node tasks queue in this pool.

                                                                          +
                                                                          enableTasksQueue: (
                                                                              enable: boolean,
                                                                              tasksQueueOptions?: TasksQueueOptions,
                                                                          ) => void

                                                                          Enables/disables the worker node tasks queue in this pool.

                                                                          Type declaration

                                                                            • (enable: boolean, tasksQueueOptions?: TasksQueueOptions): void
                                                                            • Parameters

                                                                              • enable: boolean

                                                                                Whether to enable or disable the worker node tasks queue.

                                                                              • OptionaltasksQueueOptions: TasksQueueOptions

                                                                                The worker node tasks queue options.

                                                                                -

                                                                              Returns void

                                                                          execute: (
                                                                              data?: Data,
                                                                              name?: string,
                                                                              abortSignal?: AbortSignal,
                                                                              transferList?: readonly Transferable[],
                                                                          ) => Promise<Response>

                                                                          Executes the specified function in the worker constructor with the task data input parameter.

                                                                          +

                                                                          Returns void

                                                                          execute: (
                                                                              data?: Data,
                                                                              name?: string,
                                                                              abortSignal?: AbortSignal,
                                                                              transferList?: readonly Transferable[],
                                                                          ) => Promise<Response>

                                                                          Executes the specified function in the worker constructor with the task data input parameter.

                                                                          Type declaration

                                                                            • (
                                                                                  data?: Data,
                                                                                  name?: string,
                                                                                  abortSignal?: AbortSignal,
                                                                                  transferList?: readonly Transferable[],
                                                                              ): Promise<Response>
                                                                            • Parameters

                                                                              • Optionaldata: Data

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

                                                                              • Optionalname: string

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

                                                                              • OptionalabortSignal: AbortSignal

                                                                                The optional AbortSignal to abort the task.

                                                                              • OptionaltransferList: readonly Transferable[]

                                                                                The optional array of transferable objects to transfer ownership of. Ownership of the transferred objects is given to the chosen pool's worker_threads worker and they should not be used in the main thread afterwards.

                                                                              Returns Promise<Response>

                                                                              Promise with a task function response that will be fulfilled when the task is completed.

                                                                              -
                                                                          hasTaskFunction: (name: string) => boolean

                                                                          Whether the specified task function exists in this pool.

                                                                          +
                                                                          hasTaskFunction: (name: string) => boolean

                                                                          Whether the specified task function exists in this pool.

                                                                          Type declaration

                                                                            • (name: string): boolean
                                                                            • Parameters

                                                                              • name: string

                                                                                The name of the task function.

                                                                              Returns boolean

                                                                              true if the task function exists, false otherwise.

                                                                              -
                                                                          info: PoolInfo

                                                                          Pool information.

                                                                          -
                                                                          listTaskFunctionsProperties: () => TaskFunctionProperties[]

                                                                          Lists the properties of task functions available in this pool.

                                                                          +
                                                                          info: PoolInfo

                                                                          Pool information.

                                                                          +
                                                                          listTaskFunctionsProperties: () => TaskFunctionProperties[]

                                                                          Lists the properties of task functions available in this pool.

                                                                          Type declaration

                                                                          mapExecute: (
                                                                              data: Iterable<Data>,
                                                                              name?: string,
                                                                              abortSignals?: Iterable<AbortSignal, any, any>,
                                                                              transferList?: readonly Transferable[],
                                                                          ) => Promise<Response[]>

                                                                          Executes the specified function in the worker constructor with the tasks data iterable input parameter.

                                                                          +
                                                                          mapExecute: (
                                                                              data: Iterable<Data>,
                                                                              name?: string,
                                                                              abortSignals?: Iterable<AbortSignal, any, any>,
                                                                              transferList?: readonly Transferable[],
                                                                          ) => Promise<Response[]>

                                                                          Executes the specified function in the worker constructor with the tasks data iterable input parameter.

                                                                          Type declaration

                                                                            • (
                                                                                  data: Iterable<Data>,
                                                                                  name?: string,
                                                                                  abortSignals?: Iterable<AbortSignal, any, any>,
                                                                                  transferList?: readonly Transferable[],
                                                                              ): Promise<Response[]>
                                                                            • Parameters

                                                                              • data: Iterable<Data>

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

                                                                              • Optionalname: string

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

                                                                              • OptionalabortSignals: Iterable<AbortSignal, any, any>

                                                                                The optional iterable of AbortSignal to abort the tasks iterable.

                                                                              • OptionaltransferList: readonly Transferable[]

                                                                                The optional array of transferable objects to transfer ownership of. Ownership of the transferred objects is given to the chosen pool's worker_threads worker and they should not be used in the main thread afterwards.

                                                                              Returns Promise<Response[]>

                                                                              Promise with an array of task function responses that will be fulfilled when the tasks are completed.

                                                                              -
                                                                          removeTaskFunction: (name: string) => Promise<boolean>

                                                                          Removes a task function from this pool.

                                                                          +
                                                                          removeTaskFunction: (name: string) => Promise<boolean>

                                                                          Removes a task function from this pool.

                                                                          Type declaration

                                                                            • (name: string): Promise<boolean>
                                                                            • Parameters

                                                                              • name: string

                                                                                The name of the task function.

                                                                              Returns Promise<boolean>

                                                                              true if the task function was removed, false otherwise.

                                                                              -
                                                                          setDefaultTaskFunction: (name: string) => Promise<boolean>

                                                                          Sets the default task function in this pool.

                                                                          +
                                                                          setDefaultTaskFunction: (name: string) => Promise<boolean>

                                                                          Sets the default task function in this pool.

                                                                          Type declaration

                                                                            • (name: string): Promise<boolean>
                                                                            • Parameters

                                                                              • name: string

                                                                                The name of the task function.

                                                                              Returns Promise<boolean>

                                                                              true if the default task function was set, false otherwise.

                                                                              -
                                                                          setTasksQueueOptions: (tasksQueueOptions: TasksQueueOptions) => void

                                                                          Sets the worker node tasks queue options in this pool.

                                                                          +
                                                                          setTasksQueueOptions: (tasksQueueOptions: TasksQueueOptions) => void

                                                                          Sets the worker node tasks queue options in this pool.

                                                                          Type declaration

                                                                          setWorkerChoiceStrategy: (
                                                                              workerChoiceStrategy:
                                                                                  | "FAIR_SHARE"
                                                                                  | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                  | "LEAST_BUSY"
                                                                                  | "LEAST_ELU"
                                                                                  | "LEAST_USED"
                                                                                  | "ROUND_ROBIN"
                                                                                  | "WEIGHTED_ROUND_ROBIN",
                                                                              workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions,
                                                                          ) => void

                                                                          Sets the default worker choice strategy in this pool.

                                                                          +

                                                                          Returns void

                                                                          setWorkerChoiceStrategy: (
                                                                              workerChoiceStrategy:
                                                                                  | "FAIR_SHARE"
                                                                                  | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                  | "LEAST_BUSY"
                                                                                  | "LEAST_ELU"
                                                                                  | "LEAST_USED"
                                                                                  | "ROUND_ROBIN"
                                                                                  | "WEIGHTED_ROUND_ROBIN",
                                                                              workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions,
                                                                          ) => void

                                                                          Sets the default worker choice strategy in this pool.

                                                                          Type declaration

                                                                            • (
                                                                                  workerChoiceStrategy:
                                                                                      | "FAIR_SHARE"
                                                                                      | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                      | "LEAST_BUSY"
                                                                                      | "LEAST_ELU"
                                                                                      | "LEAST_USED"
                                                                                      | "ROUND_ROBIN"
                                                                                      | "WEIGHTED_ROUND_ROBIN",
                                                                                  workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions,
                                                                              ): void
                                                                            • Parameters

                                                                              • workerChoiceStrategy:
                                                                                    | "FAIR_SHARE"
                                                                                    | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                    | "LEAST_BUSY"
                                                                                    | "LEAST_ELU"
                                                                                    | "LEAST_USED"
                                                                                    | "ROUND_ROBIN"
                                                                                    | "WEIGHTED_ROUND_ROBIN"

                                                                                The default worker choice strategy.

                                                                              • OptionalworkerChoiceStrategyOptions: WorkerChoiceStrategyOptions

                                                                                The worker choice strategy options.

                                                                                -

                                                                              Returns void

                                                                          setWorkerChoiceStrategyOptions: (
                                                                              workerChoiceStrategyOptions: WorkerChoiceStrategyOptions,
                                                                          ) => boolean

                                                                          Sets the worker choice strategy options in this pool.

                                                                          +

                                                                          Returns void

                                                                          setWorkerChoiceStrategyOptions: (
                                                                              workerChoiceStrategyOptions: WorkerChoiceStrategyOptions,
                                                                          ) => boolean

                                                                          Sets the worker choice strategy options in this pool.

                                                                          Type declaration

                                                                          start: () => void

                                                                          Starts the minimum number of workers in this pool.

                                                                          -
                                                                          workerNodes: IWorkerNode<Worker, Data>[]

                                                                          Pool worker nodes.

                                                                          -
                                                                          +
                                                                          start: () => void

                                                                          Starts the minimum number of workers in this pool.

                                                                          +
                                                                          workerNodes: IWorkerNode<Worker, Data>[]

                                                                          Pool worker nodes.

                                                                          +
                                                                          diff --git a/docs/interfaces/src.IWorker.html b/docs/interfaces/src.IWorker.html index 2d4c2a329..5cdc42f72 100644 --- a/docs/interfaces/src.IWorker.html +++ b/docs/interfaces/src.IWorker.html @@ -1,5 +1,5 @@ -IWorker | poolifier - v5.0.5
                                                                          poolifier - v5.0.5
                                                                            Preparing search index...

                                                                            Interface IWorker

                                                                            Worker interface.

                                                                            -
                                                                            interface IWorker {
                                                                                disconnect?: () => void;
                                                                                id?: number;
                                                                                kill?: (signal?: string) => void;
                                                                                on: (event: string, handler: EventHandler<IWorker>) => this;
                                                                                once: (event: string, handler: EventHandler<IWorker>) => this;
                                                                                terminate?: () => Promise<number>;
                                                                                threadId?: number;
                                                                                unref?: () => void;
                                                                                "[captureRejectionSymbol]"<K>(
                                                                                    error: Error,
                                                                                    event: string | symbol,
                                                                                    ...args: AnyRest,
                                                                                ): void;
                                                                                addListener<K>(
                                                                                    eventName: string | symbol,
                                                                                    listener: (...args: any[]) => void,
                                                                                ): this;
                                                                                emit<K>(eventName: string | symbol, ...args: AnyRest): boolean;
                                                                                eventNames(): (string | symbol)[];
                                                                                getMaxListeners(): number;
                                                                                listenerCount<K>(eventName: string | symbol, listener?: Function): number;
                                                                                listeners<K>(eventName: string | symbol): Function[];
                                                                                off<K>(
                                                                                    eventName: string | symbol,
                                                                                    listener: (...args: any[]) => void,
                                                                                ): this;
                                                                                prependListener<K>(
                                                                                    eventName: string | symbol,
                                                                                    listener: (...args: any[]) => void,
                                                                                ): this;
                                                                                prependOnceListener<K>(
                                                                                    eventName: string | symbol,
                                                                                    listener: (...args: any[]) => void,
                                                                                ): this;
                                                                                rawListeners<K>(eventName: string | symbol): Function[];
                                                                                removeAllListeners(eventName?: string | symbol): this;
                                                                                removeListener<K>(
                                                                                    eventName: string | symbol,
                                                                                    listener: (...args: any[]) => void,
                                                                                ): this;
                                                                                setMaxListeners(n: number): this;
                                                                            }

                                                                            Hierarchy

                                                                            • EventEmitter
                                                                              • IWorker
                                                                            Index

                                                                            Properties

                                                                            disconnect? +IWorker | poolifier - v5.0.6
                                                                            poolifier - v5.0.6
                                                                              Preparing search index...

                                                                              Interface IWorker

                                                                              Worker interface.

                                                                              +
                                                                              interface IWorker {
                                                                                  disconnect?: () => void;
                                                                                  id?: number;
                                                                                  kill?: (signal?: string) => void;
                                                                                  on: (event: string, handler: EventHandler<IWorker>) => this;
                                                                                  once: (event: string, handler: EventHandler<IWorker>) => this;
                                                                                  terminate?: () => Promise<number>;
                                                                                  threadId?: number;
                                                                                  unref?: () => void;
                                                                                  "[captureRejectionSymbol]"<K>(
                                                                                      error: Error,
                                                                                      event: string | symbol,
                                                                                      ...args: AnyRest,
                                                                                  ): void;
                                                                                  addListener<K>(
                                                                                      eventName: string | symbol,
                                                                                      listener: (...args: any[]) => void,
                                                                                  ): this;
                                                                                  emit<K>(eventName: string | symbol, ...args: AnyRest): boolean;
                                                                                  eventNames(): (string | symbol)[];
                                                                                  getMaxListeners(): number;
                                                                                  listenerCount<K>(eventName: string | symbol, listener?: Function): number;
                                                                                  listeners<K>(eventName: string | symbol): Function[];
                                                                                  off<K>(
                                                                                      eventName: string | symbol,
                                                                                      listener: (...args: any[]) => void,
                                                                                  ): this;
                                                                                  prependListener<K>(
                                                                                      eventName: string | symbol,
                                                                                      listener: (...args: any[]) => void,
                                                                                  ): this;
                                                                                  prependOnceListener<K>(
                                                                                      eventName: string | symbol,
                                                                                      listener: (...args: any[]) => void,
                                                                                  ): this;
                                                                                  rawListeners<K>(eventName: string | symbol): Function[];
                                                                                  removeAllListeners(eventName?: string | symbol): this;
                                                                                  removeListener<K>(
                                                                                      eventName: string | symbol,
                                                                                      listener: (...args: any[]) => void,
                                                                                  ): this;
                                                                                  setMaxListeners(n: number): this;
                                                                              }

                                                                              Hierarchy

                                                                              • EventEmitter
                                                                                • IWorker
                                                                              Index

                                                                              Properties

                                                                              Properties

                                                                              disconnect?: () => void

                                                                              Cluster worker disconnect.

                                                                              -
                                                                              id?: number

                                                                              Cluster worker id.

                                                                              -
                                                                              kill?: (signal?: string) => void

                                                                              Cluster worker kill.

                                                                              -
                                                                              on: (event: string, handler: EventHandler<IWorker>) => this

                                                                              Registers an event handler.

                                                                              +
                                                                              id?: number

                                                                              Cluster worker id.

                                                                              +
                                                                              kill?: (signal?: string) => void

                                                                              Cluster worker kill.

                                                                              +
                                                                              on: (event: string, handler: EventHandler<IWorker>) => this

                                                                              Registers an event handler.

                                                                              Type declaration

                                                                              once: (event: string, handler: EventHandler<IWorker>) => this

                                                                              Registers once an event handler.

                                                                              +

                                                                              Returns this

                                                                              once: (event: string, handler: EventHandler<IWorker>) => this

                                                                              Registers once an event handler.

                                                                              Type declaration

                                                                              terminate?: () => Promise<number>

                                                                              Stop all JavaScript execution in the worker thread as soon as possible. +

                                                                              Returns this

                                                                              terminate?: () => Promise<number>

                                                                              Stop all JavaScript execution in the worker thread as soon as possible. Returns a Promise for the exit code that is fulfilled when the 'exit' event is emitted.

                                                                              -
                                                                              threadId?: number

                                                                              Worker thread worker id.

                                                                              -
                                                                              unref?: () => void

                                                                              Calling unref() on a worker allows the thread to exit if this is the only +

                                                                              threadId?: number

                                                                              Worker thread worker id.

                                                                              +
                                                                              unref?: () => void

                                                                              Calling unref() on a worker allows the thread to exit if this is the only active handle in the event system. If the worker is already unref()ed callingunref() again has no effect.

                                                                              v10.5.0

                                                                              -

                                                                              Methods

                                                                              • Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • error: Error
                                                                                • event: string | symbol
                                                                                • ...args: AnyRest

                                                                                Returns void

                                                                              • Alias for emitter.on(eventName, listener).

                                                                                +

                                                                              Methods

                                                                              • Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • error: Error
                                                                                • event: string | symbol
                                                                                • ...args: AnyRest

                                                                                Returns void

                                                                              • Alias for emitter.on(eventName, listener).

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol
                                                                                • listener: (...args: any[]) => void

                                                                                Returns this

                                                                                v0.1.26

                                                                                -
                                                                              • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments +

                                                                              • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.

                                                                                Returns true if the event had listeners, false otherwise.

                                                                                import { EventEmitter } from 'node:events';
                                                                                const myEmitter = new EventEmitter();

                                                                                // First listener
                                                                                myEmitter.on('event', function firstListener() {
                                                                                console.log('Helloooo! first listener');
                                                                                });
                                                                                // Second listener
                                                                                myEmitter.on('event', function secondListener(arg1, arg2) {
                                                                                console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
                                                                                });
                                                                                // Third listener
                                                                                myEmitter.on('event', function thirdListener(...args) {
                                                                                const parameters = args.join(', ');
                                                                                console.log(`event with parameters ${parameters} in third listener`);
                                                                                });

                                                                                console.log(myEmitter.listeners('event'));

                                                                                myEmitter.emit('event', 1, 2, 3, 4, 5);

                                                                                // Prints:
                                                                                // [
                                                                                // [Function: firstListener],
                                                                                // [Function: secondListener],
                                                                                // [Function: thirdListener]
                                                                                // ]
                                                                                // Helloooo! first listener
                                                                                // event with parameters 1, 2 in second listener
                                                                                // event with parameters 1, 2, 3, 4, 5 in third listener

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol
                                                                                • ...args: AnyRest

                                                                                Returns boolean

                                                                                v0.1.26

                                                                                -
                                                                              • Returns an array listing the events for which the emitter has registered +

                                                                              • Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

                                                                                import { EventEmitter } from 'node:events';

                                                                                const myEE = new EventEmitter();
                                                                                myEE.on('foo', () => {});
                                                                                myEE.on('bar', () => {});

                                                                                const sym = Symbol('symbol');
                                                                                myEE.on(sym, () => {});

                                                                                console.log(myEE.eventNames());
                                                                                // Prints: [ 'foo', 'bar', Symbol(symbol) ]

                                                                                Returns (string | symbol)[]

                                                                                v6.0.0

                                                                                -
                                                                              • Returns the current max listener value for the EventEmitter which is either +

                                                                              • Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to EventEmitter.defaultMaxListeners.

                                                                                Returns number

                                                                                v1.0.0

                                                                                -
                                                                              • Returns the number of listeners listening for the event named eventName. +

                                                                              • Returns the number of listeners listening for the event named eventName. If listener is provided, it will return how many times the listener is found in the list of the listeners of the event.

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol

                                                                                  The name of the event being listened for

                                                                                • Optionallistener: Function

                                                                                  The event handler function

                                                                                Returns number

                                                                                v3.2.0

                                                                                -
                                                                              • Returns a copy of the array of listeners for the event named eventName.

                                                                                +
                                                                              • Returns a copy of the array of listeners for the event named eventName.

                                                                                server.on('connection', (stream) => {
                                                                                console.log('someone connected!');
                                                                                });
                                                                                console.log(util.inspect(server.listeners('connection')));
                                                                                // Prints: [ [Function] ]

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol

                                                                                Returns Function[]

                                                                                v0.1.26

                                                                                -
                                                                              • Alias for emitter.removeListener().

                                                                                +
                                                                              • Alias for emitter.removeListener().

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol
                                                                                • listener: (...args: any[]) => void

                                                                                Returns this

                                                                                v10.0.0

                                                                                -
                                                                              • Adds the listener function to the beginning of the listeners array for the +

                                                                              • Adds the listener function to the beginning of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.

                                                                                @@ -78,7 +78,7 @@ and listener will result in the listener being added,

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol

                                                                                  The name of the event.

                                                                                • listener: (...args: any[]) => void

                                                                                  The callback function

                                                                                Returns this

                                                                                v6.0.0

                                                                                -
                                                                              • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this +

                                                                              • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this listener is removed, and then invoked.

                                                                                server.prependOnceListener('connection', (stream) => {
                                                                                console.log('Ah, we have our first user!');
                                                                                });
                                                                                @@ -87,19 +87,19 @@ listener is removed, and then invoked.

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol

                                                                                  The name of the event.

                                                                                • listener: (...args: any[]) => void

                                                                                  The callback function

                                                                                Returns this

                                                                                v6.0.0

                                                                                -
                                                                              • Returns a copy of the array of listeners for the event named eventName, +

                                                                              • Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

                                                                                import { EventEmitter } from 'node:events';
                                                                                const emitter = new EventEmitter();
                                                                                emitter.once('log', () => console.log('log once'));

                                                                                // Returns a new Array with a function `onceWrapper` which has a property
                                                                                // `listener` which contains the original listener bound above
                                                                                const listeners = emitter.rawListeners('log');
                                                                                const logFnWrapper = listeners[0];

                                                                                // Logs "log once" to the console and does not unbind the `once` event
                                                                                logFnWrapper.listener();

                                                                                // Logs "log once" to the console and removes the listener
                                                                                logFnWrapper();

                                                                                emitter.on('log', () => console.log('log persistently'));
                                                                                // Will return a new Array with a single function bound by `.on()` above
                                                                                const newListeners = emitter.rawListeners('log');

                                                                                // Logs "log persistently" twice
                                                                                newListeners[0]();
                                                                                emitter.emit('log');

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol

                                                                                Returns Function[]

                                                                                v9.4.0

                                                                                -
                                                                              • Removes all listeners, or those of the specified eventName.

                                                                                +
                                                                              • Removes all listeners, or those of the specified eventName.

                                                                                It is bad practice to remove listeners added elsewhere in the code, particularly when the EventEmitter instance was created by some other component or module (e.g. sockets or file streams).

                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                Parameters

                                                                                • OptionaleventName: string | symbol

                                                                                Returns this

                                                                                v0.1.26

                                                                                -
                                                                              • Removes the specified listener from the listener array for the event named eventName.

                                                                                +
                                                                              • Removes the specified listener from the listener array for the event named eventName.

                                                                                const callback = (stream) => {
                                                                                console.log('someone connected!');
                                                                                };
                                                                                server.on('connection', callback);
                                                                                // ...
                                                                                server.removeListener('connection', callback);
                                                                                @@ -126,10 +126,10 @@ recently added instance. In the example the once('ping') listener i

                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                Type Parameters

                                                                                • K

                                                                                Parameters

                                                                                • eventName: string | symbol
                                                                                • listener: (...args: any[]) => void

                                                                                Returns this

                                                                                v0.1.26

                                                                                -
                                                                              • By default EventEmitters will print a warning if more than 10 listeners are +

                                                                              • By default EventEmitters will print a warning if more than 10 listeners are added for a particular event. This is a useful default that helps finding memory leaks. The emitter.setMaxListeners() method allows the limit to be modified for this specific EventEmitter instance. The value can be set to Infinity (or 0) to indicate an unlimited number of listeners.

                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                Parameters

                                                                                • n: number

                                                                                Returns this

                                                                                v0.3.5

                                                                                -
                                                                              +
                                                                              diff --git a/docs/interfaces/src.IWorkerChoiceStrategy.html b/docs/interfaces/src.IWorkerChoiceStrategy.html index 70cecd021..b56597fce 100644 --- a/docs/interfaces/src.IWorkerChoiceStrategy.html +++ b/docs/interfaces/src.IWorkerChoiceStrategy.html @@ -1,5 +1,6 @@ -IWorkerChoiceStrategy | poolifier - v5.0.5
                                                                              poolifier - v5.0.5
                                                                                Preparing search index...

                                                                                Interface IWorkerChoiceStrategyInternal

                                                                                Worker choice strategy interface.

                                                                                -
                                                                                interface IWorkerChoiceStrategy {
                                                                                    choose: () => undefined | number;
                                                                                    remove: (workerNodeKey: number) => boolean;
                                                                                    reset: () => boolean;
                                                                                    setOptions: (opts: undefined | WorkerChoiceStrategyOptions) => void;
                                                                                    strategyPolicy: StrategyPolicy;
                                                                                    taskStatisticsRequirements: TaskStatisticsRequirements;
                                                                                    update: (workerNodeKey: number) => boolean;
                                                                                }
                                                                                Index

                                                                                Properties

                                                                                choose +IWorkerChoiceStrategy | poolifier - v5.0.6
                                                                                poolifier - v5.0.6
                                                                                  Preparing search index...

                                                                                  Interface IWorkerChoiceStrategyInternal

                                                                                  Worker choice strategy interface.

                                                                                  +
                                                                                  interface IWorkerChoiceStrategy {
                                                                                      choose: () => undefined | number;
                                                                                      name:
                                                                                          | "FAIR_SHARE"
                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                          | "LEAST_BUSY"
                                                                                          | "LEAST_ELU"
                                                                                          | "LEAST_USED"
                                                                                          | "ROUND_ROBIN"
                                                                                          | "WEIGHTED_ROUND_ROBIN";
                                                                                      remove: (workerNodeKey: number) => boolean;
                                                                                      reset: () => boolean;
                                                                                      setOptions: (opts: undefined | WorkerChoiceStrategyOptions) => void;
                                                                                      strategyPolicy: StrategyPolicy;
                                                                                      taskStatisticsRequirements: TaskStatisticsRequirements;
                                                                                      update: (workerNodeKey: number) => boolean;
                                                                                  }
                                                                                  Index

                                                                                  Properties

                                                                                  choose +name remove reset setOptions @@ -10,16 +11,17 @@ If no worker nodes are not eligible, undefined is returned. If undefined is returned, the caller retry.

                                                                                  Type declaration

                                                                                    • (): undefined | number
                                                                                    • Returns undefined | number

                                                                                      The worker node key or undefined.

                                                                                      -
                                                                                  remove: (workerNodeKey: number) => boolean

                                                                                  Removes the worker node key from strategy internals.

                                                                                  +
                                                                                  name:
                                                                                      | "FAIR_SHARE"
                                                                                      | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                      | "LEAST_BUSY"
                                                                                      | "LEAST_ELU"
                                                                                      | "LEAST_USED"
                                                                                      | "ROUND_ROBIN"
                                                                                      | "WEIGHTED_ROUND_ROBIN"

                                                                                  The worker choice strategy name.

                                                                                  +
                                                                                  remove: (workerNodeKey: number) => boolean

                                                                                  Removes the worker node key from strategy internals.

                                                                                  Type declaration

                                                                                    • (workerNodeKey: number): boolean
                                                                                    • Parameters

                                                                                      • workerNodeKey: number

                                                                                        The worker node key.

                                                                                      Returns boolean

                                                                                      true if the worker node key is removed, false otherwise.

                                                                                      -
                                                                                  reset: () => boolean

                                                                                  Resets strategy internals.

                                                                                  +
                                                                                  reset: () => boolean

                                                                                  Resets strategy internals.

                                                                                  Type declaration

                                                                                    • (): boolean
                                                                                    • Returns boolean

                                                                                      true if the reset is successful, false otherwise.

                                                                                      -
                                                                                  setOptions: (opts: undefined | WorkerChoiceStrategyOptions) => void

                                                                                  Sets the worker choice strategy options.

                                                                                  +
                                                                                  setOptions: (opts: undefined | WorkerChoiceStrategyOptions) => void

                                                                                  Sets the worker choice strategy options.

                                                                                  Type declaration

                                                                                  strategyPolicy: StrategyPolicy

                                                                                  Strategy policy.

                                                                                  -
                                                                                  taskStatisticsRequirements: TaskStatisticsRequirements

                                                                                  Tasks statistics requirements.

                                                                                  -
                                                                                  update: (workerNodeKey: number) => boolean

                                                                                  Updates the worker node key strategy internals. +

                                                                                  Returns void

                                                                                  strategyPolicy: StrategyPolicy

                                                                                  Strategy policy.

                                                                                  +
                                                                                  taskStatisticsRequirements: TaskStatisticsRequirements

                                                                                  Tasks statistics requirements.

                                                                                  +
                                                                                  update: (workerNodeKey: number) => boolean

                                                                                  Updates the worker node key strategy internals. This is called after a task has been executed on a worker node.

                                                                                  Type declaration

                                                                                    • (workerNodeKey: number): boolean
                                                                                    • Parameters

                                                                                      • workerNodeKey: number

                                                                                      Returns boolean

                                                                                      true if the update is successful, false otherwise.

                                                                                      -
                                                                                  +
                                                                                  diff --git a/docs/interfaces/src.IWorkerNode.html b/docs/interfaces/src.IWorkerNode.html index b7da7717c..8ea6e2aa9 100644 --- a/docs/interfaces/src.IWorkerNode.html +++ b/docs/interfaces/src.IWorkerNode.html @@ -1,7 +1,7 @@ -IWorkerNode | poolifier - v5.0.5
                                                                                  poolifier - v5.0.5
                                                                                    Preparing search index...

                                                                                    Interface IWorkerNode<Worker, Data>Internal

                                                                                    Worker node interface.

                                                                                    +IWorkerNode | poolifier - v5.0.6
                                                                                    poolifier - v5.0.6
                                                                                      Preparing search index...

                                                                                      Interface IWorkerNode<Worker, Data>Internal

                                                                                      Worker node interface.

                                                                                      interface IWorkerNode<Worker extends IWorker, Data = unknown> {
                                                                                          clearTasksQueue: () => void;
                                                                                          deleteTask: (task: Task<Data>) => boolean;
                                                                                          deleteTaskFunctionWorkerUsage: (name: string) => boolean;
                                                                                          dequeueLastPrioritizedTask: () => undefined | Task<Data>;
                                                                                          dequeueTask: (bucket?: number) => undefined | Task<Data>;
                                                                                          enqueueTask: (task: Task<Data>) => number;
                                                                                          getTaskFunctionWorkerUsage: (name: string) => undefined | WorkerUsage;
                                                                                          info: WorkerInfo;
                                                                                          messageChannel?: MessageChannel;
                                                                                          registerOnceWorkerEventHandler: (
                                                                                              event: string,
                                                                                              handler: EventHandler<Worker>,
                                                                                          ) => void;
                                                                                          registerWorkerEventHandler: (
                                                                                              event: string,
                                                                                              handler: EventHandler<Worker>,
                                                                                          ) => void;
                                                                                          setTasksQueuePriority: (enablePriority: boolean) => void;
                                                                                          strategyData?: StrategyData;
                                                                                          tasksQueue: PriorityQueue<Task<Data>>;
                                                                                          tasksQueueBackPressureSize: number;
                                                                                          tasksQueueSize: () => number;
                                                                                          terminate: () => Promise<void>;
                                                                                          usage: WorkerUsage;
                                                                                          worker: Worker;
                                                                                          "[captureRejectionSymbol]"<K>(
                                                                                              error: Error,
                                                                                              event: string | symbol,
                                                                                              ...args: AnyRest,
                                                                                          ): void;
                                                                                          addListener<K>(
                                                                                              eventName: string | symbol,
                                                                                              listener: (...args: any[]) => void,
                                                                                          ): this;
                                                                                          emit<K>(eventName: string | symbol, ...args: AnyRest): boolean;
                                                                                          eventNames(): (string | symbol)[];
                                                                                          getMaxListeners(): number;
                                                                                          listenerCount<K>(eventName: string | symbol, listener?: Function): number;
                                                                                          listeners<K>(eventName: string | symbol): Function[];
                                                                                          off<K>(
                                                                                              eventName: string | symbol,
                                                                                              listener: (...args: any[]) => void,
                                                                                          ): this;
                                                                                          on<K>(eventName: string | symbol, listener: (...args: any[]) => void): this;
                                                                                          once<K>(
                                                                                              eventName: string | symbol,
                                                                                              listener: (...args: any[]) => void,
                                                                                          ): this;
                                                                                          prependListener<K>(
                                                                                              eventName: string | symbol,
                                                                                              listener: (...args: any[]) => void,
                                                                                          ): this;
                                                                                          prependOnceListener<K>(
                                                                                              eventName: string | symbol,
                                                                                              listener: (...args: any[]) => void,
                                                                                          ): this;
                                                                                          rawListeners<K>(eventName: string | symbol): Function[];
                                                                                          removeAllListeners(eventName?: string | symbol): this;
                                                                                          removeListener<K>(
                                                                                              eventName: string | symbol,
                                                                                              listener: (...args: any[]) => void,
                                                                                          ): this;
                                                                                          setMaxListeners(n: number): this;
                                                                                      }

                                                                                      Type Parameters

                                                                                      • Worker extends IWorker

                                                                                        Type of worker.

                                                                                      • Data = unknown

                                                                                        Type of data sent to the worker. This can only be structured-cloneable data.

                                                                                        -

                                                                                      Hierarchy

                                                                                      • EventEmitter
                                                                                        • IWorkerNode
                                                                                      Index

                                                                                      Properties

                                                                                      Hierarchy

                                                                                      • EventEmitter
                                                                                        • IWorkerNode
                                                                                      Index

                                                                                      Properties

                                                                                      clearTasksQueue: () => void

                                                                                      Clears tasks queue.

                                                                                      -
                                                                                      deleteTask: (task: Task<Data>) => boolean

                                                                                      Deletes a task from the tasks queue.

                                                                                      +
                                                                                      deleteTask: (task: Task<Data>) => boolean

                                                                                      Deletes a task from the tasks queue.

                                                                                      Type declaration

                                                                                        • (task: Task<Data>): boolean
                                                                                        • Parameters

                                                                                          Returns boolean

                                                                                          true if the task was deleted, false otherwise.

                                                                                          -
                                                                                      deleteTaskFunctionWorkerUsage: (name: string) => boolean

                                                                                      Deletes task function worker usage statistics.

                                                                                      +
                                                                                      deleteTaskFunctionWorkerUsage: (name: string) => boolean

                                                                                      Deletes task function worker usage statistics.

                                                                                      Type declaration

                                                                                        • (name: string): boolean
                                                                                        • Parameters

                                                                                          • name: string

                                                                                            The task function name.

                                                                                          Returns boolean

                                                                                          true if the task function worker usage statistics were deleted, false otherwise.

                                                                                          -
                                                                                      dequeueLastPrioritizedTask: () => undefined | Task<Data>

                                                                                      Dequeue last prioritized task.

                                                                                      +
                                                                                      dequeueLastPrioritizedTask: () => undefined | Task<Data>

                                                                                      Dequeue last prioritized task.

                                                                                      Type declaration

                                                                                      dequeueTask: (bucket?: number) => undefined | Task<Data>

                                                                                      Dequeue task.

                                                                                      +
                                                                                      dequeueTask: (bucket?: number) => undefined | Task<Data>

                                                                                      Dequeue task.

                                                                                      Type declaration

                                                                                        • (bucket?: number): undefined | Task<Data>
                                                                                        • Parameters

                                                                                          • Optionalbucket: number

                                                                                            The prioritized bucket to dequeue from.

                                                                                          Returns undefined | Task<Data>

                                                                                          The dequeued task.

                                                                                      0
                                                                                       
                                                                                      -
                                                                                      enqueueTask: (task: Task<Data>) => number

                                                                                      Enqueue task.

                                                                                      +
                                                                                      enqueueTask: (task: Task<Data>) => number

                                                                                      Enqueue task.

                                                                                      Type declaration

                                                                                        • (task: Task<Data>): number
                                                                                        • Parameters

                                                                                          Returns number

                                                                                          The tasks queue size.

                                                                                          -
                                                                                      getTaskFunctionWorkerUsage: (name: string) => undefined | WorkerUsage

                                                                                      Gets task function worker usage statistics.

                                                                                      +
                                                                                      getTaskFunctionWorkerUsage: (name: string) => undefined | WorkerUsage

                                                                                      Gets task function worker usage statistics.

                                                                                      Type declaration

                                                                                        • (name: string): undefined | WorkerUsage
                                                                                        • Parameters

                                                                                          • name: string

                                                                                            The task function name.

                                                                                          Returns undefined | WorkerUsage

                                                                                          The task function worker usage statistics if the task function worker usage statistics are initialized, undefined otherwise.

                                                                                          -

                                                                                      Worker info.

                                                                                      -
                                                                                      messageChannel?: MessageChannel

                                                                                      Message channel (worker thread only).

                                                                                      -
                                                                                      registerOnceWorkerEventHandler: (
                                                                                          event: string,
                                                                                          handler: EventHandler<Worker>,
                                                                                      ) => void

                                                                                      Registers once a worker event handler.

                                                                                      +

                                                                                      Worker info.

                                                                                      +
                                                                                      messageChannel?: MessageChannel

                                                                                      Message channel (worker thread only).

                                                                                      +
                                                                                      registerOnceWorkerEventHandler: (
                                                                                          event: string,
                                                                                          handler: EventHandler<Worker>,
                                                                                      ) => void

                                                                                      Registers once a worker event handler.

                                                                                      Type declaration

                                                                                      registerWorkerEventHandler: (
                                                                                          event: string,
                                                                                          handler: EventHandler<Worker>,
                                                                                      ) => void

                                                                                      Registers a worker event handler.

                                                                                      +

                                                                                      Returns void

                                                                                      registerWorkerEventHandler: (
                                                                                          event: string,
                                                                                          handler: EventHandler<Worker>,
                                                                                      ) => void

                                                                                      Registers a worker event handler.

                                                                                      Type declaration

                                                                                      setTasksQueuePriority: (enablePriority: boolean) => void

                                                                                      Sets tasks queue priority.

                                                                                      +

                                                                                      Returns void

                                                                                      setTasksQueuePriority: (enablePriority: boolean) => void

                                                                                      Sets tasks queue priority.

                                                                                      Type declaration

                                                                                        • (enablePriority: boolean): void
                                                                                        • Parameters

                                                                                          • enablePriority: boolean

                                                                                            Whether to enable tasks queue priority.

                                                                                            -

                                                                                          Returns void

                                                                                      strategyData?: StrategyData

                                                                                      Worker choice strategy data. +

                                                                                      Returns void

                                                                                      strategyData?: StrategyData

                                                                                      Worker choice strategy data. This is used to store data that are specific to the worker choice strategy.

                                                                                      -
                                                                                      tasksQueue: PriorityQueue<Task<Data>>

                                                                                      Tasks queue.

                                                                                      -
                                                                                      tasksQueueBackPressureSize: number

                                                                                      Tasks queue back pressure size. +

                                                                                      tasksQueue: PriorityQueue<Task<Data>>

                                                                                      Tasks queue.

                                                                                      +
                                                                                      tasksQueueBackPressureSize: number

                                                                                      Tasks queue back pressure size. This is the number of tasks that can be enqueued before the worker node has back pressure.

                                                                                      -
                                                                                      tasksQueueSize: () => number

                                                                                      Tasks queue size.

                                                                                      +
                                                                                      tasksQueueSize: () => number

                                                                                      Tasks queue size.

                                                                                      Type declaration

                                                                                        • (): number
                                                                                        • Returns number

                                                                                          The tasks queue size.

                                                                                          -
                                                                                      terminate: () => Promise<void>

                                                                                      Terminates the worker node.

                                                                                      -

                                                                                      Worker usage statistics.

                                                                                      -
                                                                                      worker: Worker

                                                                                      Worker.

                                                                                      -

                                                                                      Methods

                                                                                      • Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • error: Error
                                                                                        • event: string | symbol
                                                                                        • ...args: AnyRest

                                                                                        Returns void

                                                                                      • Alias for emitter.on(eventName, listener).

                                                                                        +
                                                                                      terminate: () => Promise<void>

                                                                                      Terminates the worker node.

                                                                                      +

                                                                                      Worker usage statistics.

                                                                                      +
                                                                                      worker: Worker

                                                                                      Worker.

                                                                                      +

                                                                                      Methods

                                                                                      • Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • error: Error
                                                                                        • event: string | symbol
                                                                                        • ...args: AnyRest

                                                                                        Returns void

                                                                                      • Alias for emitter.on(eventName, listener).

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol
                                                                                        • listener: (...args: any[]) => void

                                                                                        Returns this

                                                                                        v0.1.26

                                                                                        -
                                                                                      • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments +

                                                                                      • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.

                                                                                        Returns true if the event had listeners, false otherwise.

                                                                                        import { EventEmitter } from 'node:events';
                                                                                        const myEmitter = new EventEmitter();

                                                                                        // First listener
                                                                                        myEmitter.on('event', function firstListener() {
                                                                                        console.log('Helloooo! first listener');
                                                                                        });
                                                                                        // Second listener
                                                                                        myEmitter.on('event', function secondListener(arg1, arg2) {
                                                                                        console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
                                                                                        });
                                                                                        // Third listener
                                                                                        myEmitter.on('event', function thirdListener(...args) {
                                                                                        const parameters = args.join(', ');
                                                                                        console.log(`event with parameters ${parameters} in third listener`);
                                                                                        });

                                                                                        console.log(myEmitter.listeners('event'));

                                                                                        myEmitter.emit('event', 1, 2, 3, 4, 5);

                                                                                        // Prints:
                                                                                        // [
                                                                                        // [Function: firstListener],
                                                                                        // [Function: secondListener],
                                                                                        // [Function: thirdListener]
                                                                                        // ]
                                                                                        // Helloooo! first listener
                                                                                        // event with parameters 1, 2 in second listener
                                                                                        // event with parameters 1, 2, 3, 4, 5 in third listener

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol
                                                                                        • ...args: AnyRest

                                                                                        Returns boolean

                                                                                        v0.1.26

                                                                                        -
                                                                                      • Returns an array listing the events for which the emitter has registered +

                                                                                      • Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

                                                                                        import { EventEmitter } from 'node:events';

                                                                                        const myEE = new EventEmitter();
                                                                                        myEE.on('foo', () => {});
                                                                                        myEE.on('bar', () => {});

                                                                                        const sym = Symbol('symbol');
                                                                                        myEE.on(sym, () => {});

                                                                                        console.log(myEE.eventNames());
                                                                                        // Prints: [ 'foo', 'bar', Symbol(symbol) ]

                                                                                        Returns (string | symbol)[]

                                                                                        v6.0.0

                                                                                        -
                                                                                      • Returns the current max listener value for the EventEmitter which is either +

                                                                                      • Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to EventEmitter.defaultMaxListeners.

                                                                                        Returns number

                                                                                        v1.0.0

                                                                                        -
                                                                                      • Returns the number of listeners listening for the event named eventName. +

                                                                                      • Returns the number of listeners listening for the event named eventName. If listener is provided, it will return how many times the listener is found in the list of the listeners of the event.

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol

                                                                                          The name of the event being listened for

                                                                                        • Optionallistener: Function

                                                                                          The event handler function

                                                                                        Returns number

                                                                                        v3.2.0

                                                                                        -
                                                                                      • Returns a copy of the array of listeners for the event named eventName.

                                                                                        +
                                                                                      • Returns a copy of the array of listeners for the event named eventName.

                                                                                        server.on('connection', (stream) => {
                                                                                        console.log('someone connected!');
                                                                                        });
                                                                                        console.log(util.inspect(server.listeners('connection')));
                                                                                        // Prints: [ [Function] ]

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol

                                                                                        Returns Function[]

                                                                                        v0.1.26

                                                                                        -
                                                                                      • Alias for emitter.removeListener().

                                                                                        +
                                                                                      • Alias for emitter.removeListener().

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol
                                                                                        • listener: (...args: any[]) => void

                                                                                        Returns this

                                                                                        v10.0.0

                                                                                        -
                                                                                      • Adds the listener function to the end of the listeners array for the event +

                                                                                      • Adds the listener function to the end of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.

                                                                                        @@ -124,7 +124,7 @@ event listener to the beginning of the listeners array.

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol

                                                                                          The name of the event.

                                                                                        • listener: (...args: any[]) => void

                                                                                          The callback function

                                                                                        Returns this

                                                                                        v0.1.101

                                                                                        -
                                                                                      • Adds a one-time listener function for the event named eventName. The +

                                                                                      • Adds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.

                                                                                        server.once('connection', (stream) => {
                                                                                        console.log('Ah, we have our first user!');
                                                                                        });
                                                                                        @@ -138,7 +138,7 @@ event listener to the beginning of the listeners array.

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol

                                                                                          The name of the event.

                                                                                        • listener: (...args: any[]) => void

                                                                                          The callback function

                                                                                        Returns this

                                                                                        v0.3.0

                                                                                        -
                                                                                      • Adds the listener function to the beginning of the listeners array for the +

                                                                                      • Adds the listener function to the beginning of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.

                                                                                        @@ -149,7 +149,7 @@ and listener will result in the listener being added,

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol

                                                                                          The name of the event.

                                                                                        • listener: (...args: any[]) => void

                                                                                          The callback function

                                                                                        Returns this

                                                                                        v6.0.0

                                                                                        -
                                                                                      • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this +

                                                                                      • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this listener is removed, and then invoked.

                                                                                        server.prependOnceListener('connection', (stream) => {
                                                                                        console.log('Ah, we have our first user!');
                                                                                        });
                                                                                        @@ -158,19 +158,19 @@ listener is removed, and then invoked.

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol

                                                                                          The name of the event.

                                                                                        • listener: (...args: any[]) => void

                                                                                          The callback function

                                                                                        Returns this

                                                                                        v6.0.0

                                                                                        -
                                                                                      • Returns a copy of the array of listeners for the event named eventName, +

                                                                                      • Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

                                                                                        import { EventEmitter } from 'node:events';
                                                                                        const emitter = new EventEmitter();
                                                                                        emitter.once('log', () => console.log('log once'));

                                                                                        // Returns a new Array with a function `onceWrapper` which has a property
                                                                                        // `listener` which contains the original listener bound above
                                                                                        const listeners = emitter.rawListeners('log');
                                                                                        const logFnWrapper = listeners[0];

                                                                                        // Logs "log once" to the console and does not unbind the `once` event
                                                                                        logFnWrapper.listener();

                                                                                        // Logs "log once" to the console and removes the listener
                                                                                        logFnWrapper();

                                                                                        emitter.on('log', () => console.log('log persistently'));
                                                                                        // Will return a new Array with a single function bound by `.on()` above
                                                                                        const newListeners = emitter.rawListeners('log');

                                                                                        // Logs "log persistently" twice
                                                                                        newListeners[0]();
                                                                                        emitter.emit('log');

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol

                                                                                        Returns Function[]

                                                                                        v9.4.0

                                                                                        -
                                                                                      • Removes all listeners, or those of the specified eventName.

                                                                                        +
                                                                                      • Removes all listeners, or those of the specified eventName.

                                                                                        It is bad practice to remove listeners added elsewhere in the code, particularly when the EventEmitter instance was created by some other component or module (e.g. sockets or file streams).

                                                                                        Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                        Parameters

                                                                                        • OptionaleventName: string | symbol

                                                                                        Returns this

                                                                                        v0.1.26

                                                                                        -
                                                                                      • Removes the specified listener from the listener array for the event named eventName.

                                                                                        +
                                                                                      • Removes the specified listener from the listener array for the event named eventName.

                                                                                        const callback = (stream) => {
                                                                                        console.log('someone connected!');
                                                                                        };
                                                                                        server.on('connection', callback);
                                                                                        // ...
                                                                                        server.removeListener('connection', callback);
                                                                                        @@ -197,10 +197,10 @@ recently added instance. In the example the once('ping') listener i

                                                                                        Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                        Type Parameters

                                                                                        • K

                                                                                        Parameters

                                                                                        • eventName: string | symbol
                                                                                        • listener: (...args: any[]) => void

                                                                                        Returns this

                                                                                        v0.1.26

                                                                                        -
                                                                                      • By default EventEmitters will print a warning if more than 10 listeners are +

                                                                                      • By default EventEmitters will print a warning if more than 10 listeners are added for a particular event. This is a useful default that helps finding memory leaks. The emitter.setMaxListeners() method allows the limit to be modified for this specific EventEmitter instance. The value can be set to Infinity (or 0) to indicate an unlimited number of listeners.

                                                                                        Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                        Parameters

                                                                                        • n: number

                                                                                        Returns this

                                                                                        v0.3.5

                                                                                        -
                                                                                      +
                                                                                      diff --git a/docs/interfaces/src.MeasurementOptions.html b/docs/interfaces/src.MeasurementOptions.html index 8aefa44a2..b53be90cb 100644 --- a/docs/interfaces/src.MeasurementOptions.html +++ b/docs/interfaces/src.MeasurementOptions.html @@ -1,4 +1,4 @@ -MeasurementOptions | poolifier - v5.0.5
                                                                                      poolifier - v5.0.5
                                                                                        Preparing search index...

                                                                                        Interface MeasurementOptions

                                                                                        Measurement options.

                                                                                        -
                                                                                        interface MeasurementOptions {
                                                                                            median: boolean;
                                                                                        }
                                                                                        Index

                                                                                        Properties

                                                                                        median +MeasurementOptions | poolifier - v5.0.6
                                                                                        poolifier - v5.0.6
                                                                                          Preparing search index...

                                                                                          Interface MeasurementOptions

                                                                                          Measurement options.

                                                                                          +
                                                                                          interface MeasurementOptions {
                                                                                              median: boolean;
                                                                                          }
                                                                                          Index

                                                                                          Properties

                                                                                          Properties

                                                                                          median: boolean

                                                                                          Set measurement median.

                                                                                          -
                                                                                          +
                                                                                          diff --git a/docs/interfaces/src.MeasurementStatistics.html b/docs/interfaces/src.MeasurementStatistics.html index 2a7ff5fa9..3dac5f2c2 100644 --- a/docs/interfaces/src.MeasurementStatistics.html +++ b/docs/interfaces/src.MeasurementStatistics.html @@ -1,14 +1,14 @@ -MeasurementStatistics | poolifier - v5.0.5
                                                                                          poolifier - v5.0.5
                                                                                            Preparing search index...

                                                                                            Interface MeasurementStatisticsInternal

                                                                                            Measurement statistics.

                                                                                            -
                                                                                            interface MeasurementStatistics {
                                                                                                aggregate?: number;
                                                                                                average?: number;
                                                                                                history: CircularBuffer;
                                                                                                maximum?: number;
                                                                                                median?: number;
                                                                                                minimum?: number;
                                                                                            }
                                                                                            Index

                                                                                            Properties

                                                                                            aggregate? +MeasurementStatistics | poolifier - v5.0.6
                                                                                            poolifier - v5.0.6
                                                                                              Preparing search index...

                                                                                              Interface MeasurementStatisticsInternal

                                                                                              Measurement statistics.

                                                                                              +
                                                                                              interface MeasurementStatistics {
                                                                                                  aggregate?: number;
                                                                                                  average?: number;
                                                                                                  history: CircularBuffer;
                                                                                                  maximum?: number;
                                                                                                  median?: number;
                                                                                                  minimum?: number;
                                                                                              }
                                                                                              Index

                                                                                              Properties

                                                                                              aggregate?: number

                                                                                              Measurement aggregate.

                                                                                              -
                                                                                              average?: number

                                                                                              Measurement average.

                                                                                              -

                                                                                              Measurement history.

                                                                                              -
                                                                                              maximum?: number

                                                                                              Measurement maximum.

                                                                                              -
                                                                                              median?: number

                                                                                              Measurement median.

                                                                                              -
                                                                                              minimum?: number

                                                                                              Measurement minimum.

                                                                                              -
                                                                                              +
                                                                                              average?: number

                                                                                              Measurement average.

                                                                                              +

                                                                                              Measurement history.

                                                                                              +
                                                                                              maximum?: number

                                                                                              Measurement maximum.

                                                                                              +
                                                                                              median?: number

                                                                                              Measurement median.

                                                                                              +
                                                                                              minimum?: number

                                                                                              Measurement minimum.

                                                                                              +
                                                                                              diff --git a/docs/interfaces/src.MeasurementStatisticsRequirements.html b/docs/interfaces/src.MeasurementStatisticsRequirements.html index f1126e8e6..ef8bae2a7 100644 --- a/docs/interfaces/src.MeasurementStatisticsRequirements.html +++ b/docs/interfaces/src.MeasurementStatisticsRequirements.html @@ -1,8 +1,8 @@ -MeasurementStatisticsRequirements | poolifier - v5.0.5
                                                                                              poolifier - v5.0.5
                                                                                                Preparing search index...

                                                                                                Interface MeasurementStatisticsRequirementsInternal

                                                                                                Measurement statistics requirements.

                                                                                                -
                                                                                                interface MeasurementStatisticsRequirements {
                                                                                                    aggregate: boolean;
                                                                                                    average: boolean;
                                                                                                    median: boolean;
                                                                                                }
                                                                                                Index

                                                                                                Properties

                                                                                                aggregate +MeasurementStatisticsRequirements | poolifier - v5.0.6
                                                                                                poolifier - v5.0.6
                                                                                                  Preparing search index...

                                                                                                  Interface MeasurementStatisticsRequirementsInternal

                                                                                                  Measurement statistics requirements.

                                                                                                  +
                                                                                                  interface MeasurementStatisticsRequirements {
                                                                                                      aggregate: boolean;
                                                                                                      average: boolean;
                                                                                                      median: boolean;
                                                                                                  }
                                                                                                  Index

                                                                                                  Properties

                                                                                                  aggregate: boolean

                                                                                                  Requires measurement aggregate.

                                                                                                  -
                                                                                                  average: boolean

                                                                                                  Requires measurement average.

                                                                                                  -
                                                                                                  median: boolean

                                                                                                  Requires measurement median.

                                                                                                  -
                                                                                                  +
                                                                                                  average: boolean

                                                                                                  Requires measurement average.

                                                                                                  +
                                                                                                  median: boolean

                                                                                                  Requires measurement median.

                                                                                                  +
                                                                                                  diff --git a/docs/interfaces/src.MessageValue.html b/docs/interfaces/src.MessageValue.html index d789cb84f..5c2c53b51 100644 --- a/docs/interfaces/src.MessageValue.html +++ b/docs/interfaces/src.MessageValue.html @@ -1,7 +1,7 @@ -MessageValue | poolifier - v5.0.5
                                                                                                  poolifier - v5.0.5
                                                                                                    Preparing search index...

                                                                                                    Interface MessageValue<Data, ErrorData>Internal

                                                                                                    Message object that is passed between main worker and worker.

                                                                                                    +MessageValue | poolifier - v5.0.6
                                                                                                    poolifier - v5.0.6
                                                                                                      Preparing search index...

                                                                                                      Interface MessageValue<Data, ErrorData>Internal

                                                                                                      Message object that is passed between main worker and worker.

                                                                                                      interface MessageValue<Data = unknown, ErrorData = unknown> {
                                                                                                          abortable?: boolean;
                                                                                                          checkActive?: boolean;
                                                                                                          data?: Data;
                                                                                                          kill?: true | "success" | "HARD" | "SOFT" | "failure";
                                                                                                          name?: string;
                                                                                                          port?: MessagePort;
                                                                                                          priority?: number;
                                                                                                          ready?: boolean;
                                                                                                          statistics?: WorkerStatistics;
                                                                                                          strategy?:
                                                                                                              | "FAIR_SHARE"
                                                                                                              | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                              | "LEAST_BUSY"
                                                                                                              | "LEAST_ELU"
                                                                                                              | "LEAST_USED"
                                                                                                              | "ROUND_ROBIN"
                                                                                                              | "WEIGHTED_ROUND_ROBIN";
                                                                                                          taskFunction?: string;
                                                                                                          taskFunctionOperation?: "add"
                                                                                                          | "default"
                                                                                                          | "remove";
                                                                                                          taskFunctionOperationStatus?: boolean;
                                                                                                          taskFunctionProperties?: TaskFunctionProperties;
                                                                                                          taskFunctionsProperties?: TaskFunctionProperties[];
                                                                                                          taskId?: `${string}-${string}-${string}-${string}-${string}`;
                                                                                                          taskOperation?: "abort";
                                                                                                          taskPerformance?: TaskPerformance;
                                                                                                          timestamp?: number;
                                                                                                          transferList?: readonly Transferable[];
                                                                                                          workerError?: WorkerError<ErrorData>;
                                                                                                          workerId?: number;
                                                                                                      }

                                                                                                      Type Parameters

                                                                                                      • Data = unknown

                                                                                                        Type of data sent to the worker or execution response. This can only be structured-cloneable data.

                                                                                                      • ErrorData = unknown

                                                                                                        Type of data sent to the worker triggering an error. This can only be structured-cloneable data.

                                                                                                        -

                                                                                                      Hierarchy (View Summary)

                                                                                                      Index

                                                                                                      Properties

                                                                                                      Hierarchy (View Summary)

                                                                                                      Index

                                                                                                      Properties

                                                                                                      Properties

                                                                                                      abortable?: boolean

                                                                                                      Whether the task is abortable or not.

                                                                                                      -
                                                                                                      checkActive?: boolean

                                                                                                      Whether the worker starts or stops its activity check.

                                                                                                      -
                                                                                                      data?: Data

                                                                                                      Task input data that will be passed to the worker.

                                                                                                      -
                                                                                                      kill?: true | "success" | "HARD" | "SOFT" | "failure"

                                                                                                      Kill code.

                                                                                                      -
                                                                                                      name?: string

                                                                                                      Task name.

                                                                                                      -
                                                                                                      port?: MessagePort

                                                                                                      Message port.

                                                                                                      -
                                                                                                      priority?: number

                                                                                                      Task priority. Lower values have higher priority.

                                                                                                      +
                                                                                                      checkActive?: boolean

                                                                                                      Whether the worker starts or stops its activity check.

                                                                                                      +
                                                                                                      data?: Data

                                                                                                      Task input data that will be passed to the worker.

                                                                                                      +
                                                                                                      kill?: true | "success" | "HARD" | "SOFT" | "failure"

                                                                                                      Kill code.

                                                                                                      +
                                                                                                      name?: string

                                                                                                      Task name.

                                                                                                      +
                                                                                                      port?: MessagePort

                                                                                                      Message port.

                                                                                                      +
                                                                                                      priority?: number

                                                                                                      Task priority. Lower values have higher priority.

                                                                                                      0
                                                                                                       
                                                                                                      -
                                                                                                      ready?: boolean

                                                                                                      Whether the worker is ready or not.

                                                                                                      -
                                                                                                      statistics?: WorkerStatistics

                                                                                                      Whether the worker computes the given statistics or not.

                                                                                                      -
                                                                                                      strategy?:
                                                                                                          | "FAIR_SHARE"
                                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                          | "LEAST_BUSY"
                                                                                                          | "LEAST_ELU"
                                                                                                          | "LEAST_USED"
                                                                                                          | "ROUND_ROBIN"
                                                                                                          | "WEIGHTED_ROUND_ROBIN"

                                                                                                      Task worker choice strategy.

                                                                                                      -
                                                                                                      taskFunction?: string

                                                                                                      Task function serialized to string.

                                                                                                      -
                                                                                                      taskFunctionOperation?: "add" | "default" | "remove"

                                                                                                      Task function operation:

                                                                                                      +
                                                                                                      ready?: boolean

                                                                                                      Whether the worker is ready or not.

                                                                                                      +
                                                                                                      statistics?: WorkerStatistics

                                                                                                      Whether the worker computes the given statistics or not.

                                                                                                      +
                                                                                                      strategy?:
                                                                                                          | "FAIR_SHARE"
                                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                          | "LEAST_BUSY"
                                                                                                          | "LEAST_ELU"
                                                                                                          | "LEAST_USED"
                                                                                                          | "ROUND_ROBIN"
                                                                                                          | "WEIGHTED_ROUND_ROBIN"

                                                                                                      Task worker choice strategy.

                                                                                                      +
                                                                                                      taskFunction?: string

                                                                                                      Task function serialized to string.

                                                                                                      +
                                                                                                      taskFunctionOperation?: "add" | "default" | "remove"

                                                                                                      Task function operation:

                                                                                                      • 'add' - Add a task function.
                                                                                                      • 'remove' - Remove a task function.
                                                                                                      • 'default' - Set a task function as default.
                                                                                                      -
                                                                                                      taskFunctionOperationStatus?: boolean

                                                                                                      Whether the task function operation is successful or not.

                                                                                                      -
                                                                                                      taskFunctionProperties?: TaskFunctionProperties

                                                                                                      Task function properties.

                                                                                                      -
                                                                                                      taskFunctionsProperties?: TaskFunctionProperties[]

                                                                                                      Task functions properties.

                                                                                                      -
                                                                                                      taskId?: `${string}-${string}-${string}-${string}-${string}`

                                                                                                      Task UUID.

                                                                                                      -
                                                                                                      taskOperation?: "abort"

                                                                                                      Task operation:

                                                                                                      +
                                                                                                      taskFunctionOperationStatus?: boolean

                                                                                                      Whether the task function operation is successful or not.

                                                                                                      +
                                                                                                      taskFunctionProperties?: TaskFunctionProperties

                                                                                                      Task function properties.

                                                                                                      +
                                                                                                      taskFunctionsProperties?: TaskFunctionProperties[]

                                                                                                      Task functions properties.

                                                                                                      +
                                                                                                      taskId?: `${string}-${string}-${string}-${string}-${string}`

                                                                                                      Task UUID.

                                                                                                      +
                                                                                                      taskOperation?: "abort"

                                                                                                      Task operation:

                                                                                                      • 'abort' - Abort a task.
                                                                                                      -
                                                                                                      taskPerformance?: TaskPerformance

                                                                                                      Task performance.

                                                                                                      -
                                                                                                      timestamp?: number

                                                                                                      Timestamp.

                                                                                                      -
                                                                                                      transferList?: readonly Transferable[]

                                                                                                      Array of transferable objects.

                                                                                                      -
                                                                                                      workerError?: WorkerError<ErrorData>

                                                                                                      Worker error.

                                                                                                      -
                                                                                                      workerId?: number

                                                                                                      Worker id.

                                                                                                      -
                                                                                                      +
                                                                                                      taskPerformance?: TaskPerformance

                                                                                                      Task performance.

                                                                                                      +
                                                                                                      timestamp?: number

                                                                                                      Timestamp.

                                                                                                      +
                                                                                                      transferList?: readonly Transferable[]

                                                                                                      Array of transferable objects.

                                                                                                      +
                                                                                                      workerError?: WorkerError<ErrorData>

                                                                                                      Worker error.

                                                                                                      +
                                                                                                      workerId?: number

                                                                                                      Worker id.

                                                                                                      +
                                                                                                      diff --git a/docs/interfaces/src.PoolInfo.html b/docs/interfaces/src.PoolInfo.html index 134a74015..4a5cc790f 100644 --- a/docs/interfaces/src.PoolInfo.html +++ b/docs/interfaces/src.PoolInfo.html @@ -1,5 +1,5 @@ -PoolInfo | poolifier - v5.0.5
                                                                                                      poolifier - v5.0.5
                                                                                                        Preparing search index...

                                                                                                        Interface PoolInfo

                                                                                                        Pool information.

                                                                                                        -
                                                                                                        interface PoolInfo {
                                                                                                            backPressure?: boolean;
                                                                                                            backPressureWorkerNodes?: number;
                                                                                                            busyWorkerNodes: number;
                                                                                                            defaultStrategy:
                                                                                                                | "FAIR_SHARE"
                                                                                                                | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                | "LEAST_BUSY"
                                                                                                                | "LEAST_ELU"
                                                                                                                | "LEAST_USED"
                                                                                                                | "ROUND_ROBIN"
                                                                                                                | "WEIGHTED_ROUND_ROBIN";
                                                                                                            dynamicWorkerNodes?: number;
                                                                                                            elu?: {
                                                                                                                active: {
                                                                                                                    average?: number;
                                                                                                                    maximum: number;
                                                                                                                    median?: number;
                                                                                                                    minimum: number;
                                                                                                                };
                                                                                                                idle: {
                                                                                                                    average?: number;
                                                                                                                    maximum: number;
                                                                                                                    median?: number;
                                                                                                                    minimum: number;
                                                                                                                };
                                                                                                                utilization: { average?: number; median?: number };
                                                                                                            };
                                                                                                            executedTasks: number;
                                                                                                            executingTasks: number;
                                                                                                            failedTasks: number;
                                                                                                            idleWorkerNodes: number;
                                                                                                            maxQueuedTasks?: number;
                                                                                                            maxSize: number;
                                                                                                            minSize: number;
                                                                                                            queuedTasks?: number;
                                                                                                            ready: boolean;
                                                                                                            runTime?: {
                                                                                                                average?: number;
                                                                                                                maximum: number;
                                                                                                                median?: number;
                                                                                                                minimum: number;
                                                                                                            };
                                                                                                            started: boolean;
                                                                                                            stealingWorkerNodes?: number;
                                                                                                            stolenTasks?: number;
                                                                                                            strategyRetries: number;
                                                                                                            type: "fixed"
                                                                                                            | "dynamic";
                                                                                                            utilization?: number;
                                                                                                            version: string;
                                                                                                            waitTime?: {
                                                                                                                average?: number;
                                                                                                                maximum: number;
                                                                                                                median?: number;
                                                                                                                minimum: number;
                                                                                                            };
                                                                                                            worker: "cluster"
                                                                                                            | "thread";
                                                                                                            workerNodes: number;
                                                                                                        }
                                                                                                        Index

                                                                                                        Properties

                                                                                                        backPressure? +PoolInfo | poolifier - v5.0.6
                                                                                                        poolifier - v5.0.6
                                                                                                          Preparing search index...

                                                                                                          Interface PoolInfo

                                                                                                          Pool information.

                                                                                                          +
                                                                                                          interface PoolInfo {
                                                                                                              backPressure?: boolean;
                                                                                                              backPressureWorkerNodes?: number;
                                                                                                              busyWorkerNodes: number;
                                                                                                              defaultStrategy:
                                                                                                                  | "FAIR_SHARE"
                                                                                                                  | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                  | "LEAST_BUSY"
                                                                                                                  | "LEAST_ELU"
                                                                                                                  | "LEAST_USED"
                                                                                                                  | "ROUND_ROBIN"
                                                                                                                  | "WEIGHTED_ROUND_ROBIN";
                                                                                                              dynamicWorkerNodes?: number;
                                                                                                              elu?: {
                                                                                                                  active: {
                                                                                                                      average?: number;
                                                                                                                      maximum: number;
                                                                                                                      median?: number;
                                                                                                                      minimum: number;
                                                                                                                  };
                                                                                                                  idle: {
                                                                                                                      average?: number;
                                                                                                                      maximum: number;
                                                                                                                      median?: number;
                                                                                                                      minimum: number;
                                                                                                                  };
                                                                                                                  utilization: { average?: number; median?: number };
                                                                                                              };
                                                                                                              executedTasks: number;
                                                                                                              executingTasks: number;
                                                                                                              failedTasks: number;
                                                                                                              idleWorkerNodes: number;
                                                                                                              maxQueuedTasks?: number;
                                                                                                              maxSize: number;
                                                                                                              minSize: number;
                                                                                                              queuedTasks?: number;
                                                                                                              ready: boolean;
                                                                                                              runTime?: {
                                                                                                                  average?: number;
                                                                                                                  maximum: number;
                                                                                                                  median?: number;
                                                                                                                  minimum: number;
                                                                                                              };
                                                                                                              started: boolean;
                                                                                                              stealingWorkerNodes?: number;
                                                                                                              stolenTasks?: number;
                                                                                                              strategyRetries: number;
                                                                                                              type: "fixed"
                                                                                                              | "dynamic";
                                                                                                              utilization?: number;
                                                                                                              version: string;
                                                                                                              waitTime?: {
                                                                                                                  average?: number;
                                                                                                                  maximum: number;
                                                                                                                  median?: number;
                                                                                                                  minimum: number;
                                                                                                              };
                                                                                                              worker: "cluster"
                                                                                                              | "thread";
                                                                                                              workerNodes: number;
                                                                                                          }
                                                                                                          Index

                                                                                                          Properties

                                                                                                          backPressure?: boolean
                                                                                                          backPressureWorkerNodes?: number

                                                                                                          Pool tasks back pressure worker nodes.

                                                                                                          -
                                                                                                          busyWorkerNodes: number

                                                                                                          Pool busy worker nodes.

                                                                                                          -
                                                                                                          defaultStrategy:
                                                                                                              | "FAIR_SHARE"
                                                                                                              | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                              | "LEAST_BUSY"
                                                                                                              | "LEAST_ELU"
                                                                                                              | "LEAST_USED"
                                                                                                              | "ROUND_ROBIN"
                                                                                                              | "WEIGHTED_ROUND_ROBIN"
                                                                                                          dynamicWorkerNodes?: number

                                                                                                          Pool dynamic worker nodes.

                                                                                                          -
                                                                                                          elu?: {
                                                                                                              active: {
                                                                                                                  average?: number;
                                                                                                                  maximum: number;
                                                                                                                  median?: number;
                                                                                                                  minimum: number;
                                                                                                              };
                                                                                                              idle: {
                                                                                                                  average?: number;
                                                                                                                  maximum: number;
                                                                                                                  median?: number;
                                                                                                                  minimum: number;
                                                                                                              };
                                                                                                              utilization: { average?: number; median?: number };
                                                                                                          }
                                                                                                          executedTasks: number
                                                                                                          executingTasks: number
                                                                                                          failedTasks: number
                                                                                                          idleWorkerNodes: number

                                                                                                          Pool idle worker nodes.

                                                                                                          -
                                                                                                          maxQueuedTasks?: number
                                                                                                          maxSize: number
                                                                                                          minSize: number
                                                                                                          queuedTasks?: number
                                                                                                          ready: boolean
                                                                                                          runTime?: {
                                                                                                              average?: number;
                                                                                                              maximum: number;
                                                                                                              median?: number;
                                                                                                              minimum: number;
                                                                                                          }
                                                                                                          started: boolean
                                                                                                          stealingWorkerNodes?: number

                                                                                                          Pool tasks stealing worker nodes.

                                                                                                          -
                                                                                                          stolenTasks?: number
                                                                                                          strategyRetries: number
                                                                                                          type: "fixed" | "dynamic"
                                                                                                          utilization?: number

                                                                                                          Pool utilization.

                                                                                                          -
                                                                                                          version: string
                                                                                                          waitTime?: {
                                                                                                              average?: number;
                                                                                                              maximum: number;
                                                                                                              median?: number;
                                                                                                              minimum: number;
                                                                                                          }
                                                                                                          worker: "cluster" | "thread"
                                                                                                          workerNodes: number

                                                                                                          Pool total worker nodes.

                                                                                                          -
                                                                                                          +

                                                                                                          Properties

                                                                                                          backPressure?: boolean
                                                                                                          backPressureWorkerNodes?: number

                                                                                                          Pool tasks back pressure worker nodes.

                                                                                                          +
                                                                                                          busyWorkerNodes: number

                                                                                                          Pool busy worker nodes.

                                                                                                          +
                                                                                                          defaultStrategy:
                                                                                                              | "FAIR_SHARE"
                                                                                                              | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                              | "LEAST_BUSY"
                                                                                                              | "LEAST_ELU"
                                                                                                              | "LEAST_USED"
                                                                                                              | "ROUND_ROBIN"
                                                                                                              | "WEIGHTED_ROUND_ROBIN"
                                                                                                          dynamicWorkerNodes?: number

                                                                                                          Pool dynamic worker nodes.

                                                                                                          +
                                                                                                          elu?: {
                                                                                                              active: {
                                                                                                                  average?: number;
                                                                                                                  maximum: number;
                                                                                                                  median?: number;
                                                                                                                  minimum: number;
                                                                                                              };
                                                                                                              idle: {
                                                                                                                  average?: number;
                                                                                                                  maximum: number;
                                                                                                                  median?: number;
                                                                                                                  minimum: number;
                                                                                                              };
                                                                                                              utilization: { average?: number; median?: number };
                                                                                                          }
                                                                                                          executedTasks: number
                                                                                                          executingTasks: number
                                                                                                          failedTasks: number
                                                                                                          idleWorkerNodes: number

                                                                                                          Pool idle worker nodes.

                                                                                                          +
                                                                                                          maxQueuedTasks?: number
                                                                                                          maxSize: number
                                                                                                          minSize: number
                                                                                                          queuedTasks?: number
                                                                                                          ready: boolean
                                                                                                          runTime?: {
                                                                                                              average?: number;
                                                                                                              maximum: number;
                                                                                                              median?: number;
                                                                                                              minimum: number;
                                                                                                          }
                                                                                                          started: boolean
                                                                                                          stealingWorkerNodes?: number

                                                                                                          Pool tasks stealing worker nodes.

                                                                                                          +
                                                                                                          stolenTasks?: number
                                                                                                          strategyRetries: number
                                                                                                          type: "fixed" | "dynamic"
                                                                                                          utilization?: number

                                                                                                          Pool utilization.

                                                                                                          +
                                                                                                          version: string
                                                                                                          waitTime?: {
                                                                                                              average?: number;
                                                                                                              maximum: number;
                                                                                                              median?: number;
                                                                                                              minimum: number;
                                                                                                          }
                                                                                                          worker: "cluster" | "thread"
                                                                                                          workerNodes: number

                                                                                                          Pool total worker nodes.

                                                                                                          +
                                                                                                          diff --git a/docs/interfaces/src.PoolOptions.html b/docs/interfaces/src.PoolOptions.html index 3c00d630e..e384cd9ce 100644 --- a/docs/interfaces/src.PoolOptions.html +++ b/docs/interfaces/src.PoolOptions.html @@ -1,6 +1,6 @@ -PoolOptions | poolifier - v5.0.5
                                                                                                          poolifier - v5.0.5
                                                                                                            Preparing search index...

                                                                                                            Interface PoolOptions<Worker>

                                                                                                            Options for a poolifier pool.

                                                                                                            +PoolOptions | poolifier - v5.0.6
                                                                                                            poolifier - v5.0.6
                                                                                                              Preparing search index...

                                                                                                              Interface PoolOptions<Worker>

                                                                                                              Options for a poolifier pool.

                                                                                                              interface PoolOptions<Worker extends IWorker> {
                                                                                                                  enableEvents?: boolean;
                                                                                                                  enableTasksQueue?: boolean;
                                                                                                                  env?: Record<string, unknown>;
                                                                                                                  errorHandler?: ErrorHandler<Worker>;
                                                                                                                  exitHandler?: ExitHandler<Worker>;
                                                                                                                  messageHandler?: MessageHandler<Worker>;
                                                                                                                  onlineHandler?: OnlineHandler<Worker>;
                                                                                                                  restartWorkerOnError?: boolean;
                                                                                                                  settings?: ClusterSettings;
                                                                                                                  startWorkers?: boolean;
                                                                                                                  tasksQueueOptions?: TasksQueueOptions;
                                                                                                                  workerChoiceStrategy?:
                                                                                                                      | "FAIR_SHARE"
                                                                                                                      | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                      | "LEAST_BUSY"
                                                                                                                      | "LEAST_ELU"
                                                                                                                      | "LEAST_USED"
                                                                                                                      | "ROUND_ROBIN"
                                                                                                                      | "WEIGHTED_ROUND_ROBIN";
                                                                                                                  workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions;
                                                                                                                  workerOptions?: WorkerOptions;
                                                                                                              }

                                                                                                              Type Parameters

                                                                                                              • Worker extends IWorker

                                                                                                                Type of worker.

                                                                                                                -
                                                                                                              Index

                                                                                                              Properties

                                                                                                              Index

                                                                                                              Properties

                                                                                                              true
                                                                                                               
                                                                                                              -
                                                                                                              enableTasksQueue?: boolean

                                                                                                              Pool worker node tasks queue.

                                                                                                              +
                                                                                                              enableTasksQueue?: boolean

                                                                                                              Pool worker node tasks queue.

                                                                                                              false
                                                                                                               
                                                                                                              -
                                                                                                              env?: Record<string, unknown>

                                                                                                              Key/value pairs to add to worker process environment.

                                                                                                              +
                                                                                                              env?: Record<string, unknown>

                                                                                                              Key/value pairs to add to worker process environment.

                                                                                                              errorHandler?: ErrorHandler<Worker>

                                                                                                              A function that will listen for error event on each worker.

                                                                                                              +
                                                                                                              errorHandler?: ErrorHandler<Worker>

                                                                                                              A function that will listen for error event on each worker.

                                                                                                              () => {}

                                                                                                              -
                                                                                                              exitHandler?: ExitHandler<Worker>

                                                                                                              A function that will listen for exit event on each worker.

                                                                                                              +
                                                                                                              exitHandler?: ExitHandler<Worker>

                                                                                                              A function that will listen for exit event on each worker.

                                                                                                              () => {}

                                                                                                              -
                                                                                                              messageHandler?: MessageHandler<Worker>

                                                                                                              A function that will listen for message event on each worker.

                                                                                                              +
                                                                                                              messageHandler?: MessageHandler<Worker>

                                                                                                              A function that will listen for message event on each worker.

                                                                                                              () => {}

                                                                                                              -
                                                                                                              onlineHandler?: OnlineHandler<Worker>

                                                                                                              A function that will listen for online event on each worker.

                                                                                                              +
                                                                                                              onlineHandler?: OnlineHandler<Worker>

                                                                                                              A function that will listen for online event on each worker.

                                                                                                              () => {}

                                                                                                              -
                                                                                                              restartWorkerOnError?: boolean

                                                                                                              Restart worker on error.

                                                                                                              -
                                                                                                              settings?: ClusterSettings

                                                                                                              Cluster settings.

                                                                                                              +
                                                                                                              restartWorkerOnError?: boolean

                                                                                                              Restart worker on error.

                                                                                                              +
                                                                                                              settings?: ClusterSettings

                                                                                                              Cluster settings.

                                                                                                              startWorkers?: boolean

                                                                                                              Whether to start the minimum number of workers at pool initialization.

                                                                                                              +
                                                                                                              startWorkers?: boolean

                                                                                                              Whether to start the minimum number of workers at pool initialization.

                                                                                                              true
                                                                                                               
                                                                                                              -
                                                                                                              tasksQueueOptions?: TasksQueueOptions

                                                                                                              Pool worker node tasks queue options.

                                                                                                              -
                                                                                                              workerChoiceStrategy?:
                                                                                                                  | "FAIR_SHARE"
                                                                                                                  | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                  | "LEAST_BUSY"
                                                                                                                  | "LEAST_ELU"
                                                                                                                  | "LEAST_USED"
                                                                                                                  | "ROUND_ROBIN"
                                                                                                                  | "WEIGHTED_ROUND_ROBIN"

                                                                                                              The default worker choice strategy to use in this pool.

                                                                                                              +
                                                                                                              tasksQueueOptions?: TasksQueueOptions

                                                                                                              Pool worker node tasks queue options.

                                                                                                              +
                                                                                                              workerChoiceStrategy?:
                                                                                                                  | "FAIR_SHARE"
                                                                                                                  | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                  | "LEAST_BUSY"
                                                                                                                  | "LEAST_ELU"
                                                                                                                  | "LEAST_USED"
                                                                                                                  | "ROUND_ROBIN"
                                                                                                                  | "WEIGHTED_ROUND_ROBIN"

                                                                                                              The default worker choice strategy to use in this pool.

                                                                                                              WorkerChoiceStrategies.ROUND_ROBIN
                                                                                                               
                                                                                                              -
                                                                                                              workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions

                                                                                                              The worker choice strategy options.

                                                                                                              -
                                                                                                              workerOptions?: WorkerOptions

                                                                                                              Worker options.

                                                                                                              +
                                                                                                              workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions

                                                                                                              The worker choice strategy options.

                                                                                                              +
                                                                                                              workerOptions?: WorkerOptions

                                                                                                              Worker options.

                                                                                                              +
                                                                                                              diff --git a/docs/interfaces/src.PriorityQueue.html b/docs/interfaces/src.PriorityQueue.html index 821df9d53..60c143df6 100644 --- a/docs/interfaces/src.PriorityQueue.html +++ b/docs/interfaces/src.PriorityQueue.html @@ -1,6 +1,6 @@ -PriorityQueue | poolifier - v5.0.5
                                                                                                              poolifier - v5.0.5
                                                                                                                Preparing search index...

                                                                                                                Interface PriorityQueue<T>Internal

                                                                                                                Priority queue.

                                                                                                                +PriorityQueue | poolifier - v5.0.6
                                                                                                                poolifier - v5.0.6
                                                                                                                  Preparing search index...

                                                                                                                  Interface PriorityQueue<T>Internal

                                                                                                                  Priority queue.

                                                                                                                  interface PriorityQueue<T> {
                                                                                                                      maxSize: number;
                                                                                                                      size: number;
                                                                                                                      get buckets(): number;
                                                                                                                      get enablePriority(): boolean;
                                                                                                                      set enablePriority(enablePriority: boolean): void;
                                                                                                                      "[iterator]"(): Iterator<T>;
                                                                                                                      clear(): void;
                                                                                                                      delete(data: T): boolean;
                                                                                                                      dequeue(bucket?: number): undefined | T;
                                                                                                                      enqueue(data: T, priority?: number): number;
                                                                                                                  }

                                                                                                                  Type Parameters

                                                                                                                  • T

                                                                                                                    Type of priority queue data.

                                                                                                                    -
                                                                                                                  Index

                                                                                                                  Properties

                                                                                                                  Index

                                                                                                                  Properties

                                                                                                                  Accessors

                                                                                                                  buckets enablePriority @@ -10,25 +10,25 @@ dequeue enqueue

                                                                                                                  Properties

                                                                                                                  maxSize: number

                                                                                                                  The priority queue maximum size.

                                                                                                                  -
                                                                                                                  size: number

                                                                                                                  The priority queue size.

                                                                                                                  -

                                                                                                                  Accessors

                                                                                                                  size: number

                                                                                                                  The priority queue size.

                                                                                                                  +

                                                                                                                  Accessors

                                                                                                                  • get buckets(): number

                                                                                                                    The number of filled prioritized buckets.

                                                                                                                    Returns number

                                                                                                                    The number of filled prioritized buckets.

                                                                                                                    -

                                                                                                                  Methods

                                                                                                                  • Returns an iterator for the priority queue.

                                                                                                                    +

                                                                                                                  Returns void

                                                                                                                  Methods

                                                                                                                  • Deletes the given data from the priority queue.

                                                                                                                    Parameters

                                                                                                                    • data: T

                                                                                                                      Data to delete.

                                                                                                                    Returns boolean

                                                                                                                    true if the data was deleted, false otherwise.

                                                                                                                    -
                                                                                                                  • Dequeue data from the priority queue.

                                                                                                                    Parameters

                                                                                                                    • Optionalbucket: number

                                                                                                                      The prioritized bucket to dequeue from.

                                                                                                                    Returns undefined | T

                                                                                                                    The dequeued data or undefined if the priority queue is empty.

                                                                                                                    -
                                                                                                                  • Enqueue data into the priority queue.

                                                                                                                    Parameters

                                                                                                                    • data: T

                                                                                                                      Data to enqueue.

                                                                                                                    • Optionalpriority: number

                                                                                                                      Priority of the data. Lower values have higher priority.

                                                                                                                    Returns number

                                                                                                                    The new size of the priority queue.

                                                                                                                    -
                                                                                                                  +
                                                                                                                  diff --git a/docs/interfaces/src.PromiseResponseWrapper.html b/docs/interfaces/src.PromiseResponseWrapper.html index 268e74127..59b5dd11a 100644 --- a/docs/interfaces/src.PromiseResponseWrapper.html +++ b/docs/interfaces/src.PromiseResponseWrapper.html @@ -1,13 +1,13 @@ -PromiseResponseWrapper | poolifier - v5.0.5
                                                                                                                  poolifier - v5.0.5
                                                                                                                    Preparing search index...

                                                                                                                    Interface PromiseResponseWrapper<Response>Internal

                                                                                                                    An object holding the task execution response promise resolve/reject callbacks.

                                                                                                                    +PromiseResponseWrapper | poolifier - v5.0.6
                                                                                                                    poolifier - v5.0.6
                                                                                                                      Preparing search index...

                                                                                                                      Interface PromiseResponseWrapper<Response>Internal

                                                                                                                      An object holding the task execution response promise resolve/reject callbacks.

                                                                                                                      interface PromiseResponseWrapper<Response = unknown> {
                                                                                                                          abortSignal?: AbortSignal;
                                                                                                                          asyncResource?: AsyncResource;
                                                                                                                          reject: (reason?: unknown) => void;
                                                                                                                          resolve: (value: Response | PromiseLike<Response>) => void;
                                                                                                                          workerNodeKey: number;
                                                                                                                      }

                                                                                                                      Type Parameters

                                                                                                                      • Response = unknown

                                                                                                                        Type of execution response. This can only be structured-cloneable data.

                                                                                                                        -
                                                                                                                      Index

                                                                                                                      Properties

                                                                                                                      Index

                                                                                                                      Properties

                                                                                                                      abortSignal?: AbortSignal

                                                                                                                      The task abort signal.

                                                                                                                      -
                                                                                                                      asyncResource?: AsyncResource

                                                                                                                      The asynchronous resource used to track the task execution.

                                                                                                                      -
                                                                                                                      reject: (reason?: unknown) => void

                                                                                                                      Reject callback to reject the promise.

                                                                                                                      -
                                                                                                                      resolve: (value: Response | PromiseLike<Response>) => void

                                                                                                                      Resolve callback to fulfill the promise.

                                                                                                                      -
                                                                                                                      workerNodeKey: number

                                                                                                                      The worker node key executing the task.

                                                                                                                      -
                                                                                                                      +
                                                                                                                      asyncResource?: AsyncResource

                                                                                                                      The asynchronous resource used to track the task execution.

                                                                                                                      +
                                                                                                                      reject: (reason?: unknown) => void

                                                                                                                      Reject callback to reject the promise.

                                                                                                                      +
                                                                                                                      resolve: (value: Response | PromiseLike<Response>) => void

                                                                                                                      Resolve callback to fulfill the promise.

                                                                                                                      +
                                                                                                                      workerNodeKey: number

                                                                                                                      The worker node key executing the task.

                                                                                                                      +
                                                                                                                      diff --git a/docs/interfaces/src.StrategyData.html b/docs/interfaces/src.StrategyData.html index 67471f5fe..b0922afd6 100644 --- a/docs/interfaces/src.StrategyData.html +++ b/docs/interfaces/src.StrategyData.html @@ -1,3 +1,3 @@ -StrategyData | poolifier - v5.0.5
                                                                                                                      poolifier - v5.0.5
                                                                                                                        Preparing search index...

                                                                                                                        Interface StrategyDataInternal

                                                                                                                        Worker choice strategy data.

                                                                                                                        -
                                                                                                                        interface StrategyData {
                                                                                                                            virtualTaskEndTimestamp?: number;
                                                                                                                        }
                                                                                                                        Index

                                                                                                                        Properties

                                                                                                                        virtualTaskEndTimestamp?: number
                                                                                                                        +StrategyData | poolifier - v5.0.6
                                                                                                                        poolifier - v5.0.6
                                                                                                                          Preparing search index...

                                                                                                                          Interface StrategyDataInternal

                                                                                                                          Worker choice strategy data.

                                                                                                                          +
                                                                                                                          interface StrategyData {
                                                                                                                              virtualTaskEndTimestamp?: number;
                                                                                                                          }
                                                                                                                          Index

                                                                                                                          Properties

                                                                                                                          virtualTaskEndTimestamp?: number
                                                                                                                          diff --git a/docs/interfaces/src.StrategyPolicy.html b/docs/interfaces/src.StrategyPolicy.html index 1a085ce19..e16320c17 100644 --- a/docs/interfaces/src.StrategyPolicy.html +++ b/docs/interfaces/src.StrategyPolicy.html @@ -1,6 +1,6 @@ -StrategyPolicy | poolifier - v5.0.5
                                                                                                                          poolifier - v5.0.5
                                                                                                                            Preparing search index...

                                                                                                                            Interface StrategyPolicyInternal

                                                                                                                            Strategy policy.

                                                                                                                            -
                                                                                                                            interface StrategyPolicy {
                                                                                                                                dynamicWorkerReady: boolean;
                                                                                                                                dynamicWorkerUsage: boolean;
                                                                                                                            }
                                                                                                                            Index

                                                                                                                            Properties

                                                                                                                            dynamicWorkerReady +StrategyPolicy | poolifier - v5.0.6
                                                                                                                            poolifier - v5.0.6
                                                                                                                              Preparing search index...

                                                                                                                              Interface StrategyPolicyInternal

                                                                                                                              Strategy policy.

                                                                                                                              +
                                                                                                                              interface StrategyPolicy {
                                                                                                                                  dynamicWorkerReady: boolean;
                                                                                                                                  dynamicWorkerUsage: boolean;
                                                                                                                              }
                                                                                                                              Index

                                                                                                                              Properties

                                                                                                                              dynamicWorkerReady: boolean

                                                                                                                              Expects the newly created dynamic worker to be flagged as ready.

                                                                                                                              -
                                                                                                                              dynamicWorkerUsage: boolean

                                                                                                                              Expects tasks execution on the newly created dynamic worker.

                                                                                                                              -
                                                                                                                              +
                                                                                                                              dynamicWorkerUsage: boolean

                                                                                                                              Expects tasks execution on the newly created dynamic worker.

                                                                                                                              +
                                                                                                                              diff --git a/docs/interfaces/src.Task.html b/docs/interfaces/src.Task.html index c9541dae3..2140b4dfb 100644 --- a/docs/interfaces/src.Task.html +++ b/docs/interfaces/src.Task.html @@ -1,6 +1,6 @@ -Task | poolifier - v5.0.5
                                                                                                                              poolifier - v5.0.5
                                                                                                                                Preparing search index...

                                                                                                                                Interface Task<Data>Internal

                                                                                                                                Message object that is passed as a task between main worker and worker.

                                                                                                                                +Task | poolifier - v5.0.6
                                                                                                                                poolifier - v5.0.6
                                                                                                                                  Preparing search index...

                                                                                                                                  Interface Task<Data>Internal

                                                                                                                                  Message object that is passed as a task between main worker and worker.

                                                                                                                                  interface Task<Data = unknown> {
                                                                                                                                      abortable?: boolean;
                                                                                                                                      data?: Data;
                                                                                                                                      name?: string;
                                                                                                                                      priority?: number;
                                                                                                                                      strategy?:
                                                                                                                                          | "FAIR_SHARE"
                                                                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                          | "LEAST_BUSY"
                                                                                                                                          | "LEAST_ELU"
                                                                                                                                          | "LEAST_USED"
                                                                                                                                          | "ROUND_ROBIN"
                                                                                                                                          | "WEIGHTED_ROUND_ROBIN";
                                                                                                                                      taskId?: `${string}-${string}-${string}-${string}-${string}`;
                                                                                                                                      timestamp?: number;
                                                                                                                                      transferList?: readonly Transferable[];
                                                                                                                                  }

                                                                                                                                  Type Parameters

                                                                                                                                  • Data = unknown

                                                                                                                                    Type of data sent to the worker. This can only be structured-cloneable data.

                                                                                                                                    -

                                                                                                                                  Hierarchy (View Summary)

                                                                                                                                  Index

                                                                                                                                  Properties

                                                                                                                                  Hierarchy (View Summary)

                                                                                                                                  Index

                                                                                                                                  Properties

                                                                                                                                  abortable?: boolean

                                                                                                                                  Whether the task is abortable or not.

                                                                                                                                  -
                                                                                                                                  data?: Data

                                                                                                                                  Task input data that will be passed to the worker.

                                                                                                                                  -
                                                                                                                                  name?: string

                                                                                                                                  Task name.

                                                                                                                                  -
                                                                                                                                  priority?: number

                                                                                                                                  Task priority. Lower values have higher priority.

                                                                                                                                  +
                                                                                                                                  data?: Data

                                                                                                                                  Task input data that will be passed to the worker.

                                                                                                                                  +
                                                                                                                                  name?: string

                                                                                                                                  Task name.

                                                                                                                                  +
                                                                                                                                  priority?: number

                                                                                                                                  Task priority. Lower values have higher priority.

                                                                                                                                  0
                                                                                                                                   
                                                                                                                                  -
                                                                                                                                  strategy?:
                                                                                                                                      | "FAIR_SHARE"
                                                                                                                                      | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                      | "LEAST_BUSY"
                                                                                                                                      | "LEAST_ELU"
                                                                                                                                      | "LEAST_USED"
                                                                                                                                      | "ROUND_ROBIN"
                                                                                                                                      | "WEIGHTED_ROUND_ROBIN"

                                                                                                                                  Task worker choice strategy.

                                                                                                                                  -
                                                                                                                                  taskId?: `${string}-${string}-${string}-${string}-${string}`

                                                                                                                                  Task UUID.

                                                                                                                                  -
                                                                                                                                  timestamp?: number

                                                                                                                                  Timestamp.

                                                                                                                                  -
                                                                                                                                  transferList?: readonly Transferable[]

                                                                                                                                  Array of transferable objects.

                                                                                                                                  -
                                                                                                                                  +
                                                                                                                                  strategy?:
                                                                                                                                      | "FAIR_SHARE"
                                                                                                                                      | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                      | "LEAST_BUSY"
                                                                                                                                      | "LEAST_ELU"
                                                                                                                                      | "LEAST_USED"
                                                                                                                                      | "ROUND_ROBIN"
                                                                                                                                      | "WEIGHTED_ROUND_ROBIN"

                                                                                                                                  Task worker choice strategy.

                                                                                                                                  +
                                                                                                                                  taskId?: `${string}-${string}-${string}-${string}-${string}`

                                                                                                                                  Task UUID.

                                                                                                                                  +
                                                                                                                                  timestamp?: number

                                                                                                                                  Timestamp.

                                                                                                                                  +
                                                                                                                                  transferList?: readonly Transferable[]

                                                                                                                                  Array of transferable objects.

                                                                                                                                  +
                                                                                                                                  diff --git a/docs/interfaces/src.TaskFunctionObject.html b/docs/interfaces/src.TaskFunctionObject.html index ba68e49d8..279db0392 100644 --- a/docs/interfaces/src.TaskFunctionObject.html +++ b/docs/interfaces/src.TaskFunctionObject.html @@ -1,10 +1,10 @@ -TaskFunctionObject | poolifier - v5.0.5
                                                                                                                                  poolifier - v5.0.5
                                                                                                                                    Preparing search index...

                                                                                                                                    Interface TaskFunctionObject<Data, Response>

                                                                                                                                    Task function object.

                                                                                                                                    +TaskFunctionObject | poolifier - v5.0.6
                                                                                                                                    poolifier - v5.0.6
                                                                                                                                      Preparing search index...

                                                                                                                                      Interface TaskFunctionObject<Data, Response>

                                                                                                                                      Task function object.

                                                                                                                                      interface TaskFunctionObject<Data = unknown, Response = unknown> {
                                                                                                                                          priority?: number;
                                                                                                                                          strategy?:
                                                                                                                                              | "FAIR_SHARE"
                                                                                                                                              | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                              | "LEAST_BUSY"
                                                                                                                                              | "LEAST_ELU"
                                                                                                                                              | "LEAST_USED"
                                                                                                                                              | "ROUND_ROBIN"
                                                                                                                                              | "WEIGHTED_ROUND_ROBIN";
                                                                                                                                          taskFunction: TaskFunction<Data, Response>;
                                                                                                                                      }

                                                                                                                                      Type Parameters

                                                                                                                                      • Data = unknown

                                                                                                                                        Type of data sent to the worker. This can only be structured-cloneable data.

                                                                                                                                      • Response = unknown

                                                                                                                                        Type of execution response. This can only be structured-cloneable data.

                                                                                                                                        -
                                                                                                                                      Index

                                                                                                                                      Properties

                                                                                                                                      Index

                                                                                                                                      Properties

                                                                                                                                      priority?: number

                                                                                                                                      Task function priority. Lower values have higher priority.

                                                                                                                                      -
                                                                                                                                      strategy?:
                                                                                                                                          | "FAIR_SHARE"
                                                                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                          | "LEAST_BUSY"
                                                                                                                                          | "LEAST_ELU"
                                                                                                                                          | "LEAST_USED"
                                                                                                                                          | "ROUND_ROBIN"
                                                                                                                                          | "WEIGHTED_ROUND_ROBIN"

                                                                                                                                      Task function worker choice strategy.

                                                                                                                                      -
                                                                                                                                      taskFunction: TaskFunction<Data, Response>

                                                                                                                                      Task function.

                                                                                                                                      -
                                                                                                                                      +
                                                                                                                                      strategy?:
                                                                                                                                          | "FAIR_SHARE"
                                                                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                          | "LEAST_BUSY"
                                                                                                                                          | "LEAST_ELU"
                                                                                                                                          | "LEAST_USED"
                                                                                                                                          | "ROUND_ROBIN"
                                                                                                                                          | "WEIGHTED_ROUND_ROBIN"

                                                                                                                                      Task function worker choice strategy.

                                                                                                                                      +
                                                                                                                                      taskFunction: TaskFunction<Data, Response>

                                                                                                                                      Task function.

                                                                                                                                      +
                                                                                                                                      diff --git a/docs/interfaces/src.TaskFunctionOperationResult.html b/docs/interfaces/src.TaskFunctionOperationResult.html index 43651b79f..f632b140b 100644 --- a/docs/interfaces/src.TaskFunctionOperationResult.html +++ b/docs/interfaces/src.TaskFunctionOperationResult.html @@ -1,4 +1,4 @@ -TaskFunctionOperationResult | poolifier - v5.0.5
                                                                                                                                      poolifier - v5.0.5
                                                                                                                                        Preparing search index...

                                                                                                                                        Interface TaskFunctionOperationResult

                                                                                                                                        Task function operation result.

                                                                                                                                        -
                                                                                                                                        interface TaskFunctionOperationResult {
                                                                                                                                            error?: Error;
                                                                                                                                            status: boolean;
                                                                                                                                        }
                                                                                                                                        Index

                                                                                                                                        Properties

                                                                                                                                        error? +TaskFunctionOperationResult | poolifier - v5.0.6
                                                                                                                                        poolifier - v5.0.6
                                                                                                                                          Preparing search index...

                                                                                                                                          Interface TaskFunctionOperationResult

                                                                                                                                          Task function operation result.

                                                                                                                                          +
                                                                                                                                          interface TaskFunctionOperationResult {
                                                                                                                                              error?: Error;
                                                                                                                                              status: boolean;
                                                                                                                                          }
                                                                                                                                          Index

                                                                                                                                          Properties

                                                                                                                                          Properties

                                                                                                                                          error?: Error
                                                                                                                                          status: boolean
                                                                                                                                          +

                                                                                                                                          Properties

                                                                                                                                          error?: Error
                                                                                                                                          status: boolean
                                                                                                                                          diff --git a/docs/interfaces/src.TaskFunctionProperties.html b/docs/interfaces/src.TaskFunctionProperties.html index 767c5c141..bc9d5472f 100644 --- a/docs/interfaces/src.TaskFunctionProperties.html +++ b/docs/interfaces/src.TaskFunctionProperties.html @@ -1,8 +1,8 @@ -TaskFunctionProperties | poolifier - v5.0.5
                                                                                                                                          poolifier - v5.0.5
                                                                                                                                            Preparing search index...

                                                                                                                                            Interface TaskFunctionProperties

                                                                                                                                            Task function properties.

                                                                                                                                            -
                                                                                                                                            interface TaskFunctionProperties {
                                                                                                                                                name: string;
                                                                                                                                                priority?: number;
                                                                                                                                                strategy?:
                                                                                                                                                    | "FAIR_SHARE"
                                                                                                                                                    | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                    | "LEAST_BUSY"
                                                                                                                                                    | "LEAST_ELU"
                                                                                                                                                    | "LEAST_USED"
                                                                                                                                                    | "ROUND_ROBIN"
                                                                                                                                                    | "WEIGHTED_ROUND_ROBIN";
                                                                                                                                            }
                                                                                                                                            Index

                                                                                                                                            Properties

                                                                                                                                            name +TaskFunctionProperties | poolifier - v5.0.6
                                                                                                                                            poolifier - v5.0.6
                                                                                                                                              Preparing search index...

                                                                                                                                              Interface TaskFunctionProperties

                                                                                                                                              Task function properties.

                                                                                                                                              +
                                                                                                                                              interface TaskFunctionProperties {
                                                                                                                                                  name: string;
                                                                                                                                                  priority?: number;
                                                                                                                                                  strategy?:
                                                                                                                                                      | "FAIR_SHARE"
                                                                                                                                                      | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                      | "LEAST_BUSY"
                                                                                                                                                      | "LEAST_ELU"
                                                                                                                                                      | "LEAST_USED"
                                                                                                                                                      | "ROUND_ROBIN"
                                                                                                                                                      | "WEIGHTED_ROUND_ROBIN";
                                                                                                                                              }
                                                                                                                                              Index

                                                                                                                                              Properties

                                                                                                                                              name: string

                                                                                                                                              Task function name.

                                                                                                                                              -
                                                                                                                                              priority?: number

                                                                                                                                              Task function priority. Lower values have higher priority.

                                                                                                                                              -
                                                                                                                                              strategy?:
                                                                                                                                                  | "FAIR_SHARE"
                                                                                                                                                  | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                  | "LEAST_BUSY"
                                                                                                                                                  | "LEAST_ELU"
                                                                                                                                                  | "LEAST_USED"
                                                                                                                                                  | "ROUND_ROBIN"
                                                                                                                                                  | "WEIGHTED_ROUND_ROBIN"

                                                                                                                                              Task function worker choice strategy.

                                                                                                                                              -
                                                                                                                                              +
                                                                                                                                              priority?: number

                                                                                                                                              Task function priority. Lower values have higher priority.

                                                                                                                                              +
                                                                                                                                              strategy?:
                                                                                                                                                  | "FAIR_SHARE"
                                                                                                                                                  | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                  | "LEAST_BUSY"
                                                                                                                                                  | "LEAST_ELU"
                                                                                                                                                  | "LEAST_USED"
                                                                                                                                                  | "ROUND_ROBIN"
                                                                                                                                                  | "WEIGHTED_ROUND_ROBIN"

                                                                                                                                              Task function worker choice strategy.

                                                                                                                                              +
                                                                                                                                              diff --git a/docs/interfaces/src.TaskPerformance.html b/docs/interfaces/src.TaskPerformance.html index 6657cce3a..eeeb7f389 100644 --- a/docs/interfaces/src.TaskPerformance.html +++ b/docs/interfaces/src.TaskPerformance.html @@ -1,10 +1,10 @@ -TaskPerformance | poolifier - v5.0.5
                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                Preparing search index...

                                                                                                                                                Interface TaskPerformanceInternal

                                                                                                                                                Task performance.

                                                                                                                                                -
                                                                                                                                                interface TaskPerformance {
                                                                                                                                                    elu?: EventLoopUtilization;
                                                                                                                                                    name: string;
                                                                                                                                                    runTime?: number;
                                                                                                                                                    timestamp: number;
                                                                                                                                                }
                                                                                                                                                Index

                                                                                                                                                Properties

                                                                                                                                                elu? +TaskPerformance | poolifier - v5.0.6
                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                  Preparing search index...

                                                                                                                                                  Interface TaskPerformanceInternal

                                                                                                                                                  Task performance.

                                                                                                                                                  +
                                                                                                                                                  interface TaskPerformance {
                                                                                                                                                      elu?: EventLoopUtilization;
                                                                                                                                                      name: string;
                                                                                                                                                      runTime?: number;
                                                                                                                                                      timestamp: number;
                                                                                                                                                  }
                                                                                                                                                  Index

                                                                                                                                                  Properties

                                                                                                                                                  elu?: EventLoopUtilization

                                                                                                                                                  Task event loop utilization.

                                                                                                                                                  -
                                                                                                                                                  name: string

                                                                                                                                                  Task name.

                                                                                                                                                  -
                                                                                                                                                  runTime?: number

                                                                                                                                                  Task runtime.

                                                                                                                                                  -
                                                                                                                                                  timestamp: number

                                                                                                                                                  Task performance timestamp.

                                                                                                                                                  -
                                                                                                                                                  +
                                                                                                                                                  name: string

                                                                                                                                                  Task name.

                                                                                                                                                  +
                                                                                                                                                  runTime?: number

                                                                                                                                                  Task runtime.

                                                                                                                                                  +
                                                                                                                                                  timestamp: number

                                                                                                                                                  Task performance timestamp.

                                                                                                                                                  +
                                                                                                                                                  diff --git a/docs/interfaces/src.TaskStatistics.html b/docs/interfaces/src.TaskStatistics.html index d16ab72ad..c083ba5de 100644 --- a/docs/interfaces/src.TaskStatistics.html +++ b/docs/interfaces/src.TaskStatistics.html @@ -1,5 +1,5 @@ -TaskStatistics | poolifier - v5.0.5
                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                    Preparing search index...

                                                                                                                                                    Interface TaskStatisticsInternal

                                                                                                                                                    Task statistics.

                                                                                                                                                    -
                                                                                                                                                    interface TaskStatistics {
                                                                                                                                                        executed: number;
                                                                                                                                                        executing: number;
                                                                                                                                                        failed: number;
                                                                                                                                                        maxQueued?: number;
                                                                                                                                                        queued: number;
                                                                                                                                                        sequentiallyStolen: number;
                                                                                                                                                        stolen: number;
                                                                                                                                                    }
                                                                                                                                                    Index

                                                                                                                                                    Properties

                                                                                                                                                    executed +TaskStatistics | poolifier - v5.0.6
                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                      Preparing search index...

                                                                                                                                                      Interface TaskStatisticsInternal

                                                                                                                                                      Task statistics.

                                                                                                                                                      +
                                                                                                                                                      interface TaskStatistics {
                                                                                                                                                          executed: number;
                                                                                                                                                          executing: number;
                                                                                                                                                          failed: number;
                                                                                                                                                          maxQueued?: number;
                                                                                                                                                          queued: number;
                                                                                                                                                          sequentiallyStolen: number;
                                                                                                                                                          stolen: number;
                                                                                                                                                      }
                                                                                                                                                      Index

                                                                                                                                                      Properties

                                                                                                                                                      executed: number

                                                                                                                                                      Number of executed tasks.

                                                                                                                                                      -
                                                                                                                                                      executing: number

                                                                                                                                                      Number of executing tasks.

                                                                                                                                                      -
                                                                                                                                                      failed: number

                                                                                                                                                      Number of failed tasks.

                                                                                                                                                      -
                                                                                                                                                      maxQueued?: number

                                                                                                                                                      Maximum number of queued tasks.

                                                                                                                                                      -
                                                                                                                                                      queued: number

                                                                                                                                                      Number of queued tasks.

                                                                                                                                                      -
                                                                                                                                                      sequentiallyStolen: number

                                                                                                                                                      Number of sequentially stolen tasks.

                                                                                                                                                      -
                                                                                                                                                      stolen: number

                                                                                                                                                      Number of stolen tasks.

                                                                                                                                                      -
                                                                                                                                                      +
                                                                                                                                                      executing: number

                                                                                                                                                      Number of executing tasks.

                                                                                                                                                      +
                                                                                                                                                      failed: number

                                                                                                                                                      Number of failed tasks.

                                                                                                                                                      +
                                                                                                                                                      maxQueued?: number

                                                                                                                                                      Maximum number of queued tasks.

                                                                                                                                                      +
                                                                                                                                                      queued: number

                                                                                                                                                      Number of queued tasks.

                                                                                                                                                      +
                                                                                                                                                      sequentiallyStolen: number

                                                                                                                                                      Number of sequentially stolen tasks.

                                                                                                                                                      +
                                                                                                                                                      stolen: number

                                                                                                                                                      Number of stolen tasks.

                                                                                                                                                      +
                                                                                                                                                      diff --git a/docs/interfaces/src.TaskStatisticsRequirements.html b/docs/interfaces/src.TaskStatisticsRequirements.html index 03a586155..f91d83ef8 100644 --- a/docs/interfaces/src.TaskStatisticsRequirements.html +++ b/docs/interfaces/src.TaskStatisticsRequirements.html @@ -1,8 +1,8 @@ -TaskStatisticsRequirements | poolifier - v5.0.5
                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                        Preparing search index...

                                                                                                                                                        Interface TaskStatisticsRequirementsInternal

                                                                                                                                                        Pool worker node worker usage statistics requirements.

                                                                                                                                                        -
                                                                                                                                                        interface TaskStatisticsRequirements {
                                                                                                                                                            elu: MeasurementStatisticsRequirements;
                                                                                                                                                            runTime: MeasurementStatisticsRequirements;
                                                                                                                                                            waitTime: MeasurementStatisticsRequirements;
                                                                                                                                                        }
                                                                                                                                                        Index

                                                                                                                                                        Properties

                                                                                                                                                        elu +TaskStatisticsRequirements | poolifier - v5.0.6
                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                          Preparing search index...

                                                                                                                                                          Interface TaskStatisticsRequirementsInternal

                                                                                                                                                          Pool worker node worker usage statistics requirements.

                                                                                                                                                          +
                                                                                                                                                          interface TaskStatisticsRequirements {
                                                                                                                                                              elu: MeasurementStatisticsRequirements;
                                                                                                                                                              runTime: MeasurementStatisticsRequirements;
                                                                                                                                                              waitTime: MeasurementStatisticsRequirements;
                                                                                                                                                          }
                                                                                                                                                          Index

                                                                                                                                                          Properties

                                                                                                                                                          Properties

                                                                                                                                                          Tasks event loop utilization requirements.

                                                                                                                                                          -

                                                                                                                                                          Tasks runtime requirements.

                                                                                                                                                          -

                                                                                                                                                          Tasks wait time requirements.

                                                                                                                                                          -
                                                                                                                                                          +

                                                                                                                                                          Tasks runtime requirements.

                                                                                                                                                          +

                                                                                                                                                          Tasks wait time requirements.

                                                                                                                                                          +
                                                                                                                                                          diff --git a/docs/interfaces/src.TasksQueueOptions.html b/docs/interfaces/src.TasksQueueOptions.html index 811e4da37..89ffaaef0 100644 --- a/docs/interfaces/src.TasksQueueOptions.html +++ b/docs/interfaces/src.TasksQueueOptions.html @@ -1,5 +1,5 @@ -TasksQueueOptions | poolifier - v5.0.5
                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                            Preparing search index...

                                                                                                                                                            Interface TasksQueueOptions

                                                                                                                                                            Worker node tasks queue options.

                                                                                                                                                            -
                                                                                                                                                            interface TasksQueueOptions {
                                                                                                                                                                concurrency?: number;
                                                                                                                                                                size?: number;
                                                                                                                                                                tasksFinishedTimeout?: number;
                                                                                                                                                                tasksStealingOnBackPressure?: boolean;
                                                                                                                                                                tasksStealingRatio?: number;
                                                                                                                                                                taskStealing?: boolean;
                                                                                                                                                            }
                                                                                                                                                            Index

                                                                                                                                                            Properties

                                                                                                                                                            concurrency? +TasksQueueOptions | poolifier - v5.0.6
                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                              Preparing search index...

                                                                                                                                                              Interface TasksQueueOptions

                                                                                                                                                              Worker node tasks queue options.

                                                                                                                                                              +
                                                                                                                                                              interface TasksQueueOptions {
                                                                                                                                                                  concurrency?: number;
                                                                                                                                                                  size?: number;
                                                                                                                                                                  tasksFinishedTimeout?: number;
                                                                                                                                                                  tasksStealingOnBackPressure?: boolean;
                                                                                                                                                                  tasksStealingRatio?: number;
                                                                                                                                                                  taskStealing?: boolean;
                                                                                                                                                              }
                                                                                                                                                              Index

                                                                                                                                                              Properties

                                                                                                                                                              1
                                                                                                                                                               
                                                                                                                                                              -
                                                                                                                                                              size?: number

                                                                                                                                                              Maximum tasks queue size per worker node flagging it as back pressured.

                                                                                                                                                              +
                                                                                                                                                              size?: number

                                                                                                                                                              Maximum tasks queue size per worker node flagging it as back pressured.

                                                                                                                                                              (pool maximum size)^2
                                                                                                                                                               
                                                                                                                                                              -
                                                                                                                                                              tasksFinishedTimeout?: number

                                                                                                                                                              Queued tasks finished timeout in milliseconds at worker node termination.

                                                                                                                                                              +
                                                                                                                                                              tasksFinishedTimeout?: number

                                                                                                                                                              Queued tasks finished timeout in milliseconds at worker node termination.

                                                                                                                                                              2000
                                                                                                                                                               
                                                                                                                                                              -
                                                                                                                                                              tasksStealingOnBackPressure?: boolean

                                                                                                                                                              Whether to enable tasks stealing under back pressure.

                                                                                                                                                              +
                                                                                                                                                              tasksStealingOnBackPressure?: boolean

                                                                                                                                                              Whether to enable tasks stealing under back pressure.

                                                                                                                                                              true
                                                                                                                                                               
                                                                                                                                                              -
                                                                                                                                                              tasksStealingRatio?: number

                                                                                                                                                              Ratio of worker nodes that can steal tasks from another worker node.

                                                                                                                                                              +
                                                                                                                                                              tasksStealingRatio?: number

                                                                                                                                                              Ratio of worker nodes that can steal tasks from another worker node.

                                                                                                                                                              0.6
                                                                                                                                                               
                                                                                                                                                              -
                                                                                                                                                              taskStealing?: boolean

                                                                                                                                                              Whether to enable task stealing on idle.

                                                                                                                                                              +
                                                                                                                                                              taskStealing?: boolean

                                                                                                                                                              Whether to enable task stealing on idle.

                                                                                                                                                              true
                                                                                                                                                               
                                                                                                                                                              -
                                                                                                                                                              +
                                                                                                                                                              diff --git a/docs/interfaces/src.WorkerChoiceStrategiesContext.html b/docs/interfaces/src.WorkerChoiceStrategiesContext.html index e739180e9..23669146f 100644 --- a/docs/interfaces/src.WorkerChoiceStrategiesContext.html +++ b/docs/interfaces/src.WorkerChoiceStrategiesContext.html @@ -1,8 +1,8 @@ -WorkerChoiceStrategiesContext | poolifier - v5.0.5
                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                Preparing search index...

                                                                                                                                                                Interface WorkerChoiceStrategiesContext<Worker, Data, Response>Internal

                                                                                                                                                                The worker choice strategies context.

                                                                                                                                                                +WorkerChoiceStrategiesContext | poolifier - v5.0.6
                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                  Preparing search index...

                                                                                                                                                                  Interface WorkerChoiceStrategiesContext<Worker, Data, Response>Internal

                                                                                                                                                                  The worker choice strategies context.

                                                                                                                                                                  interface WorkerChoiceStrategiesContext<
                                                                                                                                                                      Worker extends IWorker,
                                                                                                                                                                      Data = unknown,
                                                                                                                                                                      Response = unknown,
                                                                                                                                                                  > {
                                                                                                                                                                      retriesCount: number;
                                                                                                                                                                      execute(
                                                                                                                                                                          workerChoiceStrategy?:
                                                                                                                                                                              | "FAIR_SHARE"
                                                                                                                                                                              | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                                              | "LEAST_BUSY"
                                                                                                                                                                              | "LEAST_ELU"
                                                                                                                                                                              | "LEAST_USED"
                                                                                                                                                                              | "ROUND_ROBIN"
                                                                                                                                                                              | "WEIGHTED_ROUND_ROBIN",
                                                                                                                                                                      ): number;
                                                                                                                                                                      getPolicy(): StrategyPolicy;
                                                                                                                                                                      getTaskStatisticsRequirements(): TaskStatisticsRequirements;
                                                                                                                                                                      remove(workerNodeKey: number): boolean;
                                                                                                                                                                      setDefaultWorkerChoiceStrategy(
                                                                                                                                                                          workerChoiceStrategy:
                                                                                                                                                                              | "FAIR_SHARE"
                                                                                                                                                                              | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                                              | "LEAST_BUSY"
                                                                                                                                                                              | "LEAST_ELU"
                                                                                                                                                                              | "LEAST_USED"
                                                                                                                                                                              | "ROUND_ROBIN"
                                                                                                                                                                              | "WEIGHTED_ROUND_ROBIN",
                                                                                                                                                                          opts?: WorkerChoiceStrategyOptions,
                                                                                                                                                                      ): void;
                                                                                                                                                                      setOptions(opts: undefined | WorkerChoiceStrategyOptions): void;
                                                                                                                                                                      syncWorkerChoiceStrategies(
                                                                                                                                                                          workerChoiceStrategies: Set<
                                                                                                                                                                              | "FAIR_SHARE"
                                                                                                                                                                              | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                                              | "LEAST_BUSY"
                                                                                                                                                                              | "LEAST_ELU"
                                                                                                                                                                              | "LEAST_USED"
                                                                                                                                                                              | "ROUND_ROBIN"
                                                                                                                                                                              | "WEIGHTED_ROUND_ROBIN",
                                                                                                                                                                          >,
                                                                                                                                                                          opts?: WorkerChoiceStrategyOptions,
                                                                                                                                                                      ): void;
                                                                                                                                                                      update(workerNodeKey: number): boolean;
                                                                                                                                                                  }

                                                                                                                                                                  Type Parameters

                                                                                                                                                                  • Worker extends IWorker

                                                                                                                                                                    Type of worker.

                                                                                                                                                                  • Data = unknown

                                                                                                                                                                    Type of data sent to the worker. This can only be structured-cloneable data.

                                                                                                                                                                  • Response = unknown

                                                                                                                                                                    Type of execution response. This can only be structured-cloneable data.

                                                                                                                                                                    -
                                                                                                                                                                  Index

                                                                                                                                                                  Properties

                                                                                                                                                                  Index

                                                                                                                                                                  Properties

                                                                                                                                                                  retriesCount: number

                                                                                                                                                                  The number of worker choice strategies execution retries.

                                                                                                                                                                  -

                                                                                                                                                                  Methods

                                                                                                                                                                  • Executes the given worker choice strategy in the context algorithm.

                                                                                                                                                                    +

                                                                                                                                                                  Methods

                                                                                                                                                                  • Executes the given worker choice strategy in the context algorithm.

                                                                                                                                                                    Parameters

                                                                                                                                                                    • workerChoiceStrategy:
                                                                                                                                                                          | "FAIR_SHARE"
                                                                                                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                                          | "LEAST_BUSY"
                                                                                                                                                                          | "LEAST_ELU"
                                                                                                                                                                          | "LEAST_USED"
                                                                                                                                                                          | "ROUND_ROBIN"
                                                                                                                                                                          | "WEIGHTED_ROUND_ROBIN" = ...

                                                                                                                                                                      The worker choice strategy algorithm to execute.

                                                                                                                                                                    Returns number

                                                                                                                                                                    The key of the worker node.

                                                                                                                                                                    this.defaultWorkerChoiceStrategy
                                                                                                                                                                     

                                                                                                                                                                    https://nodejs.org/api/errors.html#class-error If after computed retries the worker node key is null or undefined.

                                                                                                                                                                    -
                                                                                                                                                                  • Sets the default worker choice strategy to use in the context.

                                                                                                                                                                    +
                                                                                                                                                                  • Sets the default worker choice strategy to use in the context.

                                                                                                                                                                    Parameters

                                                                                                                                                                    • workerChoiceStrategy:
                                                                                                                                                                          | "FAIR_SHARE"
                                                                                                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                                          | "LEAST_BUSY"
                                                                                                                                                                          | "LEAST_ELU"
                                                                                                                                                                          | "LEAST_USED"
                                                                                                                                                                          | "ROUND_ROBIN"
                                                                                                                                                                          | "WEIGHTED_ROUND_ROBIN"

                                                                                                                                                                      The default worker choice strategy to set.

                                                                                                                                                                    • Optionalopts: WorkerChoiceStrategyOptions

                                                                                                                                                                      The worker choice strategy options.

                                                                                                                                                                      -

                                                                                                                                                                    Returns void

                                                                                                                                                                  Returns void

                                                                                                                                                                  • Synchronizes the active worker choice strategies in the context with the given worker choice strategies.

                                                                                                                                                                    +

                                                                                                                                                                  Returns void

                                                                                                                                                                  • Synchronizes the active worker choice strategies in the context with the given worker choice strategies.

                                                                                                                                                                    Parameters

                                                                                                                                                                    • workerChoiceStrategies: Set<
                                                                                                                                                                          | "FAIR_SHARE"
                                                                                                                                                                          | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
                                                                                                                                                                          | "LEAST_BUSY"
                                                                                                                                                                          | "LEAST_ELU"
                                                                                                                                                                          | "LEAST_USED"
                                                                                                                                                                          | "ROUND_ROBIN"
                                                                                                                                                                          | "WEIGHTED_ROUND_ROBIN",
                                                                                                                                                                      >

                                                                                                                                                                      The worker choice strategies to synchronize.

                                                                                                                                                                    • Optionalopts: WorkerChoiceStrategyOptions

                                                                                                                                                                      The worker choice strategy options.

                                                                                                                                                                      -

                                                                                                                                                                    Returns void

                                                                                                                                                                  • Updates the worker node key in the active worker choice strategies in the context internals.

                                                                                                                                                                    +

                                                                                                                                                                  Returns void

                                                                                                                                                                  +
                                                                                                                                                                  diff --git a/docs/interfaces/src.WorkerChoiceStrategyOptions.html b/docs/interfaces/src.WorkerChoiceStrategyOptions.html index 494eec750..4966511fe 100644 --- a/docs/interfaces/src.WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/src.WorkerChoiceStrategyOptions.html @@ -1,5 +1,5 @@ -WorkerChoiceStrategyOptions | poolifier - v5.0.5
                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                    Preparing search index...

                                                                                                                                                                    Interface WorkerChoiceStrategyOptions

                                                                                                                                                                    Worker choice strategy options.

                                                                                                                                                                    -
                                                                                                                                                                    interface WorkerChoiceStrategyOptions {
                                                                                                                                                                        elu?: MeasurementOptions;
                                                                                                                                                                        measurement?: "elu" | "runTime" | "waitTime";
                                                                                                                                                                        runTime?: MeasurementOptions;
                                                                                                                                                                        waitTime?: MeasurementOptions;
                                                                                                                                                                        weights?: Record<number, number>;
                                                                                                                                                                    }
                                                                                                                                                                    Index

                                                                                                                                                                    Properties

                                                                                                                                                                    elu? +WorkerChoiceStrategyOptions | poolifier - v5.0.6
                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                      Preparing search index...

                                                                                                                                                                      Interface WorkerChoiceStrategyOptions

                                                                                                                                                                      Worker choice strategy options.

                                                                                                                                                                      +
                                                                                                                                                                      interface WorkerChoiceStrategyOptions {
                                                                                                                                                                          elu?: MeasurementOptions;
                                                                                                                                                                          measurement?: "elu" | "runTime" | "waitTime";
                                                                                                                                                                          runTime?: MeasurementOptions;
                                                                                                                                                                          waitTime?: MeasurementOptions;
                                                                                                                                                                          weights?: Record<number, number>;
                                                                                                                                                                      }
                                                                                                                                                                      Index

                                                                                                                                                                      Properties

                                                                                                                                                                      elu? measurement? runTime? waitTime? @@ -8,18 +8,18 @@
                                                                                                                                                                      { median: false }
                                                                                                                                                                       
                                                                                                                                                                      -
                                                                                                                                                                      measurement?: "elu" | "runTime" | "waitTime"

                                                                                                                                                                      Measurement to use in worker choice strategy supporting it.

                                                                                                                                                                      -

                                                                                                                                                                      Runtime options.

                                                                                                                                                                      +
                                                                                                                                                                      measurement?: "elu" | "runTime" | "waitTime"

                                                                                                                                                                      Measurement to use in worker choice strategy supporting it.

                                                                                                                                                                      +

                                                                                                                                                                      Runtime options.

                                                                                                                                                                      { median: false }
                                                                                                                                                                       
                                                                                                                                                                      -

                                                                                                                                                                      Wait time options.

                                                                                                                                                                      +

                                                                                                                                                                      Wait time options.

                                                                                                                                                                      { median: false }
                                                                                                                                                                       
                                                                                                                                                                      -
                                                                                                                                                                      weights?: Record<number, number>

                                                                                                                                                                      Worker weights to use for weighted round robin worker selection strategies. +

                                                                                                                                                                      weights?: Record<number, number>

                                                                                                                                                                      Worker weights to use for weighted round robin worker selection strategies. A weight is tasks maximum execution time in milliseconds for a worker node.

                                                                                                                                                                      Weights computed automatically given the CPU performance.
                                                                                                                                                                       
                                                                                                                                                                      -
                                                                                                                                                                      +
                                                                                                                                                                      diff --git a/docs/interfaces/src.WorkerError.html b/docs/interfaces/src.WorkerError.html index cc80c5ecd..d4b3d6abf 100644 --- a/docs/interfaces/src.WorkerError.html +++ b/docs/interfaces/src.WorkerError.html @@ -1,15 +1,15 @@ -WorkerError | poolifier - v5.0.5
                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                        Preparing search index...

                                                                                                                                                                        Interface WorkerError<Data>

                                                                                                                                                                        Worker error.

                                                                                                                                                                        +WorkerError | poolifier - v5.0.6
                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                          Preparing search index...

                                                                                                                                                                          Interface WorkerError<Data>

                                                                                                                                                                          Worker error.

                                                                                                                                                                          interface WorkerError<Data = unknown> {
                                                                                                                                                                              aborted: boolean;
                                                                                                                                                                              data?: Data;
                                                                                                                                                                              error?: Error;
                                                                                                                                                                              message: string;
                                                                                                                                                                              name?: string;
                                                                                                                                                                              stack?: string;
                                                                                                                                                                          }

                                                                                                                                                                          Type Parameters

                                                                                                                                                                          • Data = unknown

                                                                                                                                                                            Type of data sent to the worker triggering an error. This can only be structured-cloneable data.

                                                                                                                                                                            -
                                                                                                                                                                          Index

                                                                                                                                                                          Properties

                                                                                                                                                                          Index

                                                                                                                                                                          Properties

                                                                                                                                                                          aborted: boolean

                                                                                                                                                                          Whether the error is an abort error or not.

                                                                                                                                                                          -
                                                                                                                                                                          data?: Data

                                                                                                                                                                          Data triggering the error.

                                                                                                                                                                          -
                                                                                                                                                                          error?: Error

                                                                                                                                                                          Error object.

                                                                                                                                                                          -
                                                                                                                                                                          message: string

                                                                                                                                                                          Error message.

                                                                                                                                                                          -
                                                                                                                                                                          name?: string

                                                                                                                                                                          Task function name triggering the error.

                                                                                                                                                                          -
                                                                                                                                                                          stack?: string

                                                                                                                                                                          Error stack trace.

                                                                                                                                                                          -
                                                                                                                                                                          +
                                                                                                                                                                          data?: Data

                                                                                                                                                                          Data triggering the error.

                                                                                                                                                                          +
                                                                                                                                                                          error?: Error

                                                                                                                                                                          Error object.

                                                                                                                                                                          +
                                                                                                                                                                          message: string

                                                                                                                                                                          Error message.

                                                                                                                                                                          +
                                                                                                                                                                          name?: string

                                                                                                                                                                          Task function name triggering the error.

                                                                                                                                                                          +
                                                                                                                                                                          stack?: string

                                                                                                                                                                          Error stack trace.

                                                                                                                                                                          +
                                                                                                                                                                          diff --git a/docs/interfaces/src.WorkerInfo.html b/docs/interfaces/src.WorkerInfo.html index 229476697..22417d952 100644 --- a/docs/interfaces/src.WorkerInfo.html +++ b/docs/interfaces/src.WorkerInfo.html @@ -1,5 +1,5 @@ -WorkerInfo | poolifier - v5.0.5
                                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                                            Preparing search index...

                                                                                                                                                                            Interface WorkerInfoInternal

                                                                                                                                                                            Worker information.

                                                                                                                                                                            -
                                                                                                                                                                            interface WorkerInfo {
                                                                                                                                                                                backPressure: boolean;
                                                                                                                                                                                backPressureStealing: boolean;
                                                                                                                                                                                continuousStealing: boolean;
                                                                                                                                                                                dynamic: boolean;
                                                                                                                                                                                id: undefined | number;
                                                                                                                                                                                queuedTaskAbortion: boolean;
                                                                                                                                                                                ready: boolean;
                                                                                                                                                                                stealing: boolean;
                                                                                                                                                                                stolen: boolean;
                                                                                                                                                                                taskFunctionsProperties?: TaskFunctionProperties[];
                                                                                                                                                                                type: "cluster" | "thread";
                                                                                                                                                                            }
                                                                                                                                                                            Index

                                                                                                                                                                            Properties

                                                                                                                                                                            backPressure +WorkerInfo | poolifier - v5.0.6
                                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                                              Preparing search index...

                                                                                                                                                                              Interface WorkerInfoInternal

                                                                                                                                                                              Worker information.

                                                                                                                                                                              +
                                                                                                                                                                              interface WorkerInfo {
                                                                                                                                                                                  backPressure: boolean;
                                                                                                                                                                                  backPressureStealing: boolean;
                                                                                                                                                                                  continuousStealing: boolean;
                                                                                                                                                                                  dynamic: boolean;
                                                                                                                                                                                  id: undefined | number;
                                                                                                                                                                                  queuedTaskAbortion: boolean;
                                                                                                                                                                                  ready: boolean;
                                                                                                                                                                                  stealing: boolean;
                                                                                                                                                                                  stolen: boolean;
                                                                                                                                                                                  taskFunctionsProperties?: TaskFunctionProperties[];
                                                                                                                                                                                  type: "cluster" | "thread";
                                                                                                                                                                              }
                                                                                                                                                                              Index

                                                                                                                                                                              Properties

                                                                                                                                                                              backPressure: boolean

                                                                                                                                                                              Back pressure flag. This flag is set to true when worker node tasks queue is back pressured.

                                                                                                                                                                              -
                                                                                                                                                                              backPressureStealing: boolean

                                                                                                                                                                              Back pressure stealing flag. +

                                                                                                                                                                              backPressureStealing: boolean

                                                                                                                                                                              Back pressure stealing flag. This flag is set to true when worker node is stealing one task from another back pressured worker node.

                                                                                                                                                                              -
                                                                                                                                                                              continuousStealing: boolean

                                                                                                                                                                              Continuous stealing flag. +

                                                                                                                                                                              continuousStealing: boolean

                                                                                                                                                                              Continuous stealing flag. This flag is set to true when worker node is continuously stealing tasks from other worker nodes.

                                                                                                                                                                              -
                                                                                                                                                                              dynamic: boolean

                                                                                                                                                                              Dynamic flag.

                                                                                                                                                                              -
                                                                                                                                                                              id: undefined | number

                                                                                                                                                                              Worker id.

                                                                                                                                                                              -
                                                                                                                                                                              queuedTaskAbortion: boolean

                                                                                                                                                                              Queued task abortion flag. +

                                                                                                                                                                              dynamic: boolean

                                                                                                                                                                              Dynamic flag.

                                                                                                                                                                              +
                                                                                                                                                                              id: undefined | number

                                                                                                                                                                              Worker id.

                                                                                                                                                                              +
                                                                                                                                                                              queuedTaskAbortion: boolean

                                                                                                                                                                              Queued task abortion flag. This flag is set to true when worker node is aborting a queued task.

                                                                                                                                                                              -
                                                                                                                                                                              ready: boolean

                                                                                                                                                                              Ready flag.

                                                                                                                                                                              -
                                                                                                                                                                              stealing: boolean

                                                                                                                                                                              Stealing flag. +

                                                                                                                                                                              ready: boolean

                                                                                                                                                                              Ready flag.

                                                                                                                                                                              +
                                                                                                                                                                              stealing: boolean

                                                                                                                                                                              Stealing flag. This flag is set to true when worker node is stealing one task from another worker node.

                                                                                                                                                                              -
                                                                                                                                                                              stolen: boolean

                                                                                                                                                                              Stolen flag. +

                                                                                                                                                                              stolen: boolean

                                                                                                                                                                              Stolen flag. This flag is set to true when worker node has one task stolen from another worker node.

                                                                                                                                                                              -
                                                                                                                                                                              taskFunctionsProperties?: TaskFunctionProperties[]

                                                                                                                                                                              Task functions properties.

                                                                                                                                                                              -
                                                                                                                                                                              type: "cluster" | "thread"

                                                                                                                                                                              Worker type.

                                                                                                                                                                              -
                                                                                                                                                                              +
                                                                                                                                                                              taskFunctionsProperties?: TaskFunctionProperties[]

                                                                                                                                                                              Task functions properties.

                                                                                                                                                                              +
                                                                                                                                                                              type: "cluster" | "thread"

                                                                                                                                                                              Worker type.

                                                                                                                                                                              +
                                                                                                                                                                              diff --git a/docs/interfaces/src.WorkerNodeEventDetail.html b/docs/interfaces/src.WorkerNodeEventDetail.html index b38773e8f..e13bbcf8b 100644 --- a/docs/interfaces/src.WorkerNodeEventDetail.html +++ b/docs/interfaces/src.WorkerNodeEventDetail.html @@ -1,5 +1,5 @@ -WorkerNodeEventDetail | poolifier - v5.0.5
                                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                Interface WorkerNodeEventDetailInternal

                                                                                                                                                                                Worker node event detail.

                                                                                                                                                                                -
                                                                                                                                                                                interface WorkerNodeEventDetail {
                                                                                                                                                                                    taskId?: `${string}-${string}-${string}-${string}-${string}`;
                                                                                                                                                                                    workerId?: number;
                                                                                                                                                                                    workerNodeKey?: number;
                                                                                                                                                                                }
                                                                                                                                                                                Index

                                                                                                                                                                                Properties

                                                                                                                                                                                taskId? +WorkerNodeEventDetail | poolifier - v5.0.6
                                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                  Interface WorkerNodeEventDetailInternal

                                                                                                                                                                                  Worker node event detail.

                                                                                                                                                                                  +
                                                                                                                                                                                  interface WorkerNodeEventDetail {
                                                                                                                                                                                      taskId?: `${string}-${string}-${string}-${string}-${string}`;
                                                                                                                                                                                      workerId?: number;
                                                                                                                                                                                      workerNodeKey?: number;
                                                                                                                                                                                  }
                                                                                                                                                                                  Index

                                                                                                                                                                                  Properties

                                                                                                                                                                                  taskId?: `${string}-${string}-${string}-${string}-${string}`
                                                                                                                                                                                  workerId?: number
                                                                                                                                                                                  workerNodeKey?: number
                                                                                                                                                                                  +

                                                                                                                                                                                  Properties

                                                                                                                                                                                  taskId?: `${string}-${string}-${string}-${string}-${string}`
                                                                                                                                                                                  workerId?: number
                                                                                                                                                                                  workerNodeKey?: number
                                                                                                                                                                                  diff --git a/docs/interfaces/src.WorkerNodeOptions.html b/docs/interfaces/src.WorkerNodeOptions.html index 87cf670d6..23042328e 100644 --- a/docs/interfaces/src.WorkerNodeOptions.html +++ b/docs/interfaces/src.WorkerNodeOptions.html @@ -1,7 +1,7 @@ -WorkerNodeOptions | poolifier - v5.0.5
                                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                    Interface WorkerNodeOptionsInternal

                                                                                                                                                                                    Worker node options.

                                                                                                                                                                                    -
                                                                                                                                                                                    interface WorkerNodeOptions {
                                                                                                                                                                                        env?: Record<string, unknown>;
                                                                                                                                                                                        tasksQueueBackPressureSize: undefined | number;
                                                                                                                                                                                        tasksQueueBucketSize: undefined | number;
                                                                                                                                                                                        tasksQueuePriority: undefined | boolean;
                                                                                                                                                                                        workerOptions?: WorkerOptions;
                                                                                                                                                                                    }
                                                                                                                                                                                    Index

                                                                                                                                                                                    Properties

                                                                                                                                                                                    env? +WorkerNodeOptions | poolifier - v5.0.6
                                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                      Interface WorkerNodeOptionsInternal

                                                                                                                                                                                      Worker node options.

                                                                                                                                                                                      +
                                                                                                                                                                                      interface WorkerNodeOptions {
                                                                                                                                                                                          env?: Record<string, unknown>;
                                                                                                                                                                                          tasksQueueBackPressureSize: undefined | number;
                                                                                                                                                                                          tasksQueueBucketSize: undefined | number;
                                                                                                                                                                                          tasksQueuePriority: undefined | boolean;
                                                                                                                                                                                          workerOptions?: WorkerOptions;
                                                                                                                                                                                      }
                                                                                                                                                                                      Index

                                                                                                                                                                                      Properties

                                                                                                                                                                                      env?: Record<string, unknown>
                                                                                                                                                                                      tasksQueueBackPressureSize: undefined | number
                                                                                                                                                                                      tasksQueueBucketSize: undefined | number
                                                                                                                                                                                      tasksQueuePriority: undefined | boolean
                                                                                                                                                                                      workerOptions?: WorkerOptions
                                                                                                                                                                                      +

                                                                                                                                                                                      Properties

                                                                                                                                                                                      env?: Record<string, unknown>
                                                                                                                                                                                      tasksQueueBackPressureSize: undefined | number
                                                                                                                                                                                      tasksQueueBucketSize: undefined | number
                                                                                                                                                                                      tasksQueuePriority: undefined | boolean
                                                                                                                                                                                      workerOptions?: WorkerOptions
                                                                                                                                                                                      diff --git a/docs/interfaces/src.WorkerOptions.html b/docs/interfaces/src.WorkerOptions.html index 9bc9ac7e1..332f1bd90 100644 --- a/docs/interfaces/src.WorkerOptions.html +++ b/docs/interfaces/src.WorkerOptions.html @@ -1,5 +1,5 @@ -WorkerOptions | poolifier - v5.0.5
                                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                        Interface WorkerOptions

                                                                                                                                                                                        Options for workers.

                                                                                                                                                                                        -
                                                                                                                                                                                        interface WorkerOptions {
                                                                                                                                                                                            killBehavior?: "HARD" | "SOFT";
                                                                                                                                                                                            killHandler?: KillHandler;
                                                                                                                                                                                            maxInactiveTime?: number;
                                                                                                                                                                                        }
                                                                                                                                                                                        Index

                                                                                                                                                                                        Properties

                                                                                                                                                                                        killBehavior? +WorkerOptions | poolifier - v5.0.6
                                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                          Interface WorkerOptions

                                                                                                                                                                                          Options for workers.

                                                                                                                                                                                          +
                                                                                                                                                                                          interface WorkerOptions {
                                                                                                                                                                                              killBehavior?: "HARD" | "SOFT";
                                                                                                                                                                                              killHandler?: KillHandler;
                                                                                                                                                                                              maxInactiveTime?: number;
                                                                                                                                                                                          }
                                                                                                                                                                                          Index

                                                                                                                                                                                          Properties

                                                                                                                                                                                          killBehavior?: "HARD" | "SOFT"

                                                                                                                                                                                          killBehavior dictates if your worker will be deleted in case a task is active on it.

                                                                                                                                                                                          @@ -11,9 +11,9 @@
                                                                                                                                                                                          KillBehaviors.SOFT
                                                                                                                                                                                           
                                                                                                                                                                                          -
                                                                                                                                                                                          killHandler?: KillHandler

                                                                                                                                                                                          The function to call when a worker is killed.

                                                                                                                                                                                          +
                                                                                                                                                                                          killHandler?: KillHandler

                                                                                                                                                                                          The function to call when a worker is killed.

                                                                                                                                                                                          () => {}

                                                                                                                                                                                          -
                                                                                                                                                                                          maxInactiveTime?: number

                                                                                                                                                                                          Maximum waiting time in milliseconds for tasks on newly created workers. It must be greater or equal than 5.

                                                                                                                                                                                          +
                                                                                                                                                                                          maxInactiveTime?: number

                                                                                                                                                                                          Maximum waiting time in milliseconds for tasks on newly created workers. It must be greater or equal than 5.

                                                                                                                                                                                          After this time, newly created workers will be terminated. The last active time of your worker will be updated when it terminates a task.

                                                                                                                                                                                            @@ -24,4 +24,4 @@ when this timeout expires your tasks is interrupted before completion and remove
                                                                                                                                                                                          60000
                                                                                                                                                                                           
                                                                                                                                                                                          -
                                                                                                                                                                                          +
                                                                                                                                                                                          diff --git a/docs/interfaces/src.WorkerStatistics.html b/docs/interfaces/src.WorkerStatistics.html index 318cede37..0e39f27da 100644 --- a/docs/interfaces/src.WorkerStatistics.html +++ b/docs/interfaces/src.WorkerStatistics.html @@ -1,6 +1,6 @@ -WorkerStatistics | poolifier - v5.0.5
                                                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                            Interface WorkerStatisticsInternal

                                                                                                                                                                                            Worker task performance statistics computation settings.

                                                                                                                                                                                            -
                                                                                                                                                                                            interface WorkerStatistics {
                                                                                                                                                                                                elu: boolean;
                                                                                                                                                                                                runTime: boolean;
                                                                                                                                                                                            }
                                                                                                                                                                                            Index

                                                                                                                                                                                            Properties

                                                                                                                                                                                            elu +WorkerStatistics | poolifier - v5.0.6
                                                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                              Interface WorkerStatisticsInternal

                                                                                                                                                                                              Worker task performance statistics computation settings.

                                                                                                                                                                                              +
                                                                                                                                                                                              interface WorkerStatistics {
                                                                                                                                                                                                  elu: boolean;
                                                                                                                                                                                                  runTime: boolean;
                                                                                                                                                                                              }
                                                                                                                                                                                              Index

                                                                                                                                                                                              Properties

                                                                                                                                                                                              Properties

                                                                                                                                                                                              elu: boolean

                                                                                                                                                                                              Whether the worker computes the task event loop utilization (ELU) or not.

                                                                                                                                                                                              -
                                                                                                                                                                                              runTime: boolean

                                                                                                                                                                                              Whether the worker computes the task runtime or not.

                                                                                                                                                                                              -
                                                                                                                                                                                              +
                                                                                                                                                                                              runTime: boolean

                                                                                                                                                                                              Whether the worker computes the task runtime or not.

                                                                                                                                                                                              +
                                                                                                                                                                                              diff --git a/docs/interfaces/src.WorkerUsage.html b/docs/interfaces/src.WorkerUsage.html index 15a070fe0..a20ae4996 100644 --- a/docs/interfaces/src.WorkerUsage.html +++ b/docs/interfaces/src.WorkerUsage.html @@ -1,10 +1,10 @@ -WorkerUsage | poolifier - v5.0.5
                                                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                Interface WorkerUsageInternal

                                                                                                                                                                                                Worker usage statistics.

                                                                                                                                                                                                -
                                                                                                                                                                                                interface WorkerUsage {
                                                                                                                                                                                                    elu: EventLoopUtilizationMeasurementStatistics;
                                                                                                                                                                                                    runTime: MeasurementStatistics;
                                                                                                                                                                                                    tasks: TaskStatistics;
                                                                                                                                                                                                    waitTime: MeasurementStatistics;
                                                                                                                                                                                                }
                                                                                                                                                                                                Index

                                                                                                                                                                                                Properties

                                                                                                                                                                                                elu +WorkerUsage | poolifier - v5.0.6
                                                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                  Interface WorkerUsageInternal

                                                                                                                                                                                                  Worker usage statistics.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  interface WorkerUsage {
                                                                                                                                                                                                      elu: EventLoopUtilizationMeasurementStatistics;
                                                                                                                                                                                                      runTime: MeasurementStatistics;
                                                                                                                                                                                                      tasks: TaskStatistics;
                                                                                                                                                                                                      waitTime: MeasurementStatistics;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  Index

                                                                                                                                                                                                  Properties

                                                                                                                                                                                                  Tasks event loop utilization statistics.

                                                                                                                                                                                                  -

                                                                                                                                                                                                  Tasks runtime statistics.

                                                                                                                                                                                                  -

                                                                                                                                                                                                  Tasks statistics.

                                                                                                                                                                                                  -

                                                                                                                                                                                                  Tasks wait time statistics.

                                                                                                                                                                                                  -
                                                                                                                                                                                                  +

                                                                                                                                                                                                  Tasks runtime statistics.

                                                                                                                                                                                                  +

                                                                                                                                                                                                  Tasks statistics.

                                                                                                                                                                                                  +

                                                                                                                                                                                                  Tasks wait time statistics.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  diff --git a/docs/modules/src.html b/docs/modules/src.html index 06c882bdb..3b3aa4c32 100644 --- a/docs/modules/src.html +++ b/docs/modules/src.html @@ -1 +1 @@ -src | poolifier - v5.0.5
                                                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                    +src | poolifier - v5.0.6
                                                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                      diff --git a/docs/types/src.ClusterPoolOptions.html b/docs/types/src.ClusterPoolOptions.html index 51b864f80..6f43aecfc 100644 --- a/docs/types/src.ClusterPoolOptions.html +++ b/docs/types/src.ClusterPoolOptions.html @@ -1,2 +1,2 @@ -ClusterPoolOptions | poolifier - v5.0.5
                                                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                        Type Alias ClusterPoolOptions

                                                                                                                                                                                                        ClusterPoolOptions: PoolOptions<Worker>

                                                                                                                                                                                                        Options for a poolifier cluster pool.

                                                                                                                                                                                                        -
                                                                                                                                                                                                        +ClusterPoolOptions | poolifier - v5.0.6
                                                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                          Type Alias ClusterPoolOptions

                                                                                                                                                                                                          ClusterPoolOptions: PoolOptions<Worker>

                                                                                                                                                                                                          Options for a poolifier cluster pool.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          diff --git a/docs/types/src.ErrorHandler.html b/docs/types/src.ErrorHandler.html index 7a3db3101..c104109e4 100644 --- a/docs/types/src.ErrorHandler.html +++ b/docs/types/src.ErrorHandler.html @@ -1,3 +1,3 @@ -ErrorHandler | poolifier - v5.0.5
                                                                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                            Type Alias ErrorHandler<Worker>

                                                                                                                                                                                                            ErrorHandler: (this: Worker, error: Error) => void

                                                                                                                                                                                                            Callback invoked if the worker raised an error.

                                                                                                                                                                                                            +ErrorHandler | poolifier - v5.0.6
                                                                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                              Type Alias ErrorHandler<Worker>

                                                                                                                                                                                                              ErrorHandler: (this: Worker, error: Error) => void

                                                                                                                                                                                                              Callback invoked if the worker raised an error.

                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                              • Worker extends IWorker

                                                                                                                                                                                                                Type of worker.

                                                                                                                                                                                                                -

                                                                                                                                                                                                              Type declaration

                                                                                                                                                                                                                • (this: Worker, error: Error): void
                                                                                                                                                                                                                • Parameters

                                                                                                                                                                                                                  Returns void

                                                                                                                                                                                                              +

                                                                                                                                                                                                              Type declaration

                                                                                                                                                                                                                • (this: Worker, error: Error): void
                                                                                                                                                                                                                • Parameters

                                                                                                                                                                                                                  Returns void

                                                                                                                                                                                                              diff --git a/docs/types/src.EventHandler.html b/docs/types/src.EventHandler.html index df2250d22..05f86a7c0 100644 --- a/docs/types/src.EventHandler.html +++ b/docs/types/src.EventHandler.html @@ -1,3 +1,3 @@ -EventHandler | poolifier - v5.0.5
                                                                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                Type Alias EventHandler<Worker>

                                                                                                                                                                                                                EventHandler:
                                                                                                                                                                                                                    | ErrorHandler<Worker>
                                                                                                                                                                                                                    | ExitHandler<Worker>
                                                                                                                                                                                                                    | MessageHandler<Worker>
                                                                                                                                                                                                                    | OnlineHandler<Worker>

                                                                                                                                                                                                                Worker event handler.

                                                                                                                                                                                                                +EventHandler | poolifier - v5.0.6
                                                                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                  Type Alias EventHandler<Worker>

                                                                                                                                                                                                                  EventHandler:
                                                                                                                                                                                                                      | ErrorHandler<Worker>
                                                                                                                                                                                                                      | ExitHandler<Worker>
                                                                                                                                                                                                                      | MessageHandler<Worker>
                                                                                                                                                                                                                      | OnlineHandler<Worker>

                                                                                                                                                                                                                  Worker event handler.

                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                  • Worker extends IWorker

                                                                                                                                                                                                                    Type of worker.

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  diff --git a/docs/types/src.ExitHandler.html b/docs/types/src.ExitHandler.html index 655b9bee0..9b000cff3 100644 --- a/docs/types/src.ExitHandler.html +++ b/docs/types/src.ExitHandler.html @@ -1,3 +1,3 @@ -ExitHandler | poolifier - v5.0.5
                                                                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                    Type Alias ExitHandler<Worker>

                                                                                                                                                                                                                    ExitHandler: (this: Worker, exitCode: number) => void

                                                                                                                                                                                                                    Callback invoked when the worker exits successfully.

                                                                                                                                                                                                                    +ExitHandler | poolifier - v5.0.6
                                                                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                      Type Alias ExitHandler<Worker>

                                                                                                                                                                                                                      ExitHandler: (this: Worker, exitCode: number) => void

                                                                                                                                                                                                                      Callback invoked when the worker exits successfully.

                                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                                      • Worker extends IWorker

                                                                                                                                                                                                                        Type of worker.

                                                                                                                                                                                                                        -

                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                        • (this: Worker, exitCode: number): void
                                                                                                                                                                                                                        • Parameters

                                                                                                                                                                                                                          Returns void

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                        • (this: Worker, exitCode: number): void
                                                                                                                                                                                                                        • Parameters

                                                                                                                                                                                                                          Returns void

                                                                                                                                                                                                                      diff --git a/docs/types/src.KillBehavior.html b/docs/types/src.KillBehavior.html index afafa8d03..63046d0b2 100644 --- a/docs/types/src.KillBehavior.html +++ b/docs/types/src.KillBehavior.html @@ -1,2 +1,2 @@ -KillBehavior | poolifier - v5.0.5
                                                                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                        Type Alias KillBehavior

                                                                                                                                                                                                                        KillBehavior: keyof typeof KillBehaviors

                                                                                                                                                                                                                        Kill behavior.

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        +KillBehavior | poolifier - v5.0.6
                                                                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                          Type Alias KillBehavior

                                                                                                                                                                                                                          KillBehavior: keyof typeof KillBehaviors

                                                                                                                                                                                                                          Kill behavior.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          diff --git a/docs/types/src.KillHandler.html b/docs/types/src.KillHandler.html index 7c2581d6b..7b3040f98 100644 --- a/docs/types/src.KillHandler.html +++ b/docs/types/src.KillHandler.html @@ -1,2 +1,2 @@ -KillHandler | poolifier - v5.0.5
                                                                                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                            Type Alias KillHandler

                                                                                                                                                                                                                            KillHandler: () => Promise<void> | void

                                                                                                                                                                                                                            Handler called when a worker is killed.

                                                                                                                                                                                                                            -

                                                                                                                                                                                                                            Type declaration

                                                                                                                                                                                                                              • (): Promise<void> | void
                                                                                                                                                                                                                              • Returns Promise<void> | void

                                                                                                                                                                                                                            +KillHandler | poolifier - v5.0.6
                                                                                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                              Type Alias KillHandler

                                                                                                                                                                                                                              KillHandler: () => Promise<void> | void

                                                                                                                                                                                                                              Handler called when a worker is killed.

                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              Type declaration

                                                                                                                                                                                                                                • (): Promise<void> | void
                                                                                                                                                                                                                                • Returns Promise<void> | void

                                                                                                                                                                                                                              diff --git a/docs/types/src.Measurement.html b/docs/types/src.Measurement.html index 41ee49c14..1ace308ee 100644 --- a/docs/types/src.Measurement.html +++ b/docs/types/src.Measurement.html @@ -1,2 +1,2 @@ -Measurement | poolifier - v5.0.5
                                                                                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                Type Alias Measurement

                                                                                                                                                                                                                                Measurement: keyof typeof Measurements

                                                                                                                                                                                                                                Measurement.

                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                +Measurement | poolifier - v5.0.6
                                                                                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                  Type Alias Measurement

                                                                                                                                                                                                                                  Measurement: keyof typeof Measurements

                                                                                                                                                                                                                                  Measurement.

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  diff --git a/docs/types/src.MessageHandler.html b/docs/types/src.MessageHandler.html index b4d66452b..d8b3af94f 100644 --- a/docs/types/src.MessageHandler.html +++ b/docs/types/src.MessageHandler.html @@ -1,3 +1,3 @@ -MessageHandler | poolifier - v5.0.5
                                                                                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                    Type Alias MessageHandler<Worker>

                                                                                                                                                                                                                                    MessageHandler: (this: Worker, message: unknown) => void

                                                                                                                                                                                                                                    Callback invoked if the worker has received a message.

                                                                                                                                                                                                                                    +MessageHandler | poolifier - v5.0.6
                                                                                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                      Type Alias MessageHandler<Worker>

                                                                                                                                                                                                                                      MessageHandler: (this: Worker, message: unknown) => void

                                                                                                                                                                                                                                      Callback invoked if the worker has received a message.

                                                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                                                      • Worker extends IWorker

                                                                                                                                                                                                                                        Type of worker.

                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                        • (this: Worker, message: unknown): void
                                                                                                                                                                                                                                        • Parameters

                                                                                                                                                                                                                                          Returns void

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                        • (this: Worker, message: unknown): void
                                                                                                                                                                                                                                        • Parameters

                                                                                                                                                                                                                                          Returns void

                                                                                                                                                                                                                                      diff --git a/docs/types/src.OnlineHandler.html b/docs/types/src.OnlineHandler.html index 3d70997b0..8e4273e2a 100644 --- a/docs/types/src.OnlineHandler.html +++ b/docs/types/src.OnlineHandler.html @@ -1,3 +1,3 @@ -OnlineHandler | poolifier - v5.0.5
                                                                                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                        Type Alias OnlineHandler<Worker>

                                                                                                                                                                                                                                        OnlineHandler: (this: Worker) => void

                                                                                                                                                                                                                                        Callback invoked when the worker has started successfully.

                                                                                                                                                                                                                                        +OnlineHandler | poolifier - v5.0.6
                                                                                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                          Type Alias OnlineHandler<Worker>

                                                                                                                                                                                                                                          OnlineHandler: (this: Worker) => void

                                                                                                                                                                                                                                          Callback invoked when the worker has started successfully.

                                                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                                                          • Worker extends IWorker

                                                                                                                                                                                                                                            Type of worker.

                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                          diff --git a/docs/types/src.PoolEvent.html b/docs/types/src.PoolEvent.html index 5cb1baf00..ca7103cb7 100644 --- a/docs/types/src.PoolEvent.html +++ b/docs/types/src.PoolEvent.html @@ -1,2 +1,2 @@ -PoolEvent | poolifier - v5.0.5
                                                                                                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                            Type Alias PoolEvent

                                                                                                                                                                                                                                            PoolEvent: keyof typeof PoolEvents

                                                                                                                                                                                                                                            Pool event.

                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                            +PoolEvent | poolifier - v5.0.6
                                                                                                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                              Type Alias PoolEvent

                                                                                                                                                                                                                                              PoolEvent: keyof typeof PoolEvents

                                                                                                                                                                                                                                              Pool event.

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              diff --git a/docs/types/src.PoolType.html b/docs/types/src.PoolType.html index b8029818d..97d197181 100644 --- a/docs/types/src.PoolType.html +++ b/docs/types/src.PoolType.html @@ -1,2 +1,2 @@ -PoolType | poolifier - v5.0.5
                                                                                                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                Type Alias PoolType

                                                                                                                                                                                                                                                PoolType: keyof typeof PoolTypes

                                                                                                                                                                                                                                                Pool type.

                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                +PoolType | poolifier - v5.0.6
                                                                                                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                  Type Alias PoolType

                                                                                                                                                                                                                                                  PoolType: keyof typeof PoolTypes

                                                                                                                                                                                                                                                  Pool type.

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  diff --git a/docs/types/src.TaskAsyncFunction.html b/docs/types/src.TaskAsyncFunction.html index 4948b7f08..089a33952 100644 --- a/docs/types/src.TaskAsyncFunction.html +++ b/docs/types/src.TaskAsyncFunction.html @@ -1,7 +1,7 @@ -TaskAsyncFunction | poolifier - v5.0.5
                                                                                                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                    Type Alias TaskAsyncFunction<Data, Response>

                                                                                                                                                                                                                                                    TaskAsyncFunction: (data?: Data) => Promise<Response>

                                                                                                                                                                                                                                                    Task asynchronous function that can be executed. +TaskAsyncFunction | poolifier - v5.0.6

                                                                                                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                      Type Alias TaskAsyncFunction<Data, Response>

                                                                                                                                                                                                                                                      TaskAsyncFunction: (data?: Data) => Promise<Response>

                                                                                                                                                                                                                                                      Task asynchronous function that can be executed. This function must return a promise.

                                                                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                                                                      • Data = unknown

                                                                                                                                                                                                                                                        Type of data sent to the worker. This can only be structured-cloneable data.

                                                                                                                                                                                                                                                      • Response = unknown

                                                                                                                                                                                                                                                        Type of execution response. This can only be structured-cloneable data.

                                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                                        • (data?: Data): Promise<Response>
                                                                                                                                                                                                                                                        • Parameters

                                                                                                                                                                                                                                                          • Optionaldata: Data

                                                                                                                                                                                                                                                            Data sent to the worker.

                                                                                                                                                                                                                                                          Returns Promise<Response>

                                                                                                                                                                                                                                                          Execution response promise.

                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      diff --git a/docs/types/src.TaskFunction.html b/docs/types/src.TaskFunction.html index 34ac3ba0a..ba4ad5b6a 100644 --- a/docs/types/src.TaskFunction.html +++ b/docs/types/src.TaskFunction.html @@ -1,5 +1,5 @@ -TaskFunction | poolifier - v5.0.5
                                                                                                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                        Type Alias TaskFunction<Data, Response>

                                                                                                                                                                                                                                                        TaskFunction:
                                                                                                                                                                                                                                                            | TaskAsyncFunction<Data, Response>
                                                                                                                                                                                                                                                            | TaskSyncFunction<Data, Response>

                                                                                                                                                                                                                                                        Task function that can be executed. +TaskFunction | poolifier - v5.0.6

                                                                                                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                          Type Alias TaskFunction<Data, Response>

                                                                                                                                                                                                                                                          TaskFunction:
                                                                                                                                                                                                                                                              | TaskAsyncFunction<Data, Response>
                                                                                                                                                                                                                                                              | TaskSyncFunction<Data, Response>

                                                                                                                                                                                                                                                          Task function that can be executed. This function can be synchronous or asynchronous.

                                                                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                                                                          • Data = unknown

                                                                                                                                                                                                                                                            Type of data sent to the worker. This can only be structured-cloneable data.

                                                                                                                                                                                                                                                          • Response = unknown

                                                                                                                                                                                                                                                            Type of execution response. This can only be structured-cloneable data.

                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          diff --git a/docs/types/src.TaskFunctions.html b/docs/types/src.TaskFunctions.html index 7b78106e7..4ad010ba2 100644 --- a/docs/types/src.TaskFunctions.html +++ b/docs/types/src.TaskFunctions.html @@ -1,6 +1,6 @@ -TaskFunctions | poolifier - v5.0.5
                                                                                                                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                            Type Alias TaskFunctions<Data, Response>

                                                                                                                                                                                                                                                            TaskFunctions: Record<
                                                                                                                                                                                                                                                                string,
                                                                                                                                                                                                                                                                TaskFunction<Data, Response>
                                                                                                                                                                                                                                                                | TaskFunctionObject<Data, Response>,
                                                                                                                                                                                                                                                            >

                                                                                                                                                                                                                                                            Tasks functions that can be executed. +TaskFunctions | poolifier - v5.0.6

                                                                                                                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                              Type Alias TaskFunctions<Data, Response>

                                                                                                                                                                                                                                                              TaskFunctions: Record<
                                                                                                                                                                                                                                                                  string,
                                                                                                                                                                                                                                                                  TaskFunction<Data, Response>
                                                                                                                                                                                                                                                                  | TaskFunctionObject<Data, Response>,
                                                                                                                                                                                                                                                              >

                                                                                                                                                                                                                                                              Tasks functions that can be executed. The key is the name of the task function or task function object. The value is the task function or task function object.

                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                              • Data = unknown

                                                                                                                                                                                                                                                                Type of data sent to the worker. This can only be structured-cloneable data.

                                                                                                                                                                                                                                                              • Response = unknown

                                                                                                                                                                                                                                                                Type of execution response. This can only be structured-cloneable data.

                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              diff --git a/docs/types/src.TaskSyncFunction.html b/docs/types/src.TaskSyncFunction.html index d6888d055..aafda9361 100644 --- a/docs/types/src.TaskSyncFunction.html +++ b/docs/types/src.TaskSyncFunction.html @@ -1,6 +1,6 @@ -TaskSyncFunction | poolifier - v5.0.5
                                                                                                                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                Type Alias TaskSyncFunction<Data, Response>

                                                                                                                                                                                                                                                                TaskSyncFunction: (data?: Data) => Response

                                                                                                                                                                                                                                                                Task synchronous function that can be executed.

                                                                                                                                                                                                                                                                +TaskSyncFunction | poolifier - v5.0.6
                                                                                                                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                  Type Alias TaskSyncFunction<Data, Response>

                                                                                                                                                                                                                                                                  TaskSyncFunction: (data?: Data) => Response

                                                                                                                                                                                                                                                                  Task synchronous function that can be executed.

                                                                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                                                                  • Data = unknown

                                                                                                                                                                                                                                                                    Type of data sent to the worker. This can only be structured-cloneable data.

                                                                                                                                                                                                                                                                  • Response = unknown

                                                                                                                                                                                                                                                                    Type of execution response. This can only be structured-cloneable data.

                                                                                                                                                                                                                                                                  Type declaration

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  diff --git a/docs/types/src.ThreadPoolOptions.html b/docs/types/src.ThreadPoolOptions.html index a9a318344..555c2c3ae 100644 --- a/docs/types/src.ThreadPoolOptions.html +++ b/docs/types/src.ThreadPoolOptions.html @@ -1,2 +1,2 @@ -ThreadPoolOptions | poolifier - v5.0.5
                                                                                                                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                    Type Alias ThreadPoolOptions

                                                                                                                                                                                                                                                                    ThreadPoolOptions: PoolOptions<Worker>

                                                                                                                                                                                                                                                                    Options for a poolifier thread pool.

                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                    +ThreadPoolOptions | poolifier - v5.0.6
                                                                                                                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                      Type Alias ThreadPoolOptions

                                                                                                                                                                                                                                                                      ThreadPoolOptions: PoolOptions<Worker>

                                                                                                                                                                                                                                                                      Options for a poolifier thread pool.

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      diff --git a/docs/types/src.WorkerChoiceStrategy.html b/docs/types/src.WorkerChoiceStrategy.html index 8bc089d20..caccd946e 100644 --- a/docs/types/src.WorkerChoiceStrategy.html +++ b/docs/types/src.WorkerChoiceStrategy.html @@ -1,2 +1,2 @@ -WorkerChoiceStrategy | poolifier - v5.0.5
                                                                                                                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                        Type Alias WorkerChoiceStrategy

                                                                                                                                                                                                                                                                        WorkerChoiceStrategy: keyof typeof WorkerChoiceStrategies

                                                                                                                                                                                                                                                                        Worker choice strategy.

                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                        +WorkerChoiceStrategy | poolifier - v5.0.6
                                                                                                                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                          Type Alias WorkerChoiceStrategy

                                                                                                                                                                                                                                                                          WorkerChoiceStrategy: keyof typeof WorkerChoiceStrategies

                                                                                                                                                                                                                                                                          Worker choice strategy.

                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          diff --git a/docs/types/src.WorkerType.html b/docs/types/src.WorkerType.html index 7af903253..682623044 100644 --- a/docs/types/src.WorkerType.html +++ b/docs/types/src.WorkerType.html @@ -1,2 +1,2 @@ -WorkerType | poolifier - v5.0.5
                                                                                                                                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                            Type Alias WorkerType

                                                                                                                                                                                                                                                                            WorkerType: keyof typeof WorkerTypes

                                                                                                                                                                                                                                                                            Worker type.

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            +WorkerType | poolifier - v5.0.6
                                                                                                                                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                              Type Alias WorkerType

                                                                                                                                                                                                                                                                              WorkerType: keyof typeof WorkerTypes

                                                                                                                                                                                                                                                                              Worker type.

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              diff --git a/docs/types/src.Writable.html b/docs/types/src.Writable.html index e3507e3c1..8a987369f 100644 --- a/docs/types/src.Writable.html +++ b/docs/types/src.Writable.html @@ -1,3 +1,3 @@ -Writable | poolifier - v5.0.5
                                                                                                                                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                Type Alias Writable<T>Internal

                                                                                                                                                                                                                                                                                Writable: { -readonly [P in keyof T]: T[P] }

                                                                                                                                                                                                                                                                                Remove readonly modifier from all properties of T.

                                                                                                                                                                                                                                                                                +Writable | poolifier - v5.0.6
                                                                                                                                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                  Type Alias Writable<T>Internal

                                                                                                                                                                                                                                                                                  Writable: { -readonly [P in keyof T]: T[P] }

                                                                                                                                                                                                                                                                                  Remove readonly modifier from all properties of T.

                                                                                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                                                                                  • T

                                                                                                                                                                                                                                                                                    Type to remove readonly modifier.

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  diff --git a/docs/variables/src.KillBehaviors.html b/docs/variables/src.KillBehaviors.html index 42f1511fd..a78ab1898 100644 --- a/docs/variables/src.KillBehaviors.html +++ b/docs/variables/src.KillBehaviors.html @@ -1,2 +1,2 @@ -KillBehaviors | poolifier - v5.0.5
                                                                                                                                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                    Variable KillBehaviorsConst

                                                                                                                                                                                                                                                                                    KillBehaviors: Readonly<{ HARD: "HARD"; SOFT: "SOFT" }> = ...

                                                                                                                                                                                                                                                                                    Enumeration of kill behaviors.

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                    +KillBehaviors | poolifier - v5.0.6
                                                                                                                                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                      Variable KillBehaviorsConst

                                                                                                                                                                                                                                                                                      KillBehaviors: Readonly<{ HARD: "HARD"; SOFT: "SOFT" }> = ...

                                                                                                                                                                                                                                                                                      Enumeration of kill behaviors.

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      diff --git a/docs/variables/src.Measurements.html b/docs/variables/src.Measurements.html index 1c5accf93..9c4421968 100644 --- a/docs/variables/src.Measurements.html +++ b/docs/variables/src.Measurements.html @@ -1,2 +1,2 @@ -Measurements | poolifier - v5.0.5
                                                                                                                                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                        Variable MeasurementsConst

                                                                                                                                                                                                                                                                                        Measurements: Readonly<{ elu: "elu"; runTime: "runTime"; waitTime: "waitTime" }> = ...

                                                                                                                                                                                                                                                                                        Enumeration of measurements.

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        +Measurements | poolifier - v5.0.6
                                                                                                                                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                          Variable MeasurementsConst

                                                                                                                                                                                                                                                                                          Measurements: Readonly<{ elu: "elu"; runTime: "runTime"; waitTime: "waitTime" }> = ...

                                                                                                                                                                                                                                                                                          Enumeration of measurements.

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          diff --git a/docs/variables/src.PoolEvents.html b/docs/variables/src.PoolEvents.html index a4a74935c..31453ea27 100644 --- a/docs/variables/src.PoolEvents.html +++ b/docs/variables/src.PoolEvents.html @@ -1,2 +1,2 @@ -PoolEvents | poolifier - v5.0.5
                                                                                                                                                                                                                                                                                          poolifier - v5.0.5
                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                            Variable PoolEventsConst

                                                                                                                                                                                                                                                                                            PoolEvents: Readonly<
                                                                                                                                                                                                                                                                                                {
                                                                                                                                                                                                                                                                                                    backPressure: "backPressure";
                                                                                                                                                                                                                                                                                                    backPressureEnd: "backPressureEnd";
                                                                                                                                                                                                                                                                                                    busy: "busy";
                                                                                                                                                                                                                                                                                                    busyEnd: "busyEnd";
                                                                                                                                                                                                                                                                                                    destroy: "destroy";
                                                                                                                                                                                                                                                                                                    empty: "empty";
                                                                                                                                                                                                                                                                                                    error: "error";
                                                                                                                                                                                                                                                                                                    full: "full";
                                                                                                                                                                                                                                                                                                    fullEnd: "fullEnd";
                                                                                                                                                                                                                                                                                                    ready: "ready";
                                                                                                                                                                                                                                                                                                    taskError: "taskError";
                                                                                                                                                                                                                                                                                                },
                                                                                                                                                                                                                                                                                            > = ...

                                                                                                                                                                                                                                                                                            Enumeration of pool events.

                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                            +PoolEvents | poolifier - v5.0.6
                                                                                                                                                                                                                                                                                            poolifier - v5.0.6
                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                              Variable PoolEventsConst

                                                                                                                                                                                                                                                                                              PoolEvents: Readonly<
                                                                                                                                                                                                                                                                                                  {
                                                                                                                                                                                                                                                                                                      backPressure: "backPressure";
                                                                                                                                                                                                                                                                                                      backPressureEnd: "backPressureEnd";
                                                                                                                                                                                                                                                                                                      busy: "busy";
                                                                                                                                                                                                                                                                                                      busyEnd: "busyEnd";
                                                                                                                                                                                                                                                                                                      destroy: "destroy";
                                                                                                                                                                                                                                                                                                      empty: "empty";
                                                                                                                                                                                                                                                                                                      error: "error";
                                                                                                                                                                                                                                                                                                      full: "full";
                                                                                                                                                                                                                                                                                                      fullEnd: "fullEnd";
                                                                                                                                                                                                                                                                                                      ready: "ready";
                                                                                                                                                                                                                                                                                                      taskError: "taskError";
                                                                                                                                                                                                                                                                                                  },
                                                                                                                                                                                                                                                                                              > = ...

                                                                                                                                                                                                                                                                                              Enumeration of pool events.

                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              diff --git a/docs/variables/src.PoolTypes.html b/docs/variables/src.PoolTypes.html index 2a3107f0d..76b1f94e8 100644 --- a/docs/variables/src.PoolTypes.html +++ b/docs/variables/src.PoolTypes.html @@ -1,2 +1,2 @@ -PoolTypes | poolifier - v5.0.5
                                                                                                                                                                                                                                                                                              poolifier - v5.0.5
                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                Variable PoolTypesConst

                                                                                                                                                                                                                                                                                                PoolTypes: Readonly<{ dynamic: "dynamic"; fixed: "fixed" }> = ...

                                                                                                                                                                                                                                                                                                Enumeration of pool types.

                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                +PoolTypes | poolifier - v5.0.6
                                                                                                                                                                                                                                                                                                poolifier - v5.0.6
                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                  Variable PoolTypesConst

                                                                                                                                                                                                                                                                                                  PoolTypes: Readonly<{ dynamic: "dynamic"; fixed: "fixed" }> = ...

                                                                                                                                                                                                                                                                                                  Enumeration of pool types.

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  diff --git a/docs/variables/src.WorkerChoiceStrategies.html b/docs/variables/src.WorkerChoiceStrategies.html index 9c654ac23..856502745 100644 --- a/docs/variables/src.WorkerChoiceStrategies.html +++ b/docs/variables/src.WorkerChoiceStrategies.html @@ -1,2 +1,2 @@ -WorkerChoiceStrategies | poolifier - v5.0.5
                                                                                                                                                                                                                                                                                                  poolifier - v5.0.5
                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                    Variable WorkerChoiceStrategiesConst

                                                                                                                                                                                                                                                                                                    WorkerChoiceStrategies: Readonly<
                                                                                                                                                                                                                                                                                                        {
                                                                                                                                                                                                                                                                                                            FAIR_SHARE: "FAIR_SHARE";
                                                                                                                                                                                                                                                                                                            INTERLEAVED_WEIGHTED_ROUND_ROBIN: "INTERLEAVED_WEIGHTED_ROUND_ROBIN";
                                                                                                                                                                                                                                                                                                            LEAST_BUSY: "LEAST_BUSY";
                                                                                                                                                                                                                                                                                                            LEAST_ELU: "LEAST_ELU";
                                                                                                                                                                                                                                                                                                            LEAST_USED: "LEAST_USED";
                                                                                                                                                                                                                                                                                                            ROUND_ROBIN: "ROUND_ROBIN";
                                                                                                                                                                                                                                                                                                            WEIGHTED_ROUND_ROBIN: "WEIGHTED_ROUND_ROBIN";
                                                                                                                                                                                                                                                                                                        },
                                                                                                                                                                                                                                                                                                    > = ...

                                                                                                                                                                                                                                                                                                    Enumeration of worker choice strategies.

                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                    +WorkerChoiceStrategies | poolifier - v5.0.6
                                                                                                                                                                                                                                                                                                    poolifier - v5.0.6
                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                      Variable WorkerChoiceStrategiesConst

                                                                                                                                                                                                                                                                                                      WorkerChoiceStrategies: Readonly<
                                                                                                                                                                                                                                                                                                          {
                                                                                                                                                                                                                                                                                                              FAIR_SHARE: "FAIR_SHARE";
                                                                                                                                                                                                                                                                                                              INTERLEAVED_WEIGHTED_ROUND_ROBIN: "INTERLEAVED_WEIGHTED_ROUND_ROBIN";
                                                                                                                                                                                                                                                                                                              LEAST_BUSY: "LEAST_BUSY";
                                                                                                                                                                                                                                                                                                              LEAST_ELU: "LEAST_ELU";
                                                                                                                                                                                                                                                                                                              LEAST_USED: "LEAST_USED";
                                                                                                                                                                                                                                                                                                              ROUND_ROBIN: "ROUND_ROBIN";
                                                                                                                                                                                                                                                                                                              WEIGHTED_ROUND_ROBIN: "WEIGHTED_ROUND_ROBIN";
                                                                                                                                                                                                                                                                                                          },
                                                                                                                                                                                                                                                                                                      > = ...

                                                                                                                                                                                                                                                                                                      Enumeration of worker choice strategies.

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      diff --git a/docs/variables/src.WorkerTypes.html b/docs/variables/src.WorkerTypes.html index f70ef6b6a..c7c0557b8 100644 --- a/docs/variables/src.WorkerTypes.html +++ b/docs/variables/src.WorkerTypes.html @@ -1,2 +1,2 @@ -WorkerTypes | poolifier - v5.0.5
                                                                                                                                                                                                                                                                                                      poolifier - v5.0.5
                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                        Variable WorkerTypesConst

                                                                                                                                                                                                                                                                                                        WorkerTypes: Readonly<{ cluster: "cluster"; thread: "thread" }> = ...

                                                                                                                                                                                                                                                                                                        Enumeration of worker types.

                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                        +WorkerTypes | poolifier - v5.0.6
                                                                                                                                                                                                                                                                                                        poolifier - v5.0.6
                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                          Variable WorkerTypesConst

                                                                                                                                                                                                                                                                                                          WorkerTypes: Readonly<{ cluster: "cluster"; thread: "thread" }> = ...

                                                                                                                                                                                                                                                                                                          Enumeration of worker types.

                                                                                                                                                                                                                                                                                                          +