项目原始demo,不改动
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
 
 
 
 

17 行
741 B

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