filestream-ts / node_modules /async-mutex /lib /withTimeout.d.ts
vickydmt's picture
Upload folder using huggingface_hub
1fa8efd verified
raw
history blame contribute delete
344 Bytes
import MutexInterface from './MutexInterface';
import SemaphoreInterface from './SemaphoreInterface';
export declare function withTimeout(mutex: MutexInterface, timeout: number, timeoutError?: Error): MutexInterface;
export declare function withTimeout(semaphore: SemaphoreInterface, timeout: number, timeoutError?: Error): SemaphoreInterface;