X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=a853af1485fe5931711c421d4757643c38ad7c22;hb=ae782cfa994b2468b49e4279e03c5140e9e309e3;hp=8e2ff656b6509f2de4b01bdd4ac04fb1824b8229;hpb=f9a95a93439b96a3ba1262ef807e1ba39b65bca4;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 8e2ff656..a853af14 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,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