This is RxJS v 4. Find the latest version here
Returns the values from the source observable sequence only after the other observable sequence produces a value.
other
(Observable
|Promise
): The observable sequence or Promise that triggers propagation of elements of the source sequence.
(Observable
): An observable sequence containing the elements of the source sequence starting from the point the other sequence triggered propagation.
var source = Rx.Observable.timer(0, 1000)
.skipUntil(Rx.Observable.timer(5000));
var subscription = source.subscribe(
function (x) {
console.log('Next: ' + x);
},
function (err) {
console.log('Error: ' + err);
},
function () {
console.log('Completed');
});
// => Next: 6
// => Next: 7
// => Next: 8
// => Completed
File:
Dist:
NPM Packages:
NuGet Packages:
Unit Tests: