Testscheduler

TestScheduler.CreateObserver<T> Method

Creates a testable observer.

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

Syntax

'Declaration
Public Function CreateObserver(Of T) As ITestableObserver(Of T)
'Usage
Dim instance As TestScheduler
Dim returnValue As ITestableObserver(Of T)

returnValue = instance.CreateObserver()
public ITestableObserver<T> CreateObserver<T>()
public:
generic<typename T>
ITestableObserver<T>^ CreateObserver()
member CreateObserver : unit -> ITestableObserver<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T

Return Value

Type: Microsoft.Reactive.Testing.ITestableObserver<T>
New testable observer object.

See Also

Reference

TestScheduler Class

Microsoft.Reactive.Testing Namespace