def create(): def mapper(x): return scheduler.create_cold_observable( on_next(x * 10, "Ignore"), on_next(x * 10 + 5, "Aargh!") ) return xs.pipe(_.throttle_with_mapper(mapper))
def create(): def mapper(x): return scheduler.create_cold_observable(on_completed(x * 10)) return xs.pipe(_.throttle_with_mapper(mapper))
def create(): def mapper(x): return ys[x] return xs.pipe(_.throttle_with_mapper(mapper))