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