Do you need to assign the IDisposable returned by the variable to a IObservable.Subscribevariable to protect the subscription from garbage collection or is an active subscription sufficient?
My use case: I create a one-time observable from an existing observable ( myObservablein the example):
myObservable.Take(1).Subscribe(fun v -> printfn "One-shot: %A" v) |> ignore
source
share