def create(): def condition(): raise Exception(ex) return reactivex.if_then(condition, xs, ys)
def create(): return reactivex.if_then(lambda: True, xs, ys)
def create(): def condition(): return b[0] return reactivex.if_then(condition, xs)