Front end of the Slack clone application.

skipUntil.d.ts 702B

123456789101112131415
  1. import { Observable } from '../Observable';
  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 declare function skipUntil<T>(this: Observable<T>, notifier: Observable<any>): Observable<T>;