removeAllListeners

abstract fun removeAllListeners(channel: String = definedExternally)(source)

Removes all listeners from the specified channel. Removes all listeners from all channels if no channel is specified.