docs: add changelog entry for IWRR worker choice strategy
[poolifier.git] / src / index.ts
index ad0af4875b64cf176ba7718fec69d60403412735..03ee28090ba4aef76bdd84d8c5072185487e7f5a 100644 (file)
@@ -1,12 +1,14 @@
 export { DynamicClusterPool } from './pools/cluster/dynamic'
 export { FixedClusterPool } from './pools/cluster/fixed'
 export type { ClusterPoolOptions } from './pools/cluster/fixed'
+export type { AbstractPool } from './pools/abstract-pool'
 export { PoolEvents } from './pools/pool'
 export type {
   IPool,
   PoolEmitter,
-  PoolOptions,
   PoolEvent,
+  PoolOptions,
+  PoolType,
   TasksQueueOptions
 } from './pools/pool'
 export type {
@@ -14,17 +16,35 @@ export type {
   ExitHandler,
   IWorker,
   MessageHandler,
-  OnlineHandler
+  OnlineHandler,
+  Task,
+  TasksUsage,
+  WorkerNode
 } from './pools/worker'
 export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
 export type {
+  IWorkerChoiceStrategy,
+  RequiredStatistics,
   WorkerChoiceStrategy,
   WorkerChoiceStrategyOptions
 } from './pools/selection-strategies/selection-strategies-types'
+export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
 export { DynamicThreadPool } from './pools/thread/dynamic'
 export { FixedThreadPool } from './pools/thread/fixed'
 export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
+export type { AbstractWorker } from './worker/abstract-worker'
 export { ClusterWorker } from './worker/cluster-worker'
 export { ThreadWorker } from './worker/thread-worker'
 export { KillBehaviors } from './worker/worker-options'
 export type { KillBehavior, WorkerOptions } from './worker/worker-options'
+export type {
+  Draft,
+  MessageValue,
+  PromiseResponseWrapper,
+  TaskFunctions,
+  WorkerAsyncFunction,
+  WorkerFunction,
+  WorkerSyncFunction
+} from './utility-types'
+export type { CircularArray } from './circular-array'
+export type { Queue } from './queue'