Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method default.prototype.rawListeners
import { default } from "https://deno.land/std@0.66.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>