X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=4730ad6557a5a922beb5db4aabb9eb0379832e06;hb=7ebef000df647c4fbb722120dc48f42575382af0;hp=34989c1f1cec424af6ef55926358d4a898dfa965;hpb=70e79e39c8c80f90dc8875cc74f2d5c4c077cf15;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 34989c1f..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' @@ -53,7 +63,10 @@ export type { export type { Draft, MessageValue, - PromiseResponseWrapper + PromiseResponseWrapper, + TaskError, + TaskPerformance, + WorkerStatistics } from './utility-types' export type { CircularArray } from './circular-array' export type { Queue } from './queue'