X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FExitHandler.html;h=119929398c32ed954798ba8a4923da05efc92785;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=6499e6509723dbb2e7cd5d615e6e04cca7e813aa;hpb=3aaed019abde0022e986c1db05db9d5d7bc76594;p=poolifier.git diff --git a/docs/types/ExitHandler.html b/docs/types/ExitHandler.html index 6499e650..05d08bfc 100644 --- a/docs/types/ExitHandler.html +++ b/docs/types/ExitHandler.html @@ -1,4 +1,4 @@ -ExitHandler | poolifier
+ExitHandler | poolifier
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • 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.

          @@ -34,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