Repeat(TResult) Method (TResult, Int32, IScheduler)

Observable.Repeat(TResult) Method (TResult, Int32, IScheduler)

Generates an observable sequence that repeats the given element of the specified number of times.

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

JScript does not support generic types and methods.

Type Parameters

TResult

The type of result.

Parameters

value
Type: TResult
The element to repeat.
repeatCount
Type: System.Int32
The number of times to repeat the element.
scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler to run the producer loop on.

Return Value

Type: System.IObservable(TResult)
An observable sequence that repeats the given element of the specified number of times.
Show:
© 2016 Microsoft