X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=4730ad6557a5a922beb5db4aabb9eb0379832e06;hb=4a1fe3d43ed62499dfc8352e6cc93b13931ecdaf;hp=df1ca536a063a8a1412fb3f1dfe78ad7bf2cfc0e;hpb=1dfe8965df029a366c040227fb61ae47b3d59a3a;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index df1ca536..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, - WorkerUsage, - 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'