Sequential

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

The events that are a T run one after the other, in the order they were sent. For changes that must be applied in order, such as a counter tapped several times. A run that fails does not stop the ones after it.


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

The events that are a T and have the same key, such as the id of an item, run one after the other. Events with different keys do not wait for each other.