import { Mutex } from "https://deno.land/x/grm@v0.3.1/deps.ts";
Methods
acquire(): Promise<MutexInterface.Releaser>
cancel(): void
isLocked(): boolean
deprecated
release(): voidrunExclusive<T>(callback: MutexInterface.Worker<T>): Promise<T>
waitForUnlock(): Promise<void>