X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=82523f789c5d9838a86845848ae1de1b2dba8365;hb=f05afd162e34836a52c48b05781750e3421424d8;hp=fa1ff427abd6d94c7b150fe1ba2a00ad7f07c0c2;hpb=0770fe626b2bb3212a1d73fa4764973ac92e241a;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index fa1ff427..497be3e9 100644 --- a/docs/types/ErrorHandler.html +++ b/docs/types/ErrorHandler.html @@ -1,4 +1,4 @@ -ErrorHandler | poolifier
+ErrorHandler | poolifier
-
+

Type alias ErrorHandler<Worker>

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

Type Parameters

-
    +
    • -

      Worker

+

Worker extends IWorker

Type declaration

  • -
      -
    • (this: Worker, e: Error): void
    • +
        +
      • (this, e): void
      • Callback invoked if the worker raised an error.

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

        Parameters

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

Returns void

+

Returns void

+
- +
+
-
+

Theme

+ +

Generated using TypeDoc

-
\ No newline at end of file +
\ No newline at end of file