c24d447dd015b93fbb970da9d4db8c260b28b0c0
[poolifier.git] / src / index.ts
1 import FixedThreadPool from './fixed'
2 import DynamicThreadPool from './dynamic'
3 import { ThreadWorker } from './workers'
4
5 export type {
6 Draft,
7 FixedThreadPoolOptions,
8 WorkerWithMessageChannel
9 } from './fixed'
10 export type { DynamicThreadPoolOptions } from './dynamic'
11 export type { ThreadWorkerOptions } from './workers'
12 export { FixedThreadPool, DynamicThreadPool, ThreadWorker }
13
14 module.exports = { FixedThreadPool, DynamicThreadPool, ThreadWorker }