X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=fbbff3b449891fce274fa79cecd9aa35d84cb692;hb=bc3227d835252ffa3d2dd141da6304e21a7265b8;hp=4937606f081e80fada86172b167a012ea0fe5420;hpb=1d6ec394e8f7467f72baeb74dda4794fdc5ab322;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 4937606f..fbbff3b4 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