X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=119929398c32ed954798ba8a4923da05efc92785;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=3bfdd0b2c894502c973d36fda3fece028f30b182;hpb=a75da00c7b8dbbb148d2cf2472ce73e4201d9a4a;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index 3bfdd0b2..05d08bfc 100644 --- a/docs/types/ExitHandler.html +++ b/docs/types/ExitHandler.html @@ -1,4 +1,4 @@ -ExitHandler | poolifier
+ExitHandler | poolifier
-
+

Type alias ExitHandler<Worker>

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

Type Parameters

-
    +
    • -

      Worker

+

Worker extends IWorker

Type declaration

  • -
      -
    • (this: Worker, code: number): void
    • +
        +
      • (this, exitCode): void
      • Callback invoked when the worker exits successfully.

        @@ -34,16 +34,18 @@

        Parameters

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

Returns void

+

Returns void

+
- +
+
-
+

Theme

+ +

Generated using TypeDoc

-
\ No newline at end of file +
\ No newline at end of file