import { EventEmitter } from "https://deno.land/x/mutevents@5.4.1/mod.ts";
Asynchronously emits the given data on the given event type
Returns
Promise<EventResult<T, K>>
Event result with modified (or not) data, and a cancelled object if cancelled