Front end of the Slack clone application.

SubscribeOnObservable.d.ts 913B

123456789101112131415161718192021222324
  1. import { Action } from '../scheduler/Action';
  2. import { IScheduler } from '../Scheduler';
  3. import { Subscriber } from '../Subscriber';
  4. import { Subscription } from '../Subscription';
  5. import { Observable } from '../Observable';
  6. export interface DispatchArg<T> {
  7. source: Observable<T>;
  8. subscriber: Subscriber<T>;
  9. }
  10. /**
  11. * We need this JSDoc comment for affecting ESDoc.
  12. * @extends {Ignored}
  13. * @hide true
  14. */
  15. export declare class SubscribeOnObservable<T> extends Observable<T> {
  16. source: Observable<T>;
  17. private delayTime;
  18. private scheduler;
  19. static create<T>(source: Observable<T>, delay?: number, scheduler?: IScheduler): Observable<T>;
  20. static dispatch<T>(this: Action<T>, arg: DispatchArg<T>): Subscription;
  21. constructor(source: Observable<T>, delayTime?: number, scheduler?: IScheduler);
  22. /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): Subscription;
  23. }