listenerCount

abstract fun listenerCount(eventName: String): Int

Returns the number of listeners listening to the event named eventName.

Return

The number of listeners listening to the event named eventName.

Parameters

eventName

The name of the event.