ConnectableObservable.d.ts 1.1 KB

12345678910111213141516171819202122
  1. import { Subject } from '../Subject';
  2. import { Observable } from '../Observable';
  3. import { Subscriber } from '../Subscriber';
  4. import { Subscription } from '../Subscription';
  5. /**
  6. * @class ConnectableObservable<T>
  7. */
  8. export declare class ConnectableObservable<T> extends Observable<T> {
  9. /** @deprecated internal use only */ source: Observable<T>;
  10. /** @deprecated internal use only */ subjectFactory: () => Subject<T>;
  11. /** @deprecated internal use only */ _subject: Subject<T>;
  12. /** @deprecated internal use only */ _refCount: number;
  13. /** @deprecated internal use only */ _connection: Subscription;
  14. _isComplete: boolean;
  15. constructor(/** @deprecated internal use only */ source: Observable<T>,
  16. /** @deprecated internal use only */ subjectFactory: () => Subject<T>);
  17. /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): Subscription;
  18. /** @deprecated internal use only */ getSubject(): Subject<T>;
  19. connect(): Subscription;
  20. refCount(): Observable<T>;
  21. }
  22. export declare const connectableObservableDescriptor: PropertyDescriptorMap;