What’s the best way to dispose of an Observable/Fl...
# rx
b
What’s the best way to dispose of an Observable/Flowable in onNext? Basically, I want to take a certain amount of items and then kill the subscription. Should I set the disposable as a variable and call it ala
disposable.dispose()
, or is there a cleaner way?