Export (0) Print
Expand All

Observable.Return(TResult) Method (TResult)

Returns an observable sequence that contains a single element with a specified value.

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

static member Return : 
        value:'TResult -> IObservable<'TResult> 

Type Parameters

TResult

The type of result.

Parameters

value
Type: TResult
The single element in the resulting observable sequence.

Return Value

Type: System.IObservable(TResult)
Observable sequence containing the single specified element.
Show:
© 2014 Microsoft