Skip to content
Advertisement

Tag: system.reactive

Reactive Extension .NetCore Observing on MainThread

I’m trying to do a lot of network operation in parallel, and I want to set a timeout to each operation. Since Parallel.ForEach doesn’t have an easy timeout option, I’m using System.Reactive. this is my code: I’m using the Observable.Amb operator to run in parallel a 60 seconds timer, that works as a timeout. However when I run this method,

Advertisement