docs: add missing exports
[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,
e8bd29ce 11 PoolType,
0274ce2d
JB
12 TasksQueueOptions
13} from './pools/pool'
bdaf31cd
JB
14export type {
15 ErrorHandler,
16 ExitHandler,
0274ce2d 17 IWorker,
ea7a90d3 18 MessageHandler,
c4855468 19 OnlineHandler,
e8bd29ce
JB
20 Task,
21 TasksUsage,
c4855468 22 WorkerNode
f06e48d8 23} from './pools/worker'
bdaf31cd 24export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
8125b6a2 25export type {
c4855468 26 IWorkerChoiceStrategy,
e8bd29ce 27 RequiredStatistics,
8125b6a2
JB
28 WorkerChoiceStrategy,
29 WorkerChoiceStrategyOptions
30} from './pools/selection-strategies/selection-strategies-types'
c4855468 31export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
c97c7edb
S
32export { DynamicThreadPool } from './pools/thread/dynamic'
33export { FixedThreadPool } from './pools/thread/fixed'
34export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
c4855468 35export type { AbstractWorker } from './worker/abstract-worker'
c97c7edb
S
36export { ClusterWorker } from './worker/cluster-worker'
37export { ThreadWorker } from './worker/thread-worker'
1a81f8af
S
38export { KillBehaviors } from './worker/worker-options'
39export type { KillBehavior, WorkerOptions } from './worker/worker-options'
e8bd29ce
JB
40export type {
41 Draft,
42 PromiseResponseWrapper,
43 MessageValue
44} from './utility-types'