Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Records the timestamp for each value in a queryable observable sequence with the specified source and scheduler.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Timestamp(Of TSource) ( _
source As IQbservable(Of TSource), _
scheduler As IScheduler _
) As IQbservable(Of Timestamped(Of TSource))
'Usage
Dim source As IQbservable(Of TSource)
Dim scheduler As IScheduler
Dim returnValue As IQbservable(Of Timestamped(Of TSource))
returnValue = source.Timestamp(scheduler)
public static IQbservable<Timestamped<TSource>> Timestamp<TSource>(
this IQbservable<TSource> source,
IScheduler scheduler
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<Timestamped<TSource>>^ Timestamp(
IQbservable<TSource>^ source,
IScheduler^ scheduler
)
static member Timestamp :
source:IQbservable<'TSource> *
scheduler:IScheduler -> IQbservable<Timestamped<'TSource>>
JScript does not support generic types and methods.
Type Parameters
- TSource
The type of source.
Parameters
- source
Type: System.Reactive.Linq.IQbservable<TSource>
The source sequence to timestamp values for.
- scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler used to compute timestamps.
Return Value
Type: System.Reactive.Linq.IQbservable<Timestamped<TSource>>
A queryable observable sequence with timestamp information on values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .