X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=9b68fabe07eed3c6f5c79f797c92a6265e46c902;hb=65ec4e64a4690b019d3ef86c97aa7182b715f539;hp=f9f4e79d22bf27b3fd6c965a3339b7e5ff99fbee;hpb=e1230e386080ae19766e2a7863c807a90f13a3ef;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index f9f4e79d..9b68fabe 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, code) => void)
+

Type Parameters

-
    +
    • -

      Worker

+

Worker extends IWorker

Type declaration

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

        @@ -34,16 +34,17 @@

        Parameters

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

Returns void

- +
+
-
+

Theme

+ +

Generated using TypeDoc

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