uniflow-core / io.uniflow.core.flow / onState

onState

suspend inline fun <reified T : UIState> StatePublisher.onState(code: (T) -> Unit): Unit