Observable.Timer Method (DateTimeOffset)
Returns an observable sequence that produces a value at due time.
Namespace: System.Reactive.Linq
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Shared Function Timer ( _
dueTime As DateTimeOffset _
) As IObservable(Of Long)
'Usage
Dim dueTime As DateTimeOffset
Dim returnValue As IObservable(Of Long)
returnValue = Observable.Timer(dueTime)
public static IObservable<long> Timer(
DateTimeOffset dueTime
)
public:
static IObservable<long long>^ Timer(
DateTimeOffset dueTime
)
static member Timer :
dueTime:DateTimeOffset -> IObservable<int64>
public static function Timer(
dueTime : DateTimeOffset
) : IObservable<long>
Parameters
- dueTime
Type: System.DateTimeOffset
The absolute time at which to produce the value.
Return Value
Type: System.IObservable<Int64>
An observable sequence that produces a value at due time.