X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=782447d47814ccedb335e917fb8c2e4f8ce24a98;hb=04805b543bf2d070904a23d12d4f9e6a0260139b;hp=4b09c5ed6954c8413ba8105bcdbdfe36ef187600;hpb=f4ff239c096df6dfb39c94eb3f83fd070d3d85d8;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 4b09c5ed..782447d4 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,4 +1,4 @@ -WorkerOptions | poolifier - v2.6.23
+WorkerOptions | poolifier - v2.6.37
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.23
+
  • The search index is not available
  • poolifier - v2.6.37
    @@ -24,7 +24,7 @@
    • WorkerOptions
    +
  • Defined in src/worker/worker-options.ts:28
  • @@ -34,6 +34,7 @@

    Properties

    @@ -44,12 +45,13 @@

    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,10 +89,11 @@ 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
  • -

    Generated using TypeDoc

    +

    Generated using TypeDoc

    \ No newline at end of file