U vâ’izã@s^ddlmZmZddlZddlmZddlmZedƒZd eeeeedœdd„Z dgZ dS) é)ÚOptionalÚTypeVarN)Ú Observable)Ú operatorsÚ_T)ÚvalueÚ repeat_countÚreturncCs&|dkr d}t |¡}| t |¡¡S)aÛGenerates an observable sequence that repeats the given element the specified number of times. Examples: 1 - res = repeat_value(42) 2 - res = repeat_value(42, 4) Args: value: Element to repeat. repeat_count: [Optional] Number of times to repeat the element. If not specified, repeats indefinitely. Returns: An observable sequence that repeats the given element the specified number of times. éÿÿÿÿN)Ú reactivexZ return_valueÚpipeÚopsÚrepeat)rrÚxs©rúL/opt/alt/python38/lib/python3.8/site-packages/reactivex/observable/repeat.pyÚ repeat_value_ s r)N) Útypingrrr rrr rÚintrÚ__all__rrrrÚs