X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=5a6815b5295d82a4d4e38209b8d04358905d3aec;hb=1b37751debba7bb1e6459cc3a3e0d467e039d15b;hp=bf069678aa6e8a7b324264cfada397c11abb1495;hpb=013a4697317eeedbe32d0e233b2e255027dd84fe;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index bf069678..5a6815b5 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,4 +1,4 @@ -WorkerOptions | poolifier - v2.6.26
+WorkerOptions | poolifier - v2.6.40
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.26
+
  • The search index is not available
  • poolifier - v2.6.40
    @@ -24,7 +24,7 @@
    • WorkerOptions
    +
  • Defined in src/worker/worker-options.ts:28
  • @@ -45,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"
    @@ -62,18 +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
    +
    killHandler?: KillHandler

    The function to call when a worker is killed.

    +
  • Defined in src/worker/worker-options.ts:56
  • maxInactiveTime?: number
    @@ -87,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