You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
572 B

4 years ago
import { Subscriber } from '../Subscriber';
export function dematerialize() {
return function dematerializeOperatorFunction(source) {
return source.lift(new DeMaterializeOperator());
};
}
class DeMaterializeOperator {
call(subscriber, source) {
return source.subscribe(new DeMaterializeSubscriber(subscriber));
}
}
class DeMaterializeSubscriber extends Subscriber {
constructor(destination) {
super(destination);
}
_next(value) {
value.observe(this.destination);
}
}
//# sourceMappingURL=dematerialize.js.map