X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=77f7353e8f91af5818852541b42adf99df882069;hb=6c525543a7ed67a926b7c1f4bf98985aaad1f088;hp=80edd1ba17d92f591fc2e78c83e20a0eb310c2c7;hpb=fec1c97860619dd6356803fee392205474010d5b;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 80edd1ba..77f7353e 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: Worker, e: Error) => void)

Type Parameters

  • -

    Worker

+

Worker extends IWorker

Type declaration

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

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

      Parameters

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

Returns void

- +
+
-
+

Theme

+ +

Generated using TypeDoc

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