Merge most of the stuff from jerome-benoit:issue-62-ts-standard
[poolifier.git] / src / index.ts
CommitLineData
4ade5f1f 1import DynamicThreadPool from './dynamic'
f045358d 2import FixedThreadPool from './fixed'
4ade5f1f
S
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 }