RxJS Playground 5.0.0-beta.10
Playground for RxJS 5.0.0 with ES2015 (Babel)
HTML
<script src="https://npmcdn.com/@reactivex/[email protected]/dist/global/Rx.umd.js"></script>
Babel + JSX
Rx.Observable.timer(0, 1000)
.filter((x) => x % 2 == 0)
.switchMapTo()
.subscribe(Rx.Observable.timer(0, 200)
(x) => console.log(x),
(error) => console.error(error),
() => console.log("completed."));