Class Skip
Represents an operator that bypasses the specified number of elements at the start of an observable sequence and returns the remaining elements.
The Skip operator modifies the source sequence to remove the specified number of elements from the start of the sequence. After the maximum number of elements is received, Skip will then emit the remaining elements in the sequence. If the source sequence terminates before the specified number of elements is received, Skip will terminate without emitting any values.
Examples
Use Skip to remove the specified number of elements from the start of the sequence.
Discard Startup Elements
Use Skip to ignore frames from the start of a camera capture sequence (e.g. unstable frames due to auto-exposure adaptation).
Note
This example requires the Bonsai.Vision and Bonsai.Vision.Design packages to be installed.
Related Operators
Use Slice to ignore n-th elements from a sequence.
public class Skip : Combinator
- Inheritance
-
Skip
- Inherited Members
Properties
- Count
Gets or sets the number of elements to skip.
Methods
- Process<TSource>(IObservable<TSource>)
Bypasses the specified number of elements at the start of an observable sequence and returns the remaining elements.