Latest

inline fun <reified T : UiEvent> Latest(): DispatchStrategy<T>

A new event cancels every active event that is a T and then runs. For input that makes the previous work pointless, such as a search box or a slider.


inline fun <reified T : UiEvent> Latest(noinline key: (T) -> Any?): DispatchStrategy<T>

A new event cancels the active events that are a T and have the same key, such as the id of an item, and then runs.