Every new change
This commit is contained in:
27
node_modules/rxjs/_esm5/internal/operators/dematerialize.js
generated
vendored
Normal file
27
node_modules/rxjs/_esm5/internal/operators/dematerialize.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function dematerialize() {
|
||||
return function dematerializeOperatorFunction(source) {
|
||||
return source.lift(new DeMaterializeOperator());
|
||||
};
|
||||
}
|
||||
var DeMaterializeOperator = /*@__PURE__*/ (function () {
|
||||
function DeMaterializeOperator() {
|
||||
}
|
||||
DeMaterializeOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DeMaterializeSubscriber(subscriber));
|
||||
};
|
||||
return DeMaterializeOperator;
|
||||
}());
|
||||
var DeMaterializeSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DeMaterializeSubscriber, _super);
|
||||
function DeMaterializeSubscriber(destination) {
|
||||
return _super.call(this, destination) || this;
|
||||
}
|
||||
DeMaterializeSubscriber.prototype._next = function (value) {
|
||||
value.observe(this.destination);
|
||||
};
|
||||
return DeMaterializeSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=dematerialize.js.map
|
Reference in New Issue
Block a user