X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=4c4487b3ef7e85d51da51c230a8d583c40b550ec;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=0c77c476e5ca5efe388f2eb06892da92f3649968;hpb=1938bc376fa92d0c773c4c23b0305291ab483e6c;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 0c77c476..7446fe13 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, error) => void)
+

Type Parameters

-
    +
    • -

      Worker

+

Worker extends IWorker

Type declaration

  • -
      -
    • (this: Worker, e: Error): void
    • +
        +
      • (this, error): 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