Skip to main content
EventEmitter.off - events - Node documentation
method EventEmitter.off

Usage in Deno

import { type EventEmitter } from "node:events";
EventEmitter.off<K>(
eventName: Key<K, T>,
listener: Listener1<K, T>,
): this

Alias for emitter.removeListener().

Type Parameters

K

Parameters

eventName: Key<K, T>
listener: Listener1<K, T>

Return Type

this
Back to top