Commit | Line | Data |
---|---|---|
4ade5f1f S |
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 } |