X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=17120a8549e7a78c09cf144ca5f4a9b16a15b4fb;hb=83924e2a6d515666785c4e222cc3aacee32e11ce;hp=01d86050905bddcf8dae586516519bf10be93d9e;hpb=0770fe626b2bb3212a1d73fa4764973ac92e241a;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index 01d86050..17120a85 100644 --- a/docs/types/ExitHandler.html +++ b/docs/types/ExitHandler.html @@ -1,32 +1,35 @@ -ExitHandler | poolifier
+ExitHandler | poolifier - v3.0.5
-
+
  • The search index is not available
  • poolifier - v3.0.5 +
    -
    +

    Type alias ExitHandler<Worker>

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

    Type Parameters

    -
      +
      • -

        Worker

    +

    Worker extends IWorker

    +

    Type of worker.

    +
    +

    Type declaration

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

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

          Parameters

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

    Returns void

    +

    Returns void

    +
    - +
    +
    -
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Theme

    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file