def create(): def mapper(x): if x < 3: return zs else: raise Exception(ex) return xs.pipe(ops.timeout_with_mapper(ys, mapper))
def create(): return xs.pipe(ops.timeout_with_mapper(ys, lambda _: zs))