vint
10/03/2016, 9:00 AMval result = Observable.just(user)
.map { it.authenticate() }
.map { it.validate() }
.flatMap { Observable.just(it.readData()).retry(3) }
.map { Result.of(it) }
.onErrorReturn { Result.of { throw it } }
I tried this but didn’t work, instead of retry everything 3 times, it just doesn’t retry at all