X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=ec58f3abe405103b7b745eee25e6d0493488bb29;hb=665702eef3ad8153279b344e0276687f7f50c10f;hp=ff56f19f2aa2863efd10f0c9f37ef3b68fed82b9;hpb=5e972953bf3193a557a14fa794d559b2acc1d6de;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index ff56f19f..ec58f3ab 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,13 +1,13 @@ -WorkerOptions | poolifier - v2.6.18
+WorkerOptions | poolifier - v2.6.42
-
+
  • The search index is not available
  • poolifier - v2.6.42 +
    @@ -24,32 +24,34 @@
    • WorkerOptions
    +
  • Defined in src/worker/worker-options.ts:28
  • - +

    Properties

    - +
    async?: boolean

    Whether your worker will perform asynchronous or not.

    -

    Default Value

    false

    +

    Default Value

    false
    +

    Deprecated

    This option will be removed in the next major version.

    +
  • Defined in src/worker/worker-options.ts:63
  • killBehavior?: "SOFT" | "HARD"
    @@ -61,10 +63,19 @@

    This option only apply to the newly created workers.

    -

    Default Value

    KillBehaviors.SOFT

    +

    Default Value

    KillBehaviors.SOFT
    +
    +
  • Defined in src/worker/worker-options.ts:39
  • +
    + +
    killHandler?: KillHandler
    +

    The function to call when a worker is killed.

    +
    +
    maxInactiveTime?: number
    @@ -78,23 +89,24 @@ when this timeout expires your tasks is interrupted before completion and remove
    -

    Default Value

    60000

    +

    Default Value

    60000
    +
    +
  • Defined in src/worker/worker-options.ts:52
  • @@ -103,69 +115,33 @@ when this timeout expires your tasks is interrupted before completion and remove
    +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file