export type { AbstractPool } from './pools/abstract-pool'
export { DynamicClusterPool } from './pools/cluster/dynamic'
-export {
- FixedClusterPool,
- type ClusterPoolOptions
-} from './pools/cluster/fixed'
+export { FixedClusterPool } from './pools/cluster/fixed'
+export type { ClusterPoolOptions } from './pools/cluster/fixed'
export { PoolEvents, PoolTypes } from './pools/pool'
export type {
IPool,
- PoolEmitter,
PoolEvent,
PoolInfo,
PoolOptions,
MeasurementStatistics,
MessageHandler,
OnlineHandler,
- Task,
+ StrategyData,
TaskStatistics,
WorkerInfo,
+ WorkerNodeEventDetail,
+ WorkerNodeOptions,
WorkerType,
WorkerUsage
} from './pools/worker'
} from './pools/selection-strategies/selection-strategies-types'
export type {
IWorkerChoiceStrategy,
+ InternalWorkerChoiceStrategyOptions,
Measurement,
MeasurementOptions,
MeasurementStatisticsRequirements,
} from './pools/selection-strategies/selection-strategies-types'
export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
export { DynamicThreadPool } from './pools/thread/dynamic'
-export { FixedThreadPool, type ThreadPoolOptions } from './pools/thread/fixed'
+export { FixedThreadPool } from './pools/thread/fixed'
+export type { ThreadPoolOptions } from './pools/thread/fixed'
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,
+ KillHandler,
+ WorkerOptions
+} from './worker/worker-options'
+export type {
+ TaskAsyncFunction,
+ TaskFunction,
+ TaskFunctionOperationResult,
TaskFunctions,
- WorkerAsyncFunction,
- WorkerFunction,
- WorkerSyncFunction
-} from './worker/worker-functions'
+ TaskSyncFunction
+} from './worker/task-functions'
export type {
MessageValue,
PromiseResponseWrapper,
- TaskError,
+ Task,
TaskPerformance,
- WorkerStatistics
+ WorkerError,
+ 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'