StateProvider

interface StateProvider<out S : MVIState>

An entity that exposes states and allows StateConsumers to subscribe to them. Most often accessed through a Store as a Provider.

Inheritors

Properties

Link copied to clipboard

Obtain the current state in an unsafe manner.

Link copied to clipboard
abstract val states: StateFlow<S>

A flow of states to be rendered by the subscriber.