I have some kind of Result which I get from a server. I'm trying to build an observable sequence which will: 1. check that the result is successful (result.success()) 2. if it is, then get a string resource from the result (result.getResource()) and return an observable with that string 3. if it's not, then execute some failure handling code and return an empty observableI have some kind of Result which I get from a s