function async.waitEventimport { async } from "https://deno.land/x/yxz@0.17.0/index.ts"; const { waitEvent } = async; waitEvent(target: EventTarget,event: string,options?: { timeout?: number; },)Parameterstarget: EventTargetevent: stringoptionaloptions: { timeout?: number; }