X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=119929398c32ed954798ba8a4923da05efc92785;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=4d933468a8316e59056a49ab0c0bc0d4bffa7df7;hpb=33c629765dcf8e17e2d3fa207a286b5d360fae78;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index 4d933468..05d08bfc 100644 --- a/docs/types/ExitHandler.html +++ b/docs/types/ExitHandler.html @@ -1,30 +1,32 @@ -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.

        @@ -32,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