rx/operators/observable/timer.py
def timer(duetime, period=None) -> ObservableBase:
    """Returns an observable sequence that produces a value after duetime
    has elapsed and then after each period.

    1 - res = Observable.timer(datetime(...))
    2 - res = Observable.timer(datetime(...), 1000)

    5 - res = Observable.timer(5000)
    6 - res = Observable.timer(5000, 1000)

    Keyword arguments:
    duetime -- Absolute (specified as a datetime object) or relative time
        (specified as an integer denoting milliseconds) at which to produce
        the first value.</param>
    period -- [Optional] Period to produce subsequent values (specified as
        an integer denoting milliseconds), or the scheduler to run the
        timer on. If not specified, the resulting timer is not recurring.

    Returns an observable sequence that produces a value after due time has
    elapsed and then each period.
    """

    log.debug("Observable.timer(duetime=%s, period=%s)", duetime, period)

    if isinstance(duetime, datetime):
        if period is None:
            return observable_timer_date(duetime)
        else:
            return observable_timer_duetime_and_period(duetime, period)

    if period is None:
        return observable_timer_timespan(duetime)

    return observable_timer_timespan_and_period(duetime, period)
Returns an observable sequence that produces a value after duetime
    has elapsed and then after each period.

    1 - res = Observable.timer(datetime(...))
    2 - res = Observable.timer(datetime(...), 1000)

    5 - res = Observable.timer(5000)
    6 - res = Observable.timer(5000, 1000)

    Keyword arguments:
    duetime -- Absolute (specified as a datetime object) or relative time
        (specified as an integer denoting milliseconds) at which to produce
        the first value.</param>
    period -- [Optional] Period to produce subsequent values (specified as
        an integer denoting milliseconds), or the scheduler to run the
        timer on. If not specified, the resulting timer is not recurring.

    Returns an observable sequence that produces a value after due time has
    elapsed and then each period.
    
Returns an observable sequence that produces a value after duetime
has elapsed and then after each period.





Keyword arguments:
duetime -- Absolute (specified as a datetime object) or relative time
(specified as an integer denoting milliseconds) at which to produce
the first value.
period -- [Optional] Period to produce subsequent values (specified as
an integer denoting milliseconds), or the scheduler to run the
timer on. If not specified, the resulting timer is not recurring.

Returns an observable sequence that produces a value after due time has
elapsed and then each period.
Returns an observable sequence that produces a value after duetime has elapsed and then after each period . Keyword arguments : duetime -- Absolute ( specified as a datetime object ) or relative time ( specified as an integer denoting milliseconds ) at which to produce the first value . period -- [ Optional ] Period to produce subsequent values ( specified as an integer denoting milliseconds ) or the scheduler to run the timer on . If not specified the resulting timer is not recurring . Returns an observable sequence that produces a value after due time has elapsed and then each period .
def timer(duetime, period=None) -> ObservableBase:
    log.debug("Observable.timer(duetime=%s, period=%s)", duetime, period)
    if isinstance(duetime, datetime):
        if period is None:
            return observable_timer_date(duetime)
        else:
            return observable_timer_duetime_and_period(duetime, period)
    if period is None:
        return observable_timer_timespan(duetime)
    return observable_timer_timespan_and_period(duetime, period)
def timer ( duetime , period = None ) -> ObservableBase : log . debug ( "Observable.timer(duetime=%s, period=%s)" , duetime , period ) if isinstance ( duetime , datetime ) : if period is None : return observable_timer_date ( duetime ) else : return observable_timer_duetime_and_period ( duetime , period ) if period is None : return observable_timer_timespan ( duetime ) return observable_timer_timespan_and_period ( duetime , period )
Returns an observable sequence that produces a value after duetime
has elapsed and then after each period.
Returns an observable sequence that produces a value after duetime has elapsed and then after each period .
"""Returns an observable sequence that produces a value after duetime
    has elapsed and then after each period.

    1 - res = Observable.timer(datetime(...))
    2 - res = Observable.timer(datetime(...), 1000)

    5 - res = Observable.timer(5000)
    6 - res = Observable.timer(5000, 1000)

    Keyword arguments:
    duetime -- Absolute (specified as a datetime object) or relative time
        (specified as an integer denoting milliseconds) at which to produce
        the first value.</param>
    period -- [Optional] Period to produce subsequent values (specified as
        an integer denoting milliseconds), or the scheduler to run the
        timer on. If not specified, the resulting timer is not recurring.

    Returns an observable sequence that produces a value after due time has
    elapsed and then each period.
    """
duetime
period