Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

dematerialize.js 572B

1234567891011121314151617181920
  1. import { Subscriber } from '../Subscriber';
  2. export function dematerialize() {
  3. return function dematerializeOperatorFunction(source) {
  4. return source.lift(new DeMaterializeOperator());
  5. };
  6. }
  7. class DeMaterializeOperator {
  8. call(subscriber, source) {
  9. return source.subscribe(new DeMaterializeSubscriber(subscriber));
  10. }
  11. }
  12. class DeMaterializeSubscriber extends Subscriber {
  13. constructor(destination) {
  14. super(destination);
  15. }
  16. _next(value) {
  17. value.observe(this.destination);
  18. }
  19. }
  20. //# sourceMappingURL=dematerialize.js.map