X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=d2eda9f6761b1b2f7222a66c5c81353300a23851;hb=e76cb051ad171ceb6183dbe5ab0397ebb8f242d0;hp=687ad94e0cacca84a7b1a26c02ab7a22f494b098;hpb=a1e5b51ea192bdcad4751d1f4facc19498ee4f1d;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 687ad94e..d2eda9f6 100644 --- a/docs/types/ErrorHandler.html +++ b/docs/types/ErrorHandler.html @@ -1,101 +1,3 @@ -ErrorHandler | poolifier
-
- -
-
-
-
- -

Type alias ErrorHandler<Worker>

-
ErrorHandler<Worker>: ((this: Worker, e: Error) => void)
-
-

Type Parameters

-
-
-

Type declaration

-
    -
  • -
      -
    • (this: Worker, e: Error): void
    • -
    • -

      Callback invoked if the worker raised an error.

      -
      -
      -

      Parameters

      -
        -
      • -
        this: Worker
      • -
      • -
        e: Error
      -

      Returns void

-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +ErrorHandler | poolifier - v3.1.8

Type alias ErrorHandler<Worker>

ErrorHandler<Worker>: ((this, error) => void)

Type Parameters

  • Worker extends IWorker

    Type of worker.

    +

Type declaration

    • (this, error): void
    • Callback invoked if the worker raised an error.

      +

      Parameters

      • this: Worker
      • error: Error

      Returns void

Generated using TypeDoc

\ No newline at end of file