Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

expand.d.ts 1.5KB

12345678910111213141516171819202122232425262728293031323334
  1. import { Operator } from '../Operator';
  2. import { Subscriber } from '../Subscriber';
  3. import { MonoTypeOperatorFunction, OperatorFunction, ObservableInput, SchedulerLike } from '../types';
  4. import { SimpleOuterSubscriber } from '../innerSubscribe';
  5. export declare function expand<T, R>(project: (value: T, index: number) => ObservableInput<R>, concurrent?: number, scheduler?: SchedulerLike): OperatorFunction<T, R>;
  6. export declare function expand<T>(project: (value: T, index: number) => ObservableInput<T>, concurrent?: number, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;
  7. export declare class ExpandOperator<T, R> implements Operator<T, R> {
  8. private project;
  9. private concurrent;
  10. private scheduler?;
  11. constructor(project: (value: T, index: number) => ObservableInput<R>, concurrent: number, scheduler?: SchedulerLike);
  12. call(subscriber: Subscriber<R>, source: any): any;
  13. }
  14. /**
  15. * We need this JSDoc comment for affecting ESDoc.
  16. * @ignore
  17. * @extends {Ignored}
  18. */
  19. export declare class ExpandSubscriber<T, R> extends SimpleOuterSubscriber<T, R> {
  20. private project;
  21. private concurrent;
  22. private scheduler?;
  23. private index;
  24. private active;
  25. private hasCompleted;
  26. private buffer?;
  27. constructor(destination: Subscriber<R>, project: (value: T, index: number) => ObservableInput<R>, concurrent: number, scheduler?: SchedulerLike);
  28. private static dispatch;
  29. protected _next(value: any): void;
  30. private subscribeToProjection;
  31. protected _complete(): void;
  32. notifyNext(innerValue: R): void;
  33. notifyComplete(): void;
  34. }