Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
465 B
23 lines
465 B
2 years ago
|
import {FilePath} from '@parcel/types';
|
||
|
|
||
|
type BackendType = 'process' | 'threads';
|
||
|
|
||
|
export type FarmOptions = {
|
||
|
maxConcurrentWorkers: number,
|
||
|
maxConcurrentCallsPerWorker: number,
|
||
|
forcedKillTime: number,
|
||
|
useLocalWorker: boolean,
|
||
|
warmWorkers: boolean,
|
||
|
workerPath?: FilePath,
|
||
|
backend: BackendType,
|
||
|
shouldPatchConsole?: boolean,
|
||
|
};
|
||
|
|
||
|
declare class WorkerFarm {
|
||
|
constructor(options: FarmOptions);
|
||
|
|
||
|
end(): Promise<void>;
|
||
|
}
|
||
|
|
||
|
export default WorkerFarm;
|