The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.


Qbservable.Defer<TValue> Method

Returns a queryable observable sequence that invokes the observable factory whenever a new observer subscribes.

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


<ExtensionAttribute> _
Public Shared Function Defer(Of TValue) ( _
    provider As IQbservableProvider, _
    observableFactory As Expression(Of Func(Of IObservable(Of TValue))) _
) As IQbservable(Of TValue)
Dim provider As IQbservableProvider
Dim observableFactory As Expression(Of Func(Of IObservable(Of TValue)))
Dim returnValue As IQbservable(Of TValue)

returnValue = provider.Defer(observableFactory)
public static IQbservable<TValue> Defer<TValue>(
    this IQbservableProvider provider,
    Expression<Func<IObservable<TValue>>> observableFactory
generic<typename TValue>
static IQbservable<TValue>^ Defer(
    IQbservableProvider^ provider, 
    Expression<Func<IObservable<TValue>^>^>^ observableFactory
static member Defer : 
        provider:IQbservableProvider * 
        observableFactory:Expression<Func<IObservable<'TValue>>> -> IQbservable<'TValue> 
JScript does not support generic types and methods.

Type Parameters

  • TValue
    The type of value.


Return Value

Type: System.Reactive.Linq.IQbservable<TValue>
The queryable observable sequence whose observers trigger an invocation of the given queryable observable factory function.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also


Qbservable Class

System.Reactive.Linq Namespace