Chain and merge 3 RxJS Observables with result dependences without nesting in TypeScript and Angular 4
问题 I have 3 observables that i need to chain, result from first one is used in the other 2. They must run in order and each one must wait for the previous one to finish. Is it possible to chain then without nesting? public observable1(): Observable<Response> { let headers = new Headers(); headers.append("Content-Range", "bytes */*"); let requestOptions = new RequestOptions({headers: headers}); return this.http.put(url, "", requestOptions); } public observable2(data1url): Observable<Response> {