This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

26
node_modules/piscina/dist/common.d.ts generated vendored Normal file
View File

@@ -0,0 +1,26 @@
export declare const READY = "_WORKER_READY";
/**
* True if the object implements the Transferable interface
*
* @export
* @param {unknown} value
* @return {*} {boolean}
*/
export declare function isTransferable(value: unknown): boolean;
/**
* True if object implements Transferable and has been returned
* by the Piscina.move() function
*
* TODO: narrow down the type of value
* @export
* @param {(unknown & PiscinaMovable)} value
* @return {*} {boolean}
*/
export declare function isMovable(value: any): boolean;
export declare function markMovable(value: {}): void;
export declare const commonState: {
isWorkerThread: boolean;
workerData: undefined;
};
export declare function maybeFileURLToPath(filename: string): string;
export declare function getAvailableParallelism(): number;