uniflow-core / io.uniflow.core.flow / StatePublisher / setState

setState

open suspend fun setState(state: UIState): Unit
open suspend fun setState(state: () -> UIState): Unit