X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FErrorHandler.html;h=e0c621bb5bd3cce46f286143eb7a0892bb333b72;hb=a09a79a68dbaf04a9dff2f9d9dcc37da8c7dd314;hp=d68fffce6e0ae1e85d4c8205064573fc5f600ff5;hpb=53221c4e8cbcc585c670275e7c1c700c3d1b5f37;p=poolifier.git diff --git a/docs/types/ErrorHandler.html b/docs/types/ErrorHandler.html index d68fffce..e0c621bb 100644 --- a/docs/types/ErrorHandler.html +++ b/docs/types/ErrorHandler.html @@ -1,13 +1,13 @@ -ErrorHandler | poolifier
+ErrorHandler | poolifier - v3.0.5
-
+
  • The search index is not available
  • poolifier - v3.0.5 +
    @@ -15,18 +15,21 @@
  • poolifier
  • ErrorHandler
  • Type alias ErrorHandler<Worker>

    -
    ErrorHandler<Worker>: ((this: Worker, e: Error) => void)
    -
    +
    ErrorHandler<Worker>: ((this, error) => void)
    +

    Type Parameters

    -
    +

    Worker extends IWorker

    +

    Type of worker.

    +
    +

    Type declaration

    • -
        -
      • (this: Worker, e: Error): void
      • +
          +
        • (this, error): void
        • Callback invoked if the worker raised an error.

          @@ -34,17 +37,18 @@

          Parameters

          • -
            this: Worker
          • +
            this: Worker
          • -
            e: Error
    -

    Returns void

    +

    Returns void

    +
    +
  • Defined in src/pools/worker.ts:27
  • +

    Theme

    +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file