Skip to content

Instantly share code, notes, and snippets.

@NyaGarcia
Last active March 22, 2020 20:10
Show Gist options
  • Save NyaGarcia/0e4df5a5aab27fb9e5f9e0ee1577fc1b to your computer and use it in GitHub Desktop.
Save NyaGarcia/0e4df5a5aab27fb9e5f9e0ee1577fc1b to your computer and use it in GitHub Desktop.
Nested observable subscribes
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