aishwaryabhishek3
this
'this' is not defined in this context
val observer = Observer<T> { data = it latch.countDown() this@getOrAwaitValue.removeObserver(this@Observer) }
ephemient
val observer = object : Observer<T> { override fun ???() { removeObserver(this) } }
A modern programming language that makes developers happier.