selectState

inline fun <S : ModuleState> selectState(): StateFlow<S>(source)

Selects a module's state as a StateFlow.

For most use cases, prefer using composeState() which returns a Compose State that automatically triggers recomposition.

Return

StateFlow of the requested state type