Synchronously apply fun.(state) → new state.
fun.(state)
@type t() :: %Caravela.Flow.Steps.SetState{fun: (map() -> map())}