Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- viewModel$ = combineLatest(source1$, source2$)
- .pipe(
- map(([source1, source2]) => ({source1, source2}))
- )
- status$ = combineLatest(red$, yellow$, green$)
- .pipe(
- map(([red, yellow, green]) => red || yellow || green)
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement