of

inline fun <T : Any> of(    priority: Priority,     ignoreCancelled: Boolean = false,     skipRetained: Boolean = false,     noinline callback: (event: T) -> Unit): EventCallback<T>
inline fun <T : Any> of(ignoreCancelled: Boolean, skipRetained: Boolean = false, noinline callback: suspend (event: T) -> Unit): EventCallback<T>
inline fun <T : Any> of(noinline callback: suspend T.() -> Unit): EventCallback<T>