Front end of the Slack clone application.

123456789101112131415
  1. import { MonoTypeOperatorFunction } from '../interfaces';
  2. /**
  3. * Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds
  4. * true, but emits all further source items as soon as the condition becomes false.
  5. *
  6. * <img src="./img/skipWhile.png" width="100%">
  7. *
  8. * @param {Function} predicate - A function to test each item emitted from the source Observable.
  9. * @return {Observable<T>} An Observable that begins emitting items emitted by the source Observable when the
  10. * specified predicate becomes false.
  11. * @method skipWhile
  12. * @owner Observable
  13. */
  14. export declare function skipWhile<T>(predicate: (value: T, index: number) => boolean): MonoTypeOperatorFunction<T>;