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