X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fpool.ts;h=207a8598e3bb9d401ca653eee8b232b4f8f52ee7;hb=afca2ad2e7eec42caac894b4369654a961e67313;hp=881ea62a04d0ffba4fe6d30de4bd30827c1719dd;hpb=d5024c00ac9148ad6b8a10b49c548562948554e2;p=poolifier.git diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 881ea62a..207a8598 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -64,13 +64,13 @@ export interface PoolInfo { readonly strategy: WorkerChoiceStrategy readonly minSize: number readonly maxSize: number - /** Pool utilization ratio. */ + /** Pool utilization. */ readonly utilization?: number - /** Pool total worker nodes */ + /** Pool total worker nodes. */ readonly workerNodes: number - /** Pool idle worker nodes */ + /** Pool idle worker nodes. */ readonly idleWorkerNodes: number - /** Pool busy worker nodes */ + /** Pool busy worker nodes. */ readonly busyWorkerNodes: number readonly executedTasks: number readonly executingTasks: number @@ -198,7 +198,7 @@ export interface IPool< */ readonly execute: (data?: Data, name?: string) => Promise /** - * Terminates every current worker in this pool. + * Terminates all workers in this pool. */ readonly destroy: () => Promise /**