X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fvariables%2FKillBehaviors.html;h=6cc49fc8b54a32fb8f783568194007addfaafa03;hb=afa30fd0dd5bbc5d305cc30be663966a449efc08;hp=e7a6cb546c64b390ad03ba6b2a0c54c27214f6ce;hpb=6709f3086622c12bae8060915be7a7f6be9d9763;p=poolifier.git diff --git a/docs/variables/KillBehaviors.html b/docs/variables/KillBehaviors.html index e7a6cb54..6cc49fc8 100644 --- a/docs/variables/KillBehaviors.html +++ b/docs/variables/KillBehaviors.html @@ -1,4 +1,4 @@ -KillBehaviors | poolifier
+KillBehaviors | poolifier
-
KillBehaviors: Readonly<{
    HARD: "HARD";
    SOFT: "SOFT";
}> = ...
+
KillBehaviors: Readonly<{
    HARD: "HARD";
    SOFT: "SOFT";
}> = ...

Enumeration of kill behaviors.

-
+
+

Type declaration

+
    +
  • +
    Readonly HARD: "HARD"
    +

    If currentTime - lastActiveTime is greater than maxInactiveTime but a task is still running, then the worker will be deleted.

    +
    +
  • +
  • +
    Readonly SOFT: "SOFT"
    +

    If currentTime - lastActiveTime is greater than maxInactiveTime but a task is still running, then the worker wont be deleted.

    +
    +
+
+
  • Defined in src/worker/worker-options.ts:4
  • +

    Theme

    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • Task
  • +
  • TaskStatistics
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file