X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=6c9aa47e2092752bdadd7f409480ef8e4ce20128;hb=f11ec29c7cd99ccf56c1702901afbfb4ae9c1216;hp=f97211d6dfde76e2f240e2dd6c31f72f1c6b74f8;hpb=7431256d9d5509f4b881cdaa324678f0c2a4cf7f;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index f97211d6..6c9aa47e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,9 +1,6 @@ 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 { PoolEvents, PoolTypes } from './pools/pool' export type { IPool, @@ -13,7 +10,7 @@ export type { PoolType, TasksQueueOptions } from './pools/pool' -export { WorkerTypes, type WorkerNodeEventDetail } from './pools/worker' +export { WorkerTypes } from './pools/worker' export type { ErrorHandler, EventLoopUtilizationMeasurementStatistics, @@ -26,6 +23,8 @@ export type { StrategyData, TaskStatistics, WorkerInfo, + WorkerNodeEventDetail, + WorkerNodeOptions, WorkerType, WorkerUsage } from './pools/worker' @@ -45,15 +44,15 @@ export type { } 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 { 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, - KillHandler + KillHandler, + WorkerOptions } from './worker/worker-options' export type { TaskAsyncFunction, @@ -66,8 +65,8 @@ export type { MessageValue, PromiseResponseWrapper, Task, - WorkerError, TaskPerformance, + WorkerError, WorkerStatistics, Writable } from './utility-types'