SwitchMap switches to the most recent observable.Whenever SwitchMap subscribes to a new inner observable, it unsubscribes from the previous one.
if you want to convert observable then go for swtichMap() for example you got a Observable<HttpResponse> to Observable<Customers> then use switchMap.
Observable<HttpResponse> to Observable<Customers>