Front end of the Slack clone application.

subscribeOn.js 615B

12345678910111213141516
  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