emitEvent

fun emitEvent(name: String, args: Array<out Any?>)

Emit a custom event to scripts listening via Jim.on(name, fn).