import { Condition } from "https://deno.land/x/async@v1.1.5/mod.ts";
Wake up at most n tasks (1 by default) waiting on this condition. The method is no-op if no tasks are waiting.
The lock must be acquired before this method is called and released shortly after. If called with an unlocked lock an Error is thrown.