How to await finished IObserver call including observing subscriber calls?
问题 How to wait for subscribers method completion when calling onNext and the subscriber is on another thread/task? I miss something like await onNext() e.g. for Subject... For example when running on the same Thread: [Test, Explicit] public void TestSyncOnSameTask() { Console.WriteLine("Starting on threadId:{0}", Thread.CurrentThread.ManagedThreadId); using (var subject = new Subject<int>()) using (subject .Subscribe( o => Console.WriteLine("Received {1} on threadId:{0}", Thread.CurrentThread