X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Findex.html;h=3be3dde77b83985ff5884e5a4f27cd91c2f4bbe8;hb=b51d859692c3830760721f06bdb2c909c1d5d9a7;hp=9feca6405152340537f55a4a0a6efbe54e2c80aa;hpb=24c3fcb499d1594f698611fd10219de01993071e;p=poolifier.git diff --git a/docs/index.html b/docs/index.html index 9feca640..3be3dde7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,17 +1,65 @@ -poolifier
Options
All
  • Public
  • Public/Protected
  • All
Menu

poolifier

Index

Type aliases

ErrorHandler

ErrorHandler<Worker>: (this: Worker, e: Error) => void

Type parameters

  • Worker

Type declaration

    • (this: Worker, e: Error): void
    • -

      Callback invoked if the worker raised an error.

      -

      Parameters

      • this: Worker
      • e: Error

      Returns void

ExitHandler

ExitHandler<Worker>: (this: Worker, code: number) => void

Type parameters

  • Worker

Type declaration

    • (this: Worker, code: number): void
    • -

      Callback invoked when the worker exits successfully.

      -

      Parameters

      • this: Worker
      • code: number

      Returns void

KillBehavior

KillBehavior: keyof typeof KillBehaviors
-

Kill behavior.

-

OnlineHandler

OnlineHandler<Worker>: (this: Worker) => void

Type parameters

  • Worker

Type declaration

    • (this: Worker): void
    • -

      Callback invoked when the worker has started successfully.

      -

      Parameters

      • this: Worker

      Returns void

ThreadWorkerWithMessageChannel

ThreadWorkerWithMessageChannel: Worker & Draft<MessageChannel>
-

A thread worker with message channels for communication between main thread and thread worker.

-

WorkerChoiceStrategy

WorkerChoiceStrategy: keyof typeof WorkerChoiceStrategies
-

Worker choice strategy.

-

Variables

KillBehaviors

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

Enumeration of kill behaviors.

-

WorkerChoiceStrategies

WorkerChoiceStrategies: Readonly<{ LESS_RECENTLY_USED: "LESS_RECENTLY_USED"; ROUND_ROBIN: "ROUND_ROBIN" }> = ...
-

Enumeration of worker choice strategies.

-

Generated using TypeDoc

\ No newline at end of file +poolifier - v3.0.5

poolifier - v3.0.5

Index

Classes

Interfaces

Type Aliases

Variables

Functions

Generated using TypeDoc

\ No newline at end of file