I have a method that returns a hot observable with...
# rx
m
I have a method that returns a hot observable without any guarantees of when it will complete. If I want to call that method multiple times, is clearing subscriptions and subscribing again the only way to handle it?
Copy code
fun doSomething() {
    subscriptions.clear()
    subscriptions.add(bar.returnHotObservableMethod()
                                         .subscribe( { //doSomething}, { //onError }))
}