I'm totaly new in async Observable world. I hope somebody help me.
I have two Observable<boolean> and I want to combine them.
I tried to use:
var obs1 = Observable.of(true).delay(1000);
var obs2 = Observable.of(false).delay(100);
obs1.combineLatest(obs2, (obs1Val, obs2Val) => {
//bool result
});
and thats almost it... almost because I want to start obs2 when obs1 is finished, with combineLatest both starts in the same time.
obs1 and obs2 here are simple examples in my case thats angular http requests:
obs1 : Observable<boolean> = http.get(...).map(d => <boolean>d);
Thanks in advance for help