next

fun <M, F> next(model: M, effects: Set<F> = emptySet()): Next<M, F>
fun <M, F> next(model: M, vararg effects: F): Next<M, F>

Create a Next that updates the model and dispatches the optional effects.