X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=4c4487b3ef7e85d51da51c230a8d583c40b550ec;hb=ec06e4dd01adf7aa4bab470c59da42c19d863d0b;hp=82523f789c5d9838a86845848ae1de1b2dba8365;hpb=ba92b02f642f229cb927ab526148f10107831471;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index 82523f78..4c4487b3 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: 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.

      @@ -34,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