X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=d970e9d1294445bc07ac1bc59d21bb7ef3473c41;hb=749e1fa387ba832c85f789337b3c2e679331cb64;hp=7b934d8ca9920fa24d06930fbd5cabe9d9aa7b03;hpb=6c7b620077f30f365d597b7fce35cfe5584c2702;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 7b934d8c..d970e9d1 100644 --- a/docs/types/ErrorHandler.html +++ b/docs/types/ErrorHandler.html @@ -1,30 +1,32 @@ -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.

        @@ -32,16 +34,17 @@

        Parameters

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

Returns void

- +
+
-
+

Theme

+ +

Generated using TypeDoc

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