X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=4730ad6557a5a922beb5db4aabb9eb0379832e06;hb=1d6d93ce602a45fe649335f4933c698573715df1;hp=1895d34877410bdca90ca30b60acf13c48db7299;hpb=d715b7bc2973eed82edebb1f7d233d451ad3c97b;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'