Observable.Timestamp<TSource> Method (IObservable<TSource>, IScheduler)
Records the timestamp for each value in an observable sequence with the specified source and scheduler.
Namespace: System.Reactive.Linq
Assembly: System.Reactive (in System.Reactive.dll)
public static IObservable<Timestamped<TSource>> Timestamp<TSource>( this IObservable<TSource> source, IScheduler scheduler )
Type Parameters
- TSource
The type of source.
Parameters
- source
- Type: System.IObservable<TSource>
The source sequence to timestamp values for.
- scheduler
- Type: System.Reactive.Concurrency.IScheduler
The scheduler used to compute timestamps.
Return Value
Type: System.IObservable<Timestamped<TSource>>An observable sequence with timestamp information on values.