Referenceskip
Reference · 16
skip
skip
Ignores the first N values.
Signature
skip(count: number): MonoTypeOperatorFunction
Marble diagram
in: --1--2--3--4--|
skip(2): -------3--4--|
What it does
Emits nothing until count next values have passed. After that, it lets everything through as-is.
When to use
Skip the initial synchronous value (a BehaviorSubject already hands it to the subscriber), wait for the second click, ignore a system warm-up.
See also
skipUntil, skipWhile, take
script.ts
CONSOLE · Console output
Hit Run to see the result...