SHARE
TWEET

Untitled

a guest Jul 21st, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. viewModel$ = combineLatest(source1$, source2$)
  2.   .pipe(
  3.     map(([source1, source2]) => ({source1, source2}))
  4.   )
  5.  
  6. status$ = combineLatest(red$, yellow$, green$)
  7.   .pipe(
  8.     map(([red, yellow, green]) => red || yellow || green)
  9.   )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top