Front end of the Slack clone application.

subscribeOn.js 733B

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