StateFlowRegistry

class StateFlowRegistry(scope: CoroutineScope, stopTimeout: Long = 5000)

Constructors

Link copied to clipboard
constructor(scope: CoroutineScope, stopTimeout: Long = 5000)

Functions

Link copied to clipboard
fun <T> getOrPut(id: String, category: String, initialValue: T, producer: () -> Flow<T>): StateFlow<T>