X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fworker.ts;h=37d6308507669dd1f0ebcc295b790a1857c16a3e;hb=5972baf82c740050a6da461a8deb8497fcaa8580;hp=456bf785c74eff79cf45441be1c096633ce1bc11;hpb=f3a91bac2d5c34013f6394ebbe3576569b0cfcc0;p=poolifier.git diff --git a/src/pools/worker.ts b/src/pools/worker.ts index 456bf785..37d63085 100644 --- a/src/pools/worker.ts +++ b/src/pools/worker.ts @@ -144,7 +144,7 @@ export interface WorkerInfo { /** * Task function names. */ - taskFunctions?: string[] + taskFunctionNames?: string[] } /** @@ -172,7 +172,9 @@ export interface WorkerUsage { } /** - * Worker strategy data. + * Worker choice strategy data. + * + * @internal */ export interface StrategyData { virtualTaskEndTimestamp?: number @@ -235,7 +237,7 @@ export interface IWorkerNode { */ readonly usage: WorkerUsage /** - * Worker strategy data. + * Worker choice strategy data. * This is used to store data that is specific to the worker choice strategy. */ strategyData?: StrategyData