Observable.Start<TSource> Method (Func<TSource>)
Invokes the function asynchronously.
Namespace: System.Reactive.Linq
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Shared Function Start(Of TSource) ( _
function As Func(Of TSource) _
) As IObservable(Of TSource)
'Usage
Dim function As Func(Of TSource)
Dim returnValue As IObservable(Of TSource)
returnValue = Observable.Start(function)
public static IObservable<TSource> Start<TSource>(
Func<TSource> function
)
public:
generic<typename TSource>
static IObservable<TSource>^ Start(
Func<TSource>^ function
)
static member Start :
function:Func<'TSource> -> IObservable<'TSource>
JScript does not support generic types and methods.
Type Parameters
- TSource
The type of source.
Parameters
- function
Type: System.Func<TSource>
The function used to synchronization.
Return Value
Type: System.IObservable<TSource>
The function asynchronously.