X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=951731b645441f5434af0c282a90801ff373aa1e;hb=9867896b122160ea5d8e6dbccba4cc5916bf523b;hp=815e4c923d4303fa726552dc407bb3640d9bac26;hpb=c62a9bbc12416e26acbb3b86b5090d6186b14b60;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 815e4c92..951731b6 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,13 +1,13 @@ -WorkerOptions | poolifier - v2.6.20
+WorkerOptions | poolifier - v2.6.45
-
+
  • The search index is not available
  • poolifier - v2.6.45 +
    @@ -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