F# Reactive wait for Observable to complete
问题 I found a variety of SO questions on this but couldn't figure out an F# solution. I need to block wait for an event to fire at me to check the data it returns. I am using Rx to receive event 3 times: let disposable = Observable.take 3 ackNack |> Observable.subscribe ( fun (sender, data) -> Console.WriteLine("{0}", data.AckNack) Assert.True(data.TotalAckCount > 0u) ) I would like to either turn results into a list, so they can be checked later on by the test framework (xUnit), or wait for all