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