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

123456789101112131415161718
  1. import { Subject } from './Subject';
  2. import { Subscriber } from './Subscriber';
  3. import { Subscription } from './Subscription';
  4. /**
  5. * A variant of Subject that requires an initial value and emits its current
  6. * value whenever it is subscribed to.
  7. *
  8. * @class BehaviorSubject<T>
  9. */
  10. export declare class BehaviorSubject<T> extends Subject<T> {
  11. private _value;
  12. constructor(_value: T);
  13. readonly value: T;
  14. /** @deprecated This is an internal implementation detail, do not use. */
  15. _subscribe(subscriber: Subscriber<T>): Subscription;
  16. getValue(): T;
  17. next(value: T): void;
  18. }