Buckets:
| import MutexInterface from './MutexInterface'; | |
| declare class Mutex implements MutexInterface { | |
| constructor(cancelError?: Error); | |
| acquire(priority?: number): Promise<MutexInterface.Releaser>; | |
| runExclusive<T>(callback: MutexInterface.Worker<T>, priority?: number): Promise<T>; | |
| isLocked(): boolean; | |
| waitForUnlock(priority?: number): Promise<void>; | |
| release(): void; | |
| cancel(): void; | |
| private _semaphore; | |
| } | |
| export default Mutex; | |
Xet Storage Details
- Size:
- 454 Bytes
- Xet hash:
- 6d955f516d31ad6c4700d92dac38f70a27450f08d13fe2c4221b1bed0c9c97e0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.