event

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