FromObservable.d.ts 668 B

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