95ef8255d659c39e545044e05a749db6f201dad4
[poolifier.git] / src / index.ts
1 import { DynamicClusterPool } from './pools/cluster/dynamic'
2 import { FixedClusterPool } from './pools/cluster/fixed'
3 import { DynamicThreadPool } from './pools/thread/dynamic'
4 import { FixedThreadPool } from './pools/thread/fixed'
5 import { ClusterWorker } from './worker/cluster-worker'
6 import { ThreadWorker } from './worker/thread-worker'
7
8 export type { DynamicClusterPoolOptions } from './pools/cluster/dynamic'
9 export type {
10 FixedClusterPoolOptions,
11 WorkerWithMessageChannel as ClusterWorkerWithMessageChannel
12 } from './pools/cluster/fixed'
13 export type { DynamicThreadPoolOptions } from './pools/thread/dynamic'
14 export type {
15 FixedThreadPoolOptions,
16 WorkerWithMessageChannel as ThreadWorkerWithMessageChannel
17 } from './pools/thread/fixed'
18 export type { WorkerOptions } from './worker/worker-options'
19 export {
20 FixedThreadPool,
21 FixedClusterPool,
22 DynamicClusterPool,
23 DynamicThreadPool,
24 ThreadWorker,
25 ClusterWorker
26 }