X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=9bd8bbf9a7d99a755bf402e678011fed0e762314;hb=eb7bf7441d410ca5d9ff9bb08f191ef22399371c;hp=8b827876fbb2e1f4d864be2b378c6723b6bd883c;hpb=9adcefabee69d0c8a8f580c2512e35d2c54c8219;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 8b827876..9bd8bbf9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -37,17 +37,14 @@ export type { Measurement, MeasurementOptions, MeasurementStatisticsRequirements, + StrategyPolicy, TaskStatisticsRequirements, WorkerChoiceStrategy, WorkerChoiceStrategyOptions } 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, - type ThreadWorkerWithMessageChannel -} from './pools/thread/fixed' +export { FixedThreadPool, 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' @@ -60,7 +57,6 @@ export type { WorkerSyncFunction } from './worker/worker-functions' export type { - Draft, MessageValue, PromiseResponseWrapper, TaskError, @@ -69,3 +65,4 @@ export type { } from './utility-types' export type { CircularArray } from './circular-array' export type { Queue } from './queue' +export { availableParallelism } from './utils'