ArrayLikeObservable.d.ts 696 B

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