refactor: factor out pool fullness detection
[poolifier.git] / src / index.ts
index 0c948c847b6bb974253e4c421e640a95b5bc5fd7..4431b0f98f2617376df1d82937316633267f16de 100644 (file)
@@ -2,14 +2,16 @@ export { DynamicClusterPool } from './pools/cluster/dynamic'
 export { FixedClusterPool } from './pools/cluster/fixed'
 export type { ClusterPoolOptions } from './pools/cluster/fixed'
 export type { AbstractPool } from './pools/abstract-pool'
-export { PoolEvents } from './pools/pool'
+export { PoolEvents, PoolTypes, WorkerTypes } from './pools/pool'
 export type {
   IPool,
   PoolEmitter,
   PoolEvent,
+  PoolInfo,
   PoolOptions,
   PoolType,
-  TasksQueueOptions
+  TasksQueueOptions,
+  WorkerType
 } from './pools/pool'
 export type {
   ErrorHandler,
@@ -47,3 +49,4 @@ export type {
   WorkerSyncFunction
 } from './utility-types'
 export type { CircularArray } from './circular-array'
+export type { Queue } from './queue'