import { default } from "https://deno.land/x/willow@0.3.5/src/store/mutex.ts";
A mutex lock for coordination across async functions This is based off of https://github.com/ide/await-lock/blob/master/src/AwaitLock.ts
Methods
Acquires the mutex, waiting if necessary for it to become free if it is already locked. The returned promise is fulfilled once the lock is acquired.
After acquiring the lock, you must call release
when you are done with it.