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