如何将协程转换为valveLatest()运算符?
RxTextView
.textChanges(inputEditText)
.map { it.toString() }
.throttleLatest(500, TimeUnit.MILLISECONDS, true)
.distinctUntilChanged()
.subscribe({ text ->
// More logic here
}, { error ->
// Error handling
})