a5fe1519d711c43ec97cf5120a2af92cb40babe7
[poolifier.git] / src / index.ts
1 import DynamicThreadPool from './dynamic'
2 import FixedThreadPool from './fixed'
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 }