import { type CommonEventEmitter } from "https://deno.land/x/pptr@1.2.0/src/EventEmitter.ts";
Methods
on(event: EventType, handler: Handler): CommonEventEmitter
off(event: EventType, handler: Handler): CommonEventEmitter
addListener(event: EventType, handler: Handler): CommonEventEmitter
removeListener(event: EventType, handler: Handler): CommonEventEmitter
emit(event: EventType, eventData?: any): boolean
once(event: EventType, handler: Handler): CommonEventEmitter
removeAllListeners(event?: EventType): CommonEventEmitter