fsprojects / FSharpx.Async

Asynchronous programming utilities for F#
http://fsprojects.github.io/FSharpx.Async/
Other
94 stars 31 forks source link

`InvalidOperationException` with hot observable calling `AwaitObservable` from within `Async` #29

Open exercitusvir opened 9 years ago

exercitusvir commented 9 years ago

I just got an InvalidOperationException with the message Async.FromContinuations was invoked multiple time" when using the AwaitObservable that takes only a single IObservable in FSharpx.Async 1.12.0

I found this commit which might be related, but I don't know if it is already in the current nuget package of FSharpx.Async 1.12.0.

I am calling AwaitObservable from within an Async returned by AwaitObservable that is still running. Might this be causing the problem? Are your tests covering that case?

exercitusvir commented 9 years ago

This is fixed by the commit that I referenced. So it just needs to be pulled. The author is already working on getting the tests work on the build server.