onSuccess

inline fun <E : Event> E.onSuccess(action: (event: E) -> Unit): Boolean