I saw here that we can use
(new TestScheduler()).With(sched =>{
// Code run in this block will have both RxApp.MainThreadScheduler
// and RxApp.TaskpoolScheduler assigned to the new TestScheduler.
});
But where is With
method defined. I cant find any. Please help.
Microsoft.Reactive.Testing.TestScheduler
does not contain a definition for With
and no extension method With
accepting a first argument of type Microsoft.Reactive.Testing.TestScheduler
could be found