X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Findex.html;h=88e27ed387c9cb0fd87d1f75596e8dc83d059238;hb=6c525543a7ed67a926b7c1f4bf98985aaad1f088;hp=b584827067d7884d0ac564eafa96e1272519d1bb;hpb=849e05470ba75db08bb8def0c547ab4d8c35c9a0;p=poolifier.git diff --git a/docs/index.html b/docs/index.html index b5848270..88e27ed3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,428 +1,114 @@ - - - - - - poolifier - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
-

poolifier

-
-
-
+poolifier
+
+ +
-
-
-
-

Index

-
- -
-
-
-

Type aliases

-
- -

ErrorHandler

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

Callback invoked if the worker raised an error.

-
-
-

Type parameters

-
    -
  • -

    Worker

    -
  • -
-
-

Type declaration

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

      Parameters

      -
        -
      • -
        this: Worker
        -
      • -
      • -
        e: Error
        -
      • -
      -

      Returns void

      -
    • -
    -
  • -
-
-
-
- -

ExitHandler

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

Callback invoked when the worker exits successfully.

-
-
-

Type parameters

-
    -
  • -

    Worker

    -
  • -
-
-

Type declaration

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

      Parameters

      -
        -
      • -
        this: Worker
        -
      • -
      • -
        code: number
        -
      • -
      -

      Returns void

      -
    • -
    -
  • -
-
-
-
- -

KillBehavior

-
KillBehavior: keyof typeof KillBehaviors
- -
-
-

Kill behavior.

-
-
-
-
- -

OnlineHandler

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

Callback invoked when the worker has started successfully.

-
-
-

Type parameters

-
    -
  • -

    Worker

    -
  • -
-
-

Type declaration

-
    -
  • -
      -
    • (this: Worker): void
    • -
    -
      -
    • -

      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

-
- -

Const KillBehaviors

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

Enumeration of kill behaviors.

-
-
-
-
- -

Const 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

+
+
+

Index

+
+

Classes

+
+
+

Interfaces

+
+
+

Type Aliases

+
+
+

Variables

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file