Export (0) Print
Expand All

Observable.Timer Method (DateTimeOffset, TimeSpan)

Returns an observable sequence that produces a value at due time and then after each period.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

public static IObservable<long> Timer(
	DateTimeOffset dueTime,
	TimeSpan period
)

Parameters

dueTime
Type: System.DateTimeOffset
The absolute time at which to produce the first value.
period
Type: System.TimeSpan
The period to produce subsequent values.

Return Value

Type: System.IObservable<Int64>
An observable sequence that produces a value at due time and then after each period.
Show:
© 2014 Microsoft