import { default } from "https://deno.land/x/events@v1.0.0/mod.ts";
Methods
private
onceWrap(eventName: string | symbol, listener: Function): WrappedFunctionaddListener(eventName: string | symbol, listener: Function)
emit(eventName: string | symbol, ...args: unknown[])
listenerCount(eventName: string | symbol)
listeners(eventName: string | symbol)
off(eventName: string | symbol, listener: Function)
on(): this
eventName: string | symbol,
listener: Function,
prepend?: boolean,
once(eventName: string | symbol, listener: Function): this
prependListener(eventName: string | symbol, listener: Function)
prependOnceListener(eventName: string | symbol, listener: Function)
rawListeners(eventName: string | symbol)
removeAllListeners(eventName: string | symbol)
removeListener(eventName: string | symbol, listener: Function)
setMaxListeners(n: number)