Repeat(TResult) Method (TResult)

Observable.Repeat<TResult> Method (TResult)

Generates an observable sequence that repeats the given element infinitely.

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

public static IObservable<TResult> Repeat<TResult>(
	TResult value
)

Type Parameters

TResult

The type of result.

Parameters

value
Type: TResult
The element to repeat.

Return Value

Type: System.IObservable<TResult>
An observable sequence that repeats the given element infinitely.
Show:
© 2016 Microsoft