def create(): return reactivex.generate_with_relative_time( 0, lambda x: x <= 3, lambda x: x + 1, lambda x: x + 1)
def create(): return reactivex.generate_with_relative_time( 0, lambda x: True, lambda x: x + 1, lambda x: _raise(ex))