import { Condition } from "https://deno.land/x/async@v1.1.2/condition.ts";
Acuire the lock and execute callback to access shared state.
This is preferred way to use a Condition.
x/async/condition.ts>Condition#with
import { Condition } from "https://deno.land/x/async@v1.1.2/condition.ts";
Acuire the lock and execute callback to access shared state.
This is preferred way to use a Condition.