build(deps-dev): bump expect from 29.6.4 to 29.7.0
[poolifier.git] / src / index.ts
CommitLineData
c4855468 1export type { AbstractPool } from './pools/abstract-pool'
fe61e2b9
JB
2export { DynamicClusterPool } from './pools/cluster/dynamic'
3export {
4 FixedClusterPool,
5 type ClusterPoolOptions
6} from './pools/cluster/fixed'
4b628b48 7export { PoolEvents, PoolTypes } from './pools/pool'
0274ce2d
JB
8export type {
9 IPool,
10 PoolEmitter,
0274ce2d 11 PoolEvent,
6b27d407 12 PoolInfo,
c7c04698 13 PoolOptions,
e8bd29ce 14 PoolType,
4b628b48 15 TasksQueueOptions
0274ce2d 16} from './pools/pool'
4b628b48 17export { WorkerTypes } from './pools/worker'
bdaf31cd
JB
18export type {
19 ErrorHandler,
9adcefab 20 EventLoopUtilizationMeasurementStatistics,
bdaf31cd 21 ExitHandler,
0274ce2d 22 IWorker,
4b628b48 23 IWorkerNode,
87de9ff5 24 MeasurementStatistics,
ea7a90d3 25 MessageHandler,
c4855468 26 OnlineHandler,
4ccb689a 27 StrategyData,
87de9ff5 28 TaskStatistics,
bff4b6ed 29 WorkerInfo,
a9780ad2 30 WorkerNodeEventCallback,
4b628b48 31 WorkerType,
87de9ff5 32 WorkerUsage
f06e48d8 33} from './pools/worker'
9adcefab
JB
34export {
35 Measurements,
36 WorkerChoiceStrategies
37} from './pools/selection-strategies/selection-strategies-types'
8125b6a2 38export type {
c4855468 39 IWorkerChoiceStrategy,
9adcefab
JB
40 Measurement,
41 MeasurementOptions,
42 MeasurementStatisticsRequirements,
4a1fe3d4 43 StrategyPolicy,
87de9ff5 44 TaskStatisticsRequirements,
8125b6a2
JB
45 WorkerChoiceStrategy,
46 WorkerChoiceStrategyOptions
47} from './pools/selection-strategies/selection-strategies-types'
c4855468 48export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
c97c7edb 49export { DynamicThreadPool } from './pools/thread/dynamic'
e102732c 50export { FixedThreadPool, 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,
57 WorkerOptions,
58 KillHandler
59} from './worker/worker-options'
e8bd29ce 60export type {
82ea6492
JB
61 TaskAsyncFunction,
62 TaskFunction,
c7c04698 63 TaskFunctions,
82ea6492
JB
64 TaskSyncFunction
65} from './worker/task-functions'
b6b32453 66export type {
b6b32453 67 MessageValue,
0ea4c067 68 PromiseResponseWrapper,
5c4d16da 69 Task,
87de9ff5 70 TaskError,
d715b7bc 71 TaskPerformance,
ff3f866a
JB
72 WorkerStatistics,
73 Writable
e8bd29ce 74} from './utility-types'
4342a45e 75export type { CircularArray } from './circular-array'
fba4a5e2 76export type { Deque, Node } from './deque'
51474716 77export { availableParallelism } from './utils'