Last active
May 26, 2018 08:11
-
-
Save cartant/6f72b39d68b9ca06cb6fa0be6d558863 to your computer and use it in GitHub Desktop.
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
| import { combineLatest, Observable } from "rxjs"; | |
| import { takeUntil } from "rxjs/operators"; | |
| declare const a: Observable<number>; | |
| declare const b: Observable<number>; | |
| declare const notifier: Observable<any>; | |
| const c = a.pipe( | |
| takeUntil(notifier), | |
| o => combineLatest(o, b) | |
| ).subscribe(value => console.log(value)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment