Bones/node_modules/rxjs/operator/concatAll.js

18 lines
798 B
JavaScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
"use strict";
var mergeAll_1 = require('./mergeAll');
/**
* Joins every Observable emitted by the source (an Observable of Observables), in a serial
* fashion. Subscribing to each one only when the previous one has completed, and merging
* all of their values into the returned observable.
*
* __Warning:__ If the source Observable emits Observables quickly and endlessly, and the
* Observables it emits generally complete slower than the source emits, you can run into
* memory issues as the incoming observables collect in an unbounded buffer.
*
* @returns {Observable} an observable of values merged from the incoming observables.
*/
function concatAll() {
return this.lift(new mergeAll_1.MergeAllOperator(1));
}
exports.concatAll = concatAll;
//# sourceMappingURL=concatAll.js.map