X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=e1fb311e45b4eb8ed0e5d33cda3b3806d7526f5b;hb=b4c2a50df77a5f3110d228436ce9f3008cbd8297;hp=12067c077e06599339a0b01e0ebc51df42178713;hpb=e907c7098316b8b10928c2a716626c710457ae27;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index 12067c07..e1fb311e 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -47,13 +47,19 @@ export interface TaskPerformance { } /** - * Performance statistics computation. + * Worker task performance statistics computation settings. * * @internal */ export interface WorkerStatistics { - runTime: boolean - elu: boolean + /** + * Whether the worker computes the task runtime or not. + */ + readonly runTime: boolean + /** + * Whether the worker computes the task event loop utilization (ELU) or not. + */ + readonly elu: boolean } /**