X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=17120a8549e7a78c09cf144ca5f4a9b16a15b4fb;hb=b2ec8632edaea1f4ee24a532e61ca6e5619b7bfb;hp=8c67147d2aeeca5651add30ac82eb46e3afe4b49;hpb=71a64eca52278c2396cf7cb6e6c53fce3704f5ab;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index 8c67147d..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