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

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

Returns

[string | symbol]