X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=ffec6798b760ef0979bf58a6d48767c0294fa3c9;hb=20ebfb03d96dc805e59643cf1f90667545a3fef2;hp=c8f1c01838200fbb517e3426a0126553c29a8e65;hpb=8662ea71e523af81c1138618f0e12b89df35ce8a;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index c8f1c018..ffec6798 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