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

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

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

static member Repeat : 
        value:'TResult * 
        repeatCount:int -> IObservable<'TResult> 

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.

Return Value

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