Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. const obs1 = interval(1000).pipe(take(5));
  2. const obs2 = interval(500).pipe(take(2));
  3. const obs3 = interval(2000).pipe(take(1));
  4. //emit three observables
  5. const source = of(obs1, obs2, obs3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement