test: cover new pool methods
[poolifier.git] / src / index.ts
index 8a3cb9b1e2ef2521a83bfed53267980d61d8e786..8faba2552bb4cb772724aa350016471a36d659d2 100644 (file)
@@ -24,8 +24,10 @@ export type {
   MeasurementStatistics,
   MessageHandler,
   OnlineHandler,
+  StrategyData,
   TaskStatistics,
   WorkerInfo,
+  WorkerNodeEventCallback,
   WorkerType,
   WorkerUsage
 } from './pools/worker'
@@ -50,21 +52,27 @@ export type { AbstractWorker } from './worker/abstract-worker'
 export { ClusterWorker } from './worker/cluster-worker'
 export { ThreadWorker } from './worker/thread-worker'
 export { KillBehaviors } from './worker/worker-options'
-export type { KillBehavior, WorkerOptions } from './worker/worker-options'
 export type {
+  KillBehavior,
+  WorkerOptions,
+  KillHandler
+} from './worker/worker-options'
+export type {
+  TaskAsyncFunction,
+  TaskFunction,
+  TaskFunctionOperationReturnType,
   TaskFunctions,
-  WorkerAsyncFunction,
-  WorkerFunction,
-  WorkerSyncFunction
-} from './worker/worker-functions'
+  TaskSyncFunction
+} from './worker/task-functions'
 export type {
   MessageValue,
   PromiseResponseWrapper,
   Task,
-  TaskError,
+  WorkerError,
   TaskPerformance,
-  WorkerStatistics
+  WorkerStatistics,
+  Writable
 } from './utility-types'
 export type { CircularArray } from './circular-array'
-export type { Queue } from './queue'
+export type { Deque, Node } from './deque'
 export { availableParallelism } from './utils'