项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

16 lines
615 B

  1. import { subscribeOn as higherOrder } from '../operators/subscribeOn';
  2. /**
  3. * Asynchronously subscribes Observers to this Observable on the specified IScheduler.
  4. *
  5. * <img src="./img/subscribeOn.png" width="100%">
  6. *
  7. * @param {Scheduler} scheduler - The IScheduler to perform subscription actions on.
  8. * @return {Observable<T>} The source Observable modified so that its subscriptions happen on the specified IScheduler.
  9. .
  10. * @method subscribeOn
  11. * @owner Observable
  12. */
  13. export function subscribeOn(scheduler, delay = 0) {
  14. return higherOrder(scheduler, delay)(this);
  15. }
  16. //# sourceMappingURL=subscribeOn.js.map