X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=b590697cc77bded15cc986be06b1b3356c6b975f;hb=25f5b5de1c522d29f7a16597245a2f7c9434b124;hp=b0f55adbe078de895219ebd0c8fef9468851e83a;hpb=21402562176f7550bcd9ba620cf551972fca6e98;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index b0f55adb..b590697c 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