X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fthread%2Ffixed.ts;h=e7d3a727f1e2e7d0804815037c875db5e8963749;hb=aec509b85e7d73e9883c8885e27fc4e34fdaef1e;hp=55c35a57122433ea5c2a43d3e825f7887eb9aa3a;hpb=bb3f9b66fa2241864d31937eeced22caab83d17e;p=poolifier.git diff --git a/src/pools/thread/fixed.ts b/src/pools/thread/fixed.ts index 55c35a57..e7d3a727 100644 --- a/src/pools/thread/fixed.ts +++ b/src/pools/thread/fixed.ts @@ -67,7 +67,7 @@ export class FixedThreadPool< } /** @inheritDoc */ - public registerWorkerMessageListener( + protected registerWorkerMessageListener( messageChannel: ThreadWorkerWithMessageChannel, listener: (message: MessageValue) => void ): void { @@ -97,12 +97,12 @@ export class FixedThreadPool< } /** @inheritDoc */ - public get full (): boolean { + protected get full (): boolean { return this.workerNodes.length === this.numberOfWorkers } /** @inheritDoc */ - public get busy (): boolean { + protected get busy (): boolean { return this.internalBusy() } }