Front end of the Slack clone application.

skipUntil.js 775B

12345678910111213141516171819
  1. "use strict";
  2. var skipUntil_1 = require('../operators/skipUntil');
  3. /**
  4. * Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item.
  5. *
  6. * <img src="./img/skipUntil.png" width="100%">
  7. *
  8. * @param {Observable} notifier - The second Observable that has to emit an item before the source Observable's elements begin to
  9. * be mirrored by the resulting Observable.
  10. * @return {Observable<T>} An Observable that skips items from the source Observable until the second Observable emits
  11. * an item, then emits the remaining items.
  12. * @method skipUntil
  13. * @owner Observable
  14. */
  15. function skipUntil(notifier) {
  16. return skipUntil_1.skipUntil(notifier)(this);
  17. }
  18. exports.skipUntil = skipUntil;
  19. //# sourceMappingURL=skipUntil.js.map