0

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

maxshuty
  • 9,708
  • 13
  • 64
  • 77
Bohdan Zhmud
  • 41
  • 1
  • 6

1 Answers1

1

This is an extension method defined here and you need nuget package reactiveui-testing to have it available.

Gluck
  • 2,933
  • 16
  • 28