Created
December 10, 2018 22:31
-
-
Save jnizet/aeb37e62a059c99f2bb43f19d0b82e4a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.firstService.getFirstResults(filterOption).pipe( | |
| mergeMap(firstResult => this.secondService.getSecondResults(firstResult)), | |
| mergeMap(secondResult => this.thirdService.getThirdResults(secondResult)) | |
| ).subscribe( | |
| thirdResult => this.processResult(thirdResult, filterOption), | |
| null, | |
| () => console.log("COMPLETE") | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment