aishwaryabhishek3
04/01/2024, 12:39 PMthis
inside SAM interface ? Pasting code as I don’t know why I am not getting option to attach Images . this@Observer gives error 'this' is not defined in this context
val observer = Observer<T> {
data = it
latch.countDown()
this@getOrAwaitValue.removeObserver(this@Observer)
}