histoire
Version:
A fast story book powered by Vite
9 lines • 438 B
TypeScript
import type { ConfigMode } from '@histoire/shared';
/**
* Number of story collection workers.
* @param mode Dev keeps half the cores for the dev server and browser; builds use all but one.
* @param cpuCount Available cores.
* @param maxThreads `collectMaxThreads` from the config.
*/
export declare function getCollectThreadCount(mode: ConfigMode, cpuCount: number, maxThreads?: number): number;
//# sourceMappingURL=threads.d.ts.map