X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=ec58f3abe405103b7b745eee25e6d0493488bb29;hb=0e502832d98443e291ea5558423ca0de86b96e13;hp=4c024b70740a38fbeb97a872121dc63d1355f2ef;hpb=2447ee8ce5d3db1253c7286482e5a54e84618ecf;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 4c024b70..ec58f3ab 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,13 +1,13 @@ -WorkerOptions | poolifier - v2.6.24
+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