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