X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=497be3e9cea137a747c1de016ec579962429156c;hb=f05afd162e34836a52c48b05781750e3421424d8;hp=0c88aa59b61d1f89c4839ef7951069a2b7283fe7;hpb=4736ba628fabbf7e34e36ef0f55a96e86b7033ac;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 0c88aa59..497be3e9 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,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