Fix documentation generation
[poolifier.git] / src / index.ts
index b64a274b87c662d65249ca52ac82250c2bad3dd0..92ed93a11cf52c2fe27a8ca034a58c46d0755ca0 100644 (file)
@@ -1,19 +1,19 @@
-export type {
-  ErrorHandler,
-  ExitHandler,
-  IWorker,
-  OnlineHandler,
-  PoolOptions
-} from './pools/abstract-pool'
 export { DynamicClusterPool } from './pools/cluster/dynamic'
 export { FixedClusterPool } from './pools/cluster/fixed'
 export type { ClusterPoolOptions } from './pools/cluster/fixed'
-export type { IPool } from './pools/pool'
+export type { IPool, PoolEmitter, PoolOptions } from './pools/pool'
+export type {
+  ErrorHandler,
+  ExitHandler,
+  MessageHandler,
+  OnlineHandler
+} from './pools/pool-worker'
+export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
+export type { WorkerChoiceStrategy } from './pools/selection-strategies/selection-strategies-types'
 export { DynamicThreadPool } from './pools/thread/dynamic'
 export { FixedThreadPool } from './pools/thread/fixed'
 export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
-export { AbstractWorker } from './worker/abstract-worker'
 export { ClusterWorker } from './worker/cluster-worker'
 export { ThreadWorker } from './worker/thread-worker'
-export type { WorkerOptions } from './worker/worker-options'
-export { killBehaviorTypes } from './worker/worker-options'
+export { KillBehaviors } from './worker/worker-options'
+export type { KillBehavior, WorkerOptions } from './worker/worker-options'