X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=17120a8549e7a78c09cf144ca5f4a9b16a15b4fb;hb=83924e2a6d515666785c4e222cc3aacee32e11ce;hp=70052be05723028ab5591dc08897f4d917d763f9;hpb=cea16128a949e8f118627f00ccb33b08db281c45;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index 70052be0..17120a85 100644 --- a/docs/types/ExitHandler.html +++ b/docs/types/ExitHandler.html @@ -1,13 +1,13 @@ -ExitHandler | poolifier
+ExitHandler | poolifier - v3.0.5
-
+
  • The search index is not available
  • poolifier - v3.0.5 +
    @@ -15,18 +15,21 @@
  • poolifier
  • ExitHandler
  • Type alias ExitHandler<Worker>

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

    Type Parameters

    -
    +

    Worker extends IWorker

    +

    Type of worker.

    +
    +

    Type declaration

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

          @@ -34,17 +37,18 @@

          Parameters

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

    Returns void

    +

    Returns void

    +
    +
  • Defined in src/pools/worker.ts:37
  • +

    Theme

    +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file