Class SkipOperator
Implements the Skip operator. Mirrors rxjs's skip.
public static class SkipOperator
- Inheritance
-
System.ObjectSkipOperator
Methods
Skip<T>(Observable<T>, int)
Skips the first count values from source, then emits every value
after that unchanged.
public static Observable<T> Skip<T>(this Observable<T> source, int count)
Parameters
sourceObservable<T>The source observable to skip values from.
countintThe number of leading values to skip. If zero or negative, no values are skipped.
Returns
- Observable<T>
An observable of the values from
sourceafter the firstcountare skipped.
Type Parameters
TThe element type of the source observable.
Remarks
If source emits fewer than count values before completing, the
result simply completes without ever emitting anything.