removeListener

abstract fun removeListener(type: String, listener: (arg: Any?) -> Unit, options: ERROR CLASS: Symbol not found for EventListenerOptions = definedExternally)(source)

Node.js-specific extension to the EventTarget class that removes the listener for the given type. The only difference between removeListener() and removeEventListener() is that removeListener() will return a reference to the EventTarget.

Since

v14.5.0