build: fix publishing on JSR
[poolifier.git] / src / index.ts
1 export type { CircularArray } from './circular-array.js'
2 export type { Deque, ILinkedListNode } from './deque.js'
3 export type { AbstractPool } from './pools/abstract-pool.js'
4 export { DynamicClusterPool } from './pools/cluster/dynamic.js'
5 export type { ClusterPoolOptions } from './pools/cluster/fixed.js'
6 export { FixedClusterPool } from './pools/cluster/fixed.js'
7 export type {
8 IPool,
9 PoolEvent,
10 PoolInfo,
11 PoolOptions,
12 PoolType,
13 TasksQueueOptions
14 } from './pools/pool.js'
15 export { PoolEvents, PoolTypes } from './pools/pool.js'
16 export type {
17 IWorkerChoiceStrategy,
18 Measurement,
19 MeasurementOptions,
20 MeasurementStatisticsRequirements,
21 StrategyPolicy,
22 TaskStatisticsRequirements,
23 WorkerChoiceStrategy,
24 WorkerChoiceStrategyOptions
25 } from './pools/selection-strategies/selection-strategies-types.js'
26 export {
27 Measurements,
28 WorkerChoiceStrategies
29 } from './pools/selection-strategies/selection-strategies-types.js'
30 export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context.js'
31 export { DynamicThreadPool } from './pools/thread/dynamic.js'
32 export type { ThreadPoolOptions } from './pools/thread/fixed.js'
33 export { FixedThreadPool } from './pools/thread/fixed.js'
34 export type {
35 ErrorHandler,
36 EventHandler,
37 EventLoopUtilizationMeasurementStatistics,
38 ExitHandler,
39 IWorker,
40 IWorkerNode,
41 MeasurementStatistics,
42 MessageHandler,
43 OnlineHandler,
44 StrategyData,
45 TaskStatistics,
46 WorkerInfo,
47 WorkerNodeEventDetail,
48 WorkerNodeOptions,
49 WorkerType,
50 WorkerUsage
51 } from './pools/worker.js'
52 export { WorkerTypes } from './pools/worker.js'
53 export type {
54 MessageValue,
55 PromiseResponseWrapper,
56 Task,
57 TaskPerformance,
58 WorkerError,
59 WorkerStatistics,
60 Writable
61 } from './utility-types.js'
62 export { availableParallelism } from './utils.js'
63 export type { AbstractWorker } from './worker/abstract-worker.js'
64 export { ClusterWorker } from './worker/cluster-worker.js'
65 export type {
66 TaskAsyncFunction,
67 TaskFunction,
68 TaskFunctionOperationResult,
69 TaskFunctions,
70 TaskSyncFunction
71 } from './worker/task-functions.js'
72 export { ThreadWorker } from './worker/thread-worker.js'
73 export type {
74 KillBehavior,
75 KillHandler,
76 WorkerOptions
77 } from './worker/worker-options.js'
78 export { KillBehaviors } from './worker/worker-options.js'