refactor: factor out pool fullness detection
[poolifier.git] / src / index.ts
index 3cc6fa0314825c09d6ab3965551ef950f5329aa2..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,
-  PoolOptions,
   PoolEvent,
+  PoolInfo,
+  PoolOptions,
   PoolType,
-  TasksQueueOptions
+  TasksQueueOptions,
+  WorkerType
 } from './pools/pool'
 export type {
   ErrorHandler,
@@ -39,6 +41,12 @@ export { KillBehaviors } from './worker/worker-options'
 export type { KillBehavior, WorkerOptions } from './worker/worker-options'
 export type {
   Draft,
+  MessageValue,
   PromiseResponseWrapper,
-  MessageValue
+  TaskFunctions,
+  WorkerAsyncFunction,
+  WorkerFunction,
+  WorkerSyncFunction
 } from './utility-types'
+export type { CircularArray } from './circular-array'
+export type { Queue } from './queue'