[generated] sandpack files from: codesandbox-client
This commit is contained in:
12
sandpack-generated/static/browserfs11/node/generic/mutex.d.ts
vendored
Normal file
12
sandpack-generated/static/browserfs11/node/generic/mutex.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Non-recursive mutex
|
||||
* @hidden
|
||||
*/
|
||||
export default class Mutex {
|
||||
private _locked;
|
||||
private _waiters;
|
||||
lock(cb: Function): void;
|
||||
unlock(): void;
|
||||
tryLock(): boolean;
|
||||
isLocked(): boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user