doOnAfterNext

fun <T> Observable<T>.doOnAfterNext(consumer: (T) -> Unit): Observable<T>

Calls the consumer with the emitted element when the Observable signals onNext. The consumer is called after the observer is called.