observe
fun <T : Any, K : Any> KeyedReplica<K, T>.observe(lifecycle: Lifecycle, key: StateFlow<K?>): ReplicaObserver<T>
Content copied to clipboard
Observes KeyedReplica in a scope of Lifecycle.
fun <T : Any> Replica<T>.observe(lifecycle: Lifecycle): ReplicaObserver<T>
Content copied to clipboard
Observes Replica in a a scope of Lifecycle.