Go to Latest
method EventEmitter.prototype.eventNames
import { EventEmitter } from "https://dotland.deno.dev/std@0.110.0/node/events.ts";

Returns an array listing the events for which the emitter has registered listeners.

Returns

[string | symbol]