event

fun event(eventName: String, returnEventFields: Set<String> = emptySet(), callback: (event: JsonElement) -> Unit): T(source)
inline fun <U : Any> event(eventName: String, crossinline callback: (event: U) -> Unit): T(source)