X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=54e5d9b1c22206196e47e50a1c38cb4f4bc29598;hb=bb3f9b66fa2241864d31937eeced22caab83d17e;hp=da8a73bbffe2b32db98d6aa77065480ca4668438;hpb=7cd8af0033b35def46016a78ea9be1ee516480bf;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index da8a73bb..54e5d9b1 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