Observable.Timer Method (TimeSpan, IScheduler)

Returns an observable sequence that produces a value after the due time has elapsed.

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

public static IObservable<long> Timer(
	TimeSpan dueTime,
	IScheduler scheduler
)

Parameters

dueTime
Type: System.TimeSpan
The relative time at which to produce the value.
scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler to run the timer on.

Return Value

Type: System.IObservable<Int64>
An observable sequence that produces a value after the due time has elapsed.
Show: