MCPcopy Create free account
hub / github.com/Vanilagy/webcodecs-polyfill / AsyncMutexLock

Interface AsyncMutexLock

src/misc.ts:358–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356};
357
358export interface AsyncMutexLock extends Disposable {
359 readonly pending: boolean;
360 readonly ready: Promise<void> | null;
361 release(): void;
362}
363
364export class AsyncMutex {
365 private locked = false;

Callers 1

[Symbol.dispose]Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected