scheduled.d.ts 566 B

12345678910111213
  1. import { ObservableInput, SchedulerLike, Observable } from 'rxjs';
  2. /**
  3. * Converts from a common {@link ObservableInput} type to an observable where subscription and emissions
  4. * are scheduled on the provided scheduler.
  5. *
  6. * @see from
  7. * @see of
  8. *
  9. * @param input The observable, array, promise, iterable, etc you would like to schedule
  10. * @param scheduler The scheduler to use to schedule the subscription and emissions from
  11. * the returned observable.
  12. */
  13. export declare function scheduled<T>(input: ObservableInput<T>, scheduler: SchedulerLike): Observable<T>;