I have a list of ids, and have a method which takes an id and return Observable<Boolean>
, it is doing an operation using the ID and return true if success.
let's say that I have user id (1), and I need to update his profile with this method Observable<Boolean> updateProfile(int id)
, that's ok and working fine.
what I need now is creating method for multiple id's, and if all profiles are updated return true. it may has this signature Observable<Boolean> updateAllProfiles(int[] ids)
How to achieve something like this?