Whos responsibility should it be? Lets say Foregro...
# rx
u
Whos responsibility should it be? Lets say ForegroundGpsProvider, and it would expose that switchMap as a foregroundCurrentPositionObservable. Good. Now however I want to run a sync, sync is not rx api, so we need to subscribe and do it there
a
It's difficult to say. I'd consider each alternative. Making the act of subscribing trigger the work is ideal, but if that's not possible for whatever reason try separate lifecycle callbacks.
u
Im not sure I follow. Im conteplating there should the subcribe be. in some imperative initialize() method or ctor init { }