X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerOptions.html;h=58a7d9e44d27b62e46e49c920dda26c413336307;hb=2771e5dcac6411a9731c66730072fcc578ff701c;hp=d0932b2008580816e4b083d91eb47f626729df92;hpb=adab53c70d781f8c26e35b7359efa3d05c278fa8;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index d0932b20..58a7d9e4 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,13 +1,13 @@ -WorkerOptions | poolifier - v2.6.39
+WorkerOptions | poolifier - v2.7.2
-
+
  • The search index is not available
  • poolifier - v2.7.2 +
    @@ -24,15 +24,15 @@
    • WorkerOptions
    +
  • Defined in src/worker/worker-options.ts:28
  • - +

    Properties

    -
    async? +
    async? killBehavior? killHandler? maxInactiveTime? @@ -40,7 +40,7 @@

    Properties

    - +
    async?: boolean

    Whether your worker will perform asynchronous or not.

    @@ -51,7 +51,7 @@

    Deprecated

    This option will be removed in the next major version.

    +
  • Defined in src/worker/worker-options.ts:65
  • killBehavior?: "SOFT" | "HARD"
    @@ -67,19 +67,21 @@
    +
  • Defined in src/worker/worker-options.ts:39
  • killHandler?: KillHandler

    The function to call when a worker is killed.

    -
    +
  • Defined in src/worker/worker-options.ts:58
  • maxInactiveTime?: number
    -

    Maximum waiting time in milliseconds for tasks on newly created workers.

    +

    Maximum waiting time in milliseconds for tasks on newly created workers. It must be greater or equal than 5.

    After this time, newly created workers will be terminated. The last active time of your worker will be updated when it terminates a task.

      @@ -93,20 +95,20 @@ when this timeout expires your tasks is interrupted before completion and remove
    +
  • Defined in src/worker/worker-options.ts:52
  • @@ -118,71 +120,30 @@ when this timeout expires your tasks is interrupted before completion and remove
  • killHandler
  • maxInactiveTime
  • +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file