X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=35995dd4a8e7bc34bf310e2c1372f9ec420389f2;hb=749e1fa387ba832c85f789337b3c2e679331cb64;hp=4937606f081e80fada86172b167a012ea0fe5420;hpb=06fa9e0de6b62965c9dd2fe6023e943f35775026;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 4937606f..35995dd4 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,4 +1,4 @@ -IWorkerChoiceStrategy | poolifier
+IWorkerChoiceStrategy | poolifier
-
+
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:85
  • +
    -
    requiredStatistics: RequiredStatistics
    +
    requiredStatistics: RequiredStatistics

    Required tasks usage statistics.

    -
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:71
  • +
    -
    reset: (() => boolean)
    +
    reset: (() => boolean)

    Type declaration

    • -
        +
        • (): boolean
        • Resets strategy internals (counters, statistics, etc.).

          Returns boolean

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:75
  • +
    + +
    setOptions: ((opts) => void)
    +
    +

    Type declaration

    +
      +
    • +
        +
      • (opts): void
      • +
      • +

        Sets the worker choice strategy options.

        +
        +
        +

        Parameters

        +
        +

        Returns void

    +

    Theme

    On This Page

    +
  • choose
  • +
  • remove
  • +
  • requiredStatistics
  • +
  • reset
  • +
  • setOptions
  • +
  • PoolType
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • WorkerChoiceStrategies
  • Generated using TypeDoc

    \ No newline at end of file