Class Last
Represents an operator that returns the last element of an observable sequence.
If the sequence has no elements, Last
will terminate with an error. This is a subtle but important difference between the Last
operator and TakeLast(1)
, which will complete successfully when the source sequence has no elements.
public class Last : Combinator
- Inheritance
-
Last
- Inherited Members
Methods
- Process<TSource>(IObservable<TSource>)
Returns the last element of an observable sequence.