X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=f43caf187f16255da6b1bfb1dfca5f95effb7a12;hb=4703c53b33791724a31462d7c6dabd43b0385f7c;hp=e9a21a6a0d883619cc18eee4e8cdc218dd0b247c;hpb=f1583b4edd427f8c3f2b4ddc652d2e102390b08e;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index e9a21a6a..f43caf18 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