emit

open fun emit(event: String, args: Array<Any>): Emitter

Executes each of listeners with the given args.

Return

a reference to this object.

Parameters

event

an event name.

args