import * as async from "https://deno.land/x/async@v1.2.0/lock.ts"; ClassescLockImplements a mutex lock for Promise. Not thread-safe.