import { Event } from "https://deno.land/x/async@v1.1.2/event.ts";
Wait until the event is set.
If the event is set, return true
immediately.
Otherwise block until another task calls set()
.
import { Event } from "https://deno.land/x/async@v1.1.2/event.ts";
Wait until the event is set.
If the event is set, return true
immediately.
Otherwise block until another task calls set()
.