X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fworker.ts;h=d9dd43865bf6d36cb7d4bb6ce808eccf3528a7c8;hb=c62d6d8877008cce9408998b824794b86bfe0a2d;hp=d6c236591341c2fb73086d62cdb111cecd2a012e;hpb=e2b31e32498626103ef3c737bdffb285087b13e6;p=poolifier.git diff --git a/src/pools/worker.ts b/src/pools/worker.ts index d6c23659..d9dd4386 100644 --- a/src/pools/worker.ts +++ b/src/pools/worker.ts @@ -249,7 +249,7 @@ export interface IWorkerNode { */ readonly hasBackPressure: () => boolean /** - * Resets usage statistics . + * Resets usage statistics. */ readonly resetUsage: () => void /** @@ -262,5 +262,5 @@ export interface IWorkerNode { * @param name - The task function name. * @returns The task function worker usage statistics if the task function worker usage statistics are initialized, `undefined` otherwise. */ - readonly getTaskWorkerUsage: (name: string) => WorkerUsage | undefined + readonly getTaskFunctionWorkerUsage: (name: string) => WorkerUsage | undefined }