IteratorObservable.d.ts 663 B

1234567891011121314151617
  1. import { IScheduler } from '../Scheduler';
  2. import { Observable } from '../Observable';
  3. import { TeardownLogic } from '../Subscription';
  4. import { Subscriber } from '../Subscriber';
  5. /**
  6. * We need this JSDoc comment for affecting ESDoc.
  7. * @extends {Ignored}
  8. * @hide true
  9. */
  10. export declare class IteratorObservable<T> extends Observable<T> {
  11. private scheduler;
  12. private iterator;
  13. static create<T>(iterator: any, scheduler?: IScheduler): IteratorObservable<T>;
  14. static dispatch(state: any): void;
  15. constructor(iterator: any, scheduler?: IScheduler);
  16. /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): TeardownLogic;
  17. }