0d9491572fa292dc3381aefaea3a6730dcee5b66
[poolifier.git] / src / index.ts
1 export type { AbstractPool } from './pools/abstract-pool'
2 export { DynamicClusterPool } from './pools/cluster/dynamic'
3 export {
4 FixedClusterPool,
5 type ClusterPoolOptions
6 } from './pools/cluster/fixed'
7 export { PoolEvents, PoolTypes, WorkerTypes } from './pools/pool'
8 export type {
9 IPool,
10 PoolEmitter,
11 PoolEvent,
12 PoolInfo,
13 PoolOptions,
14 PoolType,
15 TasksQueueOptions,
16 WorkerType
17 } from './pools/pool'
18 export type {
19 ErrorHandler,
20 ExitHandler,
21 IWorker,
22 MessageHandler,
23 OnlineHandler,
24 Task,
25 TasksUsage,
26 WorkerNode
27 } from './pools/worker'
28 export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
29 export type {
30 IWorkerChoiceStrategy,
31 TaskStatistics,
32 WorkerChoiceStrategy,
33 WorkerChoiceStrategyOptions
34 } from './pools/selection-strategies/selection-strategies-types'
35 export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
36 export { DynamicThreadPool } from './pools/thread/dynamic'
37 export {
38 FixedThreadPool,
39 type ThreadPoolOptions,
40 type ThreadWorkerWithMessageChannel
41 } from './pools/thread/fixed'
42 export type { AbstractWorker, TaskPerformance } from './worker/abstract-worker'
43 export { ClusterWorker } from './worker/cluster-worker'
44 export { ThreadWorker } from './worker/thread-worker'
45 export { KillBehaviors } from './worker/worker-options'
46 export type { KillBehavior, WorkerOptions } from './worker/worker-options'
47 export type {
48 TaskFunctions,
49 WorkerAsyncFunction,
50 WorkerFunction,
51 WorkerSyncFunction
52 } from './worker/worker-functions'
53 export type {
54 Draft,
55 MessageValue,
56 PromiseResponseWrapper,
57 WorkerStatistics
58 } from './utility-types'
59 export type { CircularArray } from './circular-array'
60 export type { Queue } from './queue'