Merge branch 'master' into elu-strategy
[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'
184855e6 5export { PoolEvents, PoolTypes, WorkerTypes } from './pools/pool'
0274ce2d
JB
6export type {
7 IPool,
8 PoolEmitter,
0274ce2d 9 PoolEvent,
6b27d407 10 PoolInfo,
c7c04698 11 PoolOptions,
e8bd29ce 12 PoolType,
184855e6
JB
13 TasksQueueOptions,
14 WorkerType
0274ce2d 15} from './pools/pool'
bdaf31cd
JB
16export type {
17 ErrorHandler,
18 ExitHandler,
0274ce2d 19 IWorker,
ea7a90d3 20 MessageHandler,
c4855468 21 OnlineHandler,
e8bd29ce
JB
22 Task,
23 TasksUsage,
c4855468 24 WorkerNode
f06e48d8 25} from './pools/worker'
bdaf31cd 26export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
8125b6a2 27export type {
c4855468 28 IWorkerChoiceStrategy,
e8bd29ce 29 RequiredStatistics,
8125b6a2
JB
30 WorkerChoiceStrategy,
31 WorkerChoiceStrategyOptions
32} from './pools/selection-strategies/selection-strategies-types'
c4855468 33export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
c97c7edb
S
34export { DynamicThreadPool } from './pools/thread/dynamic'
35export { FixedThreadPool } from './pools/thread/fixed'
36export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
c4855468 37export type { AbstractWorker } from './worker/abstract-worker'
c97c7edb
S
38export { ClusterWorker } from './worker/cluster-worker'
39export { ThreadWorker } from './worker/thread-worker'
1a81f8af
S
40export { KillBehaviors } from './worker/worker-options'
41export type { KillBehavior, WorkerOptions } from './worker/worker-options'
e8bd29ce
JB
42export type {
43 Draft,
48ef9107 44 MessageValue,
c7c04698
JB
45 PromiseResponseWrapper,
46 TaskFunctions,
48ef9107
JB
47 WorkerAsyncFunction,
48 WorkerFunction,
49 WorkerSyncFunction
e8bd29ce 50} from './utility-types'
4342a45e 51export type { CircularArray } from './circular-array'
13455ed2 52export type { Queue } from './queue'