Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
}`
)
);
+ console.info(chalk.green('Worker set/pool information:'), this.workerImplementation?.info);
this.started = true;
this.starting = false;
} else {
get info(): SetInfo {
return {
+ type: 'set',
+ worker: 'thread',
size: this.size,
elementsExecuting: [...this.workerSet].reduce(
(accumulator, workerSetElement) => accumulator + workerSetElement.numberOfWorkerElements,
}
export type SetInfo = {
+ type: string;
+ worker: string;
size: number;
elementsExecuting: number;
elementsPerWorker: number;