X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=b0c419ca89e4f6d1838ffe93368d26e3d292d77c;hb=4bf99d517e8e39c7aa777124140fad41910495b1;hp=2bae50e71083ebde5075ddff357f78db1970a896;hpb=a35560bac09e829e1e19f88f8fd1d71a64c9d50b;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 2bae50e7..b0c419ca 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,16 +1,15 @@ -export type { - ErrorHandler, - ExitHandler, - IWorker, - OnlineHandler, - PoolOptions -} from './pools/abstract-pool' export { DynamicClusterPool } from './pools/cluster/dynamic' export { FixedClusterPool } from './pools/cluster/fixed' export type { ClusterPoolOptions } from './pools/cluster/fixed' -export type { IPool } from './pools/pool' -export { WorkerChoiceStrategies } from './pools/selection-strategies' -export type { WorkerChoiceStrategy } from './pools/selection-strategies' +export type { IPool, PoolOptions } from './pools/pool' +export type { + ErrorHandler, + ExitHandler, + IPoolWorker, + OnlineHandler +} from './pools/pool-worker' +export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types' +export type { WorkerChoiceStrategy } from './pools/selection-strategies/selection-strategies-types' export { DynamicThreadPool } from './pools/thread/dynamic' export { FixedThreadPool } from './pools/thread/fixed' export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'