import { Events } from "https://deno.land/x/lume@v1.19.0/core.ts";
Class to manage the event listeners and dispatch events
Type Parameters
E extends Event
Properties
listeners: Map<string, Set<Listener<E>>>
Methods
Assign a listener to an event
dispatchEvent(event: E)
Dispatch an event