Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-cluster...
[poolifier.git] / src / index.ts
CommitLineData
c4855468 1export type { AbstractPool } from './pools/abstract-pool'
fe61e2b9 2export { DynamicClusterPool } from './pools/cluster/dynamic'
c3719753 3export { FixedClusterPool } from './pools/cluster/fixed'
2889bd70 4export type { ClusterPoolOptions } from './pools/cluster/fixed'
4b628b48 5export { PoolEvents, PoolTypes } from './pools/pool'
0274ce2d
JB
6export type {
7 IPool,
0274ce2d 8 PoolEvent,
6b27d407 9 PoolInfo,
c7c04698 10 PoolOptions,
e8bd29ce 11 PoolType,
4b628b48 12 TasksQueueOptions
0274ce2d 13} from './pools/pool'
de868be6 14export { WorkerTypes } from './pools/worker'
bdaf31cd
JB
15export type {
16 ErrorHandler,
9adcefab 17 EventLoopUtilizationMeasurementStatistics,
bdaf31cd 18 ExitHandler,
0274ce2d 19 IWorker,
4b628b48 20 IWorkerNode,
87de9ff5 21 MeasurementStatistics,
ea7a90d3 22 MessageHandler,
c4855468 23 OnlineHandler,
4ccb689a 24 StrategyData,
87de9ff5 25 TaskStatistics,
bff4b6ed 26 WorkerInfo,
de868be6 27 WorkerNodeEventDetail,
c3719753 28 WorkerNodeOptions,
4b628b48 29 WorkerType,
87de9ff5 30 WorkerUsage
f06e48d8 31} from './pools/worker'
9adcefab
JB
32export {
33 Measurements,
34 WorkerChoiceStrategies
35} from './pools/selection-strategies/selection-strategies-types'
8125b6a2 36export type {
c4855468 37 IWorkerChoiceStrategy,
2889bd70 38 InternalWorkerChoiceStrategyOptions,
9adcefab
JB
39 Measurement,
40 MeasurementOptions,
41 MeasurementStatisticsRequirements,
4a1fe3d4 42 StrategyPolicy,
87de9ff5 43 TaskStatisticsRequirements,
8125b6a2
JB
44 WorkerChoiceStrategy,
45 WorkerChoiceStrategyOptions
46} from './pools/selection-strategies/selection-strategies-types'
c4855468 47export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
c97c7edb 48export { DynamicThreadPool } from './pools/thread/dynamic'
c3719753 49export { FixedThreadPool } from './pools/thread/fixed'
2889bd70 50export type { ThreadPoolOptions } from './pools/thread/fixed'
d715b7bc 51export type { AbstractWorker } from './worker/abstract-worker'
c97c7edb
S
52export { ClusterWorker } from './worker/cluster-worker'
53export { ThreadWorker } from './worker/thread-worker'
1a81f8af 54export { KillBehaviors } from './worker/worker-options'
e8f1b611
JB
55export type {
56 KillBehavior,
af051dc5
JB
57 KillHandler,
58 WorkerOptions
e8f1b611 59} from './worker/worker-options'
e8bd29ce 60export type {
82ea6492
JB
61 TaskAsyncFunction,
62 TaskFunction,
4e38fd21 63 TaskFunctionOperationResult,
c7c04698 64 TaskFunctions,
82ea6492
JB
65 TaskSyncFunction
66} from './worker/task-functions'
b6b32453 67export type {
b6b32453 68 MessageValue,
0ea4c067 69 PromiseResponseWrapper,
5c4d16da 70 Task,
d715b7bc 71 TaskPerformance,
af051dc5 72 WorkerError,
ff3f866a
JB
73 WorkerStatistics,
74 Writable
e8bd29ce 75} from './utility-types'
4342a45e 76export type { CircularArray } from './circular-array'
fba4a5e2 77export type { Deque, Node } from './deque'
51474716 78export { availableParallelism } from './utils'