i.e. events.switchMap { if(it is B) { s...
# rx
u
i.e. events.switchMap { if(it is B) { somethingIWant() } else { Observable.empty() } }