Last active
March 22, 2020 20:10
-
-
Save NyaGarcia/0e4df5a5aab27fb9e5f9e0ee1577fc1b to your computer and use it in GitHub Desktop.
Nested observable subscribes
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
getTrainer().subscribe(trainer => | |
getStarterPokemon(trainer).subscribe(pokemon => | |
// Do stuff with pokemon | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment