12345678910111213141516171819
  1. "use strict";
  2. var skipWhile_1 = require('../operators/skipWhile');
  3. /**
  4. * Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds
  5. * true, but emits all further source items as soon as the condition becomes false.
  6. *
  7. * <img src="./img/skipWhile.png" width="100%">
  8. *
  9. * @param {Function} predicate - A function to test each item emitted from the source Observable.
  10. * @return {Observable<T>} An Observable that begins emitting items emitted by the source Observable when the
  11. * specified predicate becomes false.
  12. * @method skipWhile
  13. * @owner Observable
  14. */
  15. function skipWhile(predicate) {
  16. return skipWhile_1.skipWhile(predicate)(this);
  17. }
  18. exports.skipWhile = skipWhile;
  19. //# sourceMappingURL=skipWhile.js.map