Share via


TestScheduler.Start<T> Method (Func<IObservable<T>>, Int64)

Starts the test scheduler.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

Syntax

'Declaration
Public Function Start(Of T) ( _
    create As Func(Of IObservable(Of T)), _
    disposed As Long _
) As ITestableObserver(Of T)
'Usage
Dim instance As TestScheduler
Dim create As Func(Of IObservable(Of T))
Dim disposed As Long
Dim returnValue As ITestableObserver(Of T)

returnValue = instance.Start(create, disposed)
public ITestableObserver<T> Start<T>(
    Func<IObservable<T>> create,
    long disposed
)
public:
generic<typename T>
ITestableObserver<T>^ Start(
    Func<IObservable<T>^>^ create, 
    long long disposed
)
member Start : 
        create:Func<IObservable<'T>> * 
        disposed:int64 -> ITestableObserver<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

  • disposed
    Type: System.Int64
    The virtual time at which to dispose the subscription.

Return Value

Type: Microsoft.Reactive.Testing.ITestableObserver<T>
The testable observer with recordings of notifications that occurred.

See Also

Reference

TestScheduler Class

Start Overload

Microsoft.Reactive.Testing Namespace