class HarmonyEventEmitter extends EventEmitter<T>import { HarmonyEventEmitter } from "https://deno.land/x/harmony@v2.8.0/src/utils/events.ts"; ConstructorsnewHarmonyEventEmitter()Type ParametersT extends Record<string, unknown[]>MethodswaitFor<K extends keyof T>(event: K,checkFunction?: (...args: T[K]) => boolean,timeout?: number,): Promise<T[K] | []>Wait for an Event to fire with given condition.