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