Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/events.ts>EventEmitter#eventNames

The Full-stack Framework in Deno.
Go to Latest
method EventEmitter.prototype.eventNames
import { EventEmitter } from "https://deno.land/x/aleph@v0.2.12/events.ts";

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

Returns

[string | symbol]