skip

Shorthand for returning an action result without any changes or effects triggered.

For example:

data object OnLoginButtonClick : MainScreenAction {
override fun MainScreenModel.proceed() =
if (username.isBlank() || password.isBlank()) {
skip
} else {
outcome(copy(loading = true), StartLogin(username, password))
}
}