X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=4c4487b3ef7e85d51da51c230a8d583c40b550ec;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=c88bc0c7d71e2a4c70497e825b71ba937d3409d5;hpb=6f0e7f0609e779dbf314d3f1a31660e7d369f591;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index c88bc0c7..7446fe13 100644 --- a/docs/types/ErrorHandler.html +++ b/docs/types/ErrorHandler.html @@ -1,4 +1,4 @@ -ErrorHandler | poolifier
+ErrorHandler | poolifier
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • 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