Skip to content

Instantly share code, notes, and snippets.

@ssougnez
Created March 9, 2021 18:08
import { Observable, range } from 'rxjs';
import { skipWhile } from 'rxjs/operators';
const observable$: Observable<number> = range(10);
observable$
.pipe(
skipWhile(x => x < 5)
)
.subscribe(x => console.log(x));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment