Skip to main content
Go to Latest
method default.prototype.rawListeners
import { default } from "https://deno.land/std@0.34.0/node/events.ts";

Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

Parameters

eventName: string | symbol

Returns

Array<Function | WrappedFunction>