refactor: cleanup
[poolifier.git] / src / index.ts
CommitLineData
c4855468 1export type { AbstractPool } from './pools/abstract-pool'
fe61e2b9
JB
2export { DynamicClusterPool } from './pools/cluster/dynamic'
3export {
4 FixedClusterPool,
5 type ClusterPoolOptions
6} from './pools/cluster/fixed'
184855e6 7export { PoolEvents, PoolTypes, WorkerTypes } from './pools/pool'
0274ce2d
JB
8export type {
9 IPool,
10 PoolEmitter,
0274ce2d 11 PoolEvent,
6b27d407 12 PoolInfo,
c7c04698 13 PoolOptions,
e8bd29ce 14 PoolType,
184855e6
JB
15 TasksQueueOptions,
16 WorkerType
0274ce2d 17} from './pools/pool'
bdaf31cd
JB
18export type {
19 ErrorHandler,
20 ExitHandler,
0274ce2d 21 IWorker,
ea7a90d3 22 MessageHandler,
c4855468 23 OnlineHandler,
e8bd29ce 24 Task,
a4e07f72 25 WorkerUsage,
c4855468 26 WorkerNode
f06e48d8 27} from './pools/worker'
bdaf31cd 28export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
8125b6a2 29export type {
c4855468 30 IWorkerChoiceStrategy,
b6b32453 31 TaskStatistics,
8125b6a2
JB
32 WorkerChoiceStrategy,
33 WorkerChoiceStrategyOptions
34} from './pools/selection-strategies/selection-strategies-types'
c4855468 35export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
c97c7edb 36export { DynamicThreadPool } from './pools/thread/dynamic'
fe61e2b9
JB
37export {
38 FixedThreadPool,
39 type ThreadPoolOptions,
40 type ThreadWorkerWithMessageChannel
41} from './pools/thread/fixed'
d715b7bc 42export type { AbstractWorker } from './worker/abstract-worker'
c97c7edb
S
43export { ClusterWorker } from './worker/cluster-worker'
44export { ThreadWorker } from './worker/thread-worker'
1a81f8af
S
45export { KillBehaviors } from './worker/worker-options'
46export type { KillBehavior, WorkerOptions } from './worker/worker-options'
e8bd29ce 47export type {
c7c04698 48 TaskFunctions,
48ef9107
JB
49 WorkerAsyncFunction,
50 WorkerFunction,
51 WorkerSyncFunction
b6b32453
JB
52} from './worker/worker-functions'
53export type {
54 Draft,
55 MessageValue,
0ea4c067 56 PromiseResponseWrapper,
d715b7bc 57 TaskPerformance,
0ea4c067 58 WorkerStatistics
e8bd29ce 59} from './utility-types'
4342a45e 60export type { CircularArray } from './circular-array'
13455ed2 61export type { Queue } from './queue'