Front end of the Slack clone application.

ArrayObservable.d.ts 1.2KB

1234567891011121314151617181920212223242526
  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 ArrayObservable<T> extends Observable<T> {
  11. private array;
  12. private scheduler;
  13. static create<T>(array: T[], scheduler?: IScheduler): Observable<T>;
  14. static of<T>(item1: T, scheduler?: IScheduler): Observable<T>;
  15. static of<T>(item1: T, item2: T, scheduler?: IScheduler): Observable<T>;
  16. static of<T>(item1: T, item2: T, item3: T, scheduler?: IScheduler): Observable<T>;
  17. static of<T>(item1: T, item2: T, item3: T, item4: T, scheduler?: IScheduler): Observable<T>;
  18. static of<T>(item1: T, item2: T, item3: T, item4: T, item5: T, scheduler?: IScheduler): Observable<T>;
  19. static of<T>(item1: T, item2: T, item3: T, item4: T, item5: T, item6: T, scheduler?: IScheduler): Observable<T>;
  20. static of<T>(...array: Array<T | IScheduler>): Observable<T>;
  21. static dispatch(state: any): void;
  22. value: any;
  23. constructor(array: T[], scheduler?: IScheduler);
  24. /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): TeardownLogic;
  25. }