X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=26710d47cb2aba4852e79669bdf0e45758ef997c;hb=fab6d3b5750d884b29e5e7057628a06d88d0df8a;hp=6b7faecc6e3121a189b847c95ce714445248f5e8;hpb=18ba88e2f8612c6137bf564388ce8f905ae6d4ee;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 6b7faecc..26710d47 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