doc/api/core/operators/materialize.md
Rx.Observable.prototype.materialize()Materializes the implicit notifications of an observable sequence as explicit notification values.
(Observable<Notification>): An observable sequence containing the materialized notification values from the source sequence.
var source = Rx.Observable.of(1,2,3).materialize();
var subscription = source.subscribe(
function (x) {
console.log('Next: %s', x);
},
function (err) {
console.log('Error: %s', err);
},
function () {
console.log('Completed');
});
// => Next OnNext(1)
// => Next OnNext(2)
// => Next OnNext(3)
// => Next OnCompleted()
// => Completed
File:
Dist:
NPM Packages:
NuGet Packages:
Unit Tests: