Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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), _
scheduler As IScheduler _
) As IObservable(Of TSource)
'Usage
Dim function As Func(Of TSource)
Dim scheduler As IScheduler
Dim returnValue As IObservable(Of TSource)
returnValue = Observable.Start(function, _
scheduler)
public static IObservable<TSource> Start<TSource>(
Func<TSource> function,
IScheduler scheduler
)
public:
generic<typename TSource>
static IObservable<TSource>^ Start(
Func<TSource>^ function,
IScheduler^ scheduler
)
static member Start :
function:Func<'TSource> *
scheduler:IScheduler -> 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.
- scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler used to synchronization.
Return Value
Type: System.IObservable<TSource>
The function asynchronously.