项目原始demo,不改动
25개 이상의 토픽을 선택하실 수 없습니다. 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.

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