SavedStateFlow
A StateFlow
that can persist the state across process death. Value changes are reactively observed by SavedStateHandle.getLiveData()
and when set will delegate to SaveStateHandle.set()
.
SavedStateFlowHandle
A wrapper around SavedStateHandle
with two new functions that can provide a Flow
or SavedStateFlow
.