X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=4730ad6557a5a922beb5db4aabb9eb0379832e06;hb=dc32abbbbd36504ce933a0403cc245899c25a828;hp=1895d34877410bdca90ca30b60acf13c48db7299;hpb=4f487526a63c873d168386250b40ad8103c5a4d8;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 1895d348..4730ad65 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,18 +17,28 @@ export type { } from './pools/pool' export type { ErrorHandler, + EventLoopUtilizationMeasurementStatistics, ExitHandler, IWorker, + MeasurementStatistics, MessageHandler, OnlineHandler, Task, - TasksUsage, - WorkerNode + TaskStatistics, + WorkerNode, + WorkerUsage } from './pools/worker' -export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types' +export { + Measurements, + WorkerChoiceStrategies +} from './pools/selection-strategies/selection-strategies-types' export type { IWorkerChoiceStrategy, - TaskStatistics, + Measurement, + MeasurementOptions, + MeasurementStatisticsRequirements, + StrategyPolicy, + TaskStatisticsRequirements, WorkerChoiceStrategy, WorkerChoiceStrategyOptions } from './pools/selection-strategies/selection-strategies-types' @@ -54,6 +64,7 @@ export type { Draft, MessageValue, PromiseResponseWrapper, + TaskError, TaskPerformance, WorkerStatistics } from './utility-types'