MrawListeners
Bun

method

crypto.CipherGCM.rawListeners

rawListeners<E extends keyof DuplexEventMap>(
eventName: E
): (...args: DuplexEventMap[E]) => void[];

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

eventName: string | symbol
): (...args: any[]) => void[];