Share via


TestScheduler.Start<T> Method (Func<IObservable<T>>, Int64, Int64, 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)), _
    created As Long, _
    subscribed As Long, _
    disposed As Long _
) As ITestableObserver(Of T)
'Usage
Dim instance As TestScheduler
Dim create As Func(Of IObservable(Of T))
Dim created As Long
Dim subscribed As Long
Dim disposed As Long
Dim returnValue As ITestableObserver(Of T)

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

Type Parameters

  • T

Parameters

  • created
    Type: System.Int64
    Virtual time at which to invoke the factory to create an observable sequence.
  • subscribed
    Type: System.Int64
    The virtual time at which to subscribe to the created observable sequence.
  • 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