feat: add pool option to enable median runtime
[poolifier.git] / src / index.ts
CommitLineData
c97c7edb
S
1export { DynamicClusterPool } from './pools/cluster/dynamic'
2export { FixedClusterPool } from './pools/cluster/fixed'
3export type { ClusterPoolOptions } from './pools/cluster/fixed'
aee46736
JB
4export { PoolEvents } from './pools/pool'
5export type { IPool, PoolEmitter, PoolOptions, PoolEvent } from './pools/pool'
bdaf31cd
JB
6export type {
7 ErrorHandler,
8 ExitHandler,
ea7a90d3 9 MessageHandler,
bdaf31cd 10 OnlineHandler
f06e48d8 11} from './pools/worker'
bdaf31cd
JB
12export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
13export type { WorkerChoiceStrategy } from './pools/selection-strategies/selection-strategies-types'
c97c7edb
S
14export { DynamicThreadPool } from './pools/thread/dynamic'
15export { FixedThreadPool } from './pools/thread/fixed'
16export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
c97c7edb
S
17export { ClusterWorker } from './worker/cluster-worker'
18export { ThreadWorker } from './worker/thread-worker'
1a81f8af
S
19export { KillBehaviors } from './worker/worker-options'
20export type { KillBehavior, WorkerOptions } from './worker/worker-options'