Extract selection strategies to classes (#176)
[poolifier.git] / src / index.ts
1 export type {
2 ErrorHandler,
3 ExitHandler,
4 IWorker,
5 OnlineHandler,
6 PoolOptions
7 } from './pools/abstract-pool'
8 export { DynamicClusterPool } from './pools/cluster/dynamic'
9 export { FixedClusterPool } from './pools/cluster/fixed'
10 export type { ClusterPoolOptions } from './pools/cluster/fixed'
11 export type { IPool } from './pools/pool'
12 export { WorkerChoiceStrategies } from './pools/selection-strategies'
13 export type { WorkerChoiceStrategy } from './pools/selection-strategies'
14 export { DynamicThreadPool } from './pools/thread/dynamic'
15 export { FixedThreadPool } from './pools/thread/fixed'
16 export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
17 export { AbstractWorker } from './worker/abstract-worker'
18 export { ClusterWorker } from './worker/cluster-worker'
19 export { ThreadWorker } from './worker/thread-worker'
20 export { KillBehaviors } from './worker/worker-options'
21 export type { KillBehavior, WorkerOptions } from './worker/worker-options'