Merge branch 'master' of github.com:poolifier/poolifier
[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'
c4855468 4export type { AbstractPool } from './pools/abstract-pool'
aee46736 5export { PoolEvents } from './pools/pool'
0274ce2d
JB
6export type {
7 IPool,
8 PoolEmitter,
9 PoolOptions,
10 PoolEvent,
11 TasksQueueOptions
12} from './pools/pool'
bdaf31cd
JB
13export type {
14 ErrorHandler,
15 ExitHandler,
0274ce2d 16 IWorker,
ea7a90d3 17 MessageHandler,
c4855468
JB
18 OnlineHandler,
19 WorkerNode
f06e48d8 20} from './pools/worker'
bdaf31cd 21export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
8125b6a2 22export type {
c4855468 23 IWorkerChoiceStrategy,
8125b6a2
JB
24 WorkerChoiceStrategy,
25 WorkerChoiceStrategyOptions
26} from './pools/selection-strategies/selection-strategies-types'
c4855468 27export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
c97c7edb
S
28export { DynamicThreadPool } from './pools/thread/dynamic'
29export { FixedThreadPool } from './pools/thread/fixed'
30export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
c4855468 31export type { AbstractWorker } from './worker/abstract-worker'
c97c7edb
S
32export { ClusterWorker } from './worker/cluster-worker'
33export { ThreadWorker } from './worker/thread-worker'
1a81f8af
S
34export { KillBehaviors } from './worker/worker-options'
35export type { KillBehavior, WorkerOptions } from './worker/worker-options'
c4855468 36export type { Draft, MessageValue } from './utility-types'