addListener
|
open fun addListener(event: String, listener: Function<*>): EventEmitter |
emit
|
open fun emit(event: String, vararg args: Any): Boolean |
eventNames
|
open fun eventNames(): Array<String> |
getMaxListeners
|
open fun getMaxListeners(): Number |
listenerCount
|
open fun listenerCount(type: String): Number |
listeners
|
open fun listeners(event: String): Array<Function<*>> |
prependListener
|
open fun prependListener(event: String, listener: Function<*>): EventEmitter |
prependOnceListener
|
open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter |
removeAllListeners
|
open fun removeAllListeners(event: String? = definedExternally): EventEmitter |
setMaxListeners
|
open fun setMaxListeners(n: Number): EventEmitter |