Encapsulate logic of cluster and thread worker/pool (#116)
[poolifier.git] / src / index.ts
CommitLineData
325f50bc 1export type {
c97c7edb
S
2 ErrorHandler,
3 ExitHandler,
4 IWorker,
5 OnlineHandler,
6 PoolOptions
7} from './pools/abstract-pool'
8export { DynamicClusterPool } from './pools/cluster/dynamic'
9export { FixedClusterPool } from './pools/cluster/fixed'
10export type { ClusterPoolOptions } from './pools/cluster/fixed'
11export type { IPool } from './pools/pool'
12export { DynamicThreadPool } from './pools/thread/dynamic'
13export { FixedThreadPool } from './pools/thread/fixed'
14export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
15export { AbstractWorker } from './worker/abstract-worker'
16export { ClusterWorker } from './worker/cluster-worker'
17export { ThreadWorker } from './worker/thread-worker'
325f50bc 18export type { WorkerOptions } from './worker/worker-options'