Example #1
0
"use strict";
const rxjs_1 = require("@reactivex/rxjs");
var timer = rxjs_1.Observable.interval(1000).take(4);
var sequence = rxjs_1.Observable.range(1, 10).publish();
var result = timer.concat(sequence);
result.subscribe(x => console.log(x));