Is there a good operator for inspecting each eleme...
# rx
c
Is there a good operator for inspecting each element (e.g. to log), but pass it through without mutating it? Currently I'm just using map and passing it through after like this
Copy code
someObservableSource
    .map {
        doSomething(it)
        it
    }
I'm using this observable in several places that could consume the data differently, but I always want to run this same function on the data no matter how its called.