Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Gets the given worker its tasks usage in the pool.
*
* @param worker - The worker.
+ * @throws {@link Error} if the worker is not found in the pool worker nodes.
* @returns The worker tasks usage.
*/
private getWorkerTasksUsage (worker: Worker): TasksUsage | undefined {
* Pool types.
*
* @enum
+ * @internal
*/
export enum PoolType {
/**
/**
* Pool worker tasks usage statistics requirements.
+ *
+ * @internal
*/
export interface RequiredStatistics {
/**
*
* @typeParam Data - Type of data sent to the worker. This can only be serializable data.
* @typeParam MainWorker - Type of main worker.
+ * @internal
*/
export interface MessageValue<
Data = unknown,