Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad Assign NameStore ListLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults body Assign NameStore SubscriptLoad NameLoad Index Num FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign SubscriptStore NameLoad Index Num CompareEq SubscriptLoad NameLoad Index Num NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad decorator_list Expr Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore UnaryOpNot SubscriptLoad NameLoad Index Num If NameLoad body AugAssignAdd SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore UnaryOpNot SubscriptLoad NameLoad Index Num If NameLoad body AugAssignAdd SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore UnaryOpNot SubscriptLoad NameLoad Index Num If NameLoad body AugAssignAdd SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Return Call NameLoad NameLoad decorator_list Call NameLoad NameLoad
N/A datetime datetime rx.observable Observable rx.anonymousobservable AnonymousObservable rx.disposables CompositeDisposable SingleAssignmentDisposable SerialDisposable rx.concurrency timeout_scheduler rx.internal extensionmethod timeout N/A N/A self duetime other scheduler N/A None None N/A N/A Returns the source observable sequence or the other observable
    sequence if duetime elapses.

    1 - res = source.timeout(new Date()); # As a date
    2 - res = source.timeout(5000); # 5 seconds
    # As a date and timeout observable
    3 - res = source.timeout(datetime(), rx.Observable.return_value(42))
    # 5 seconds and timeout observable
    4 - res = source.timeout(5000, rx.Observable.return_value(42))
    # As a date and timeout observable
    5 - res = source.timeout(datetime(), rx.Observable.return_value(42),
                             rx.Scheduler.timeout)
    # 5 seconds and timeout observable
    6 - res = source.timeout(5000, rx.Observable.return_value(42),
                             rx.Scheduler.timeout)

    Keyword arguments:
    :param datetime|int duetime: Absolute (specified as a datetime object) or
        relative time (specified as an integer denoting milliseconds) when a
        timeout occurs.
    :param Observable other: Sequence to return in case of a timeout. If not
        specified, a timeout error throwing sequence will be used.
    :param Scheduler scheduler: Scheduler to run the timeout timers on. If not
        specified, the timeout scheduler is used.

    :returns: The source sequence switching to the other sequence in case of
        a timeout.
    :rtype: Observable
     N/A scheduler_method None N/A source self N/A other N/A other N/A N/A Observable throw_exception N/A Exception Timeout N/A other N/A N/A Observable from_future other N/A scheduler N/A scheduler timeout_scheduler N/A N/A isinstance duetime datetime N/A N/A scheduler_method N/A scheduler schedule_absolute N/A N/A scheduler_method N/A scheduler schedule_relative subscribe N/A N/A observer N/A N/A N/A switched N/A False N/A _id N/A 0 N/A original N/A SingleAssignmentDisposable N/A subscription N/A SerialDisposable N/A timer N/A SerialDisposable N/A N/A subscription disposable original create_timer N/A N/A N/A N/A N/A my_id N/A _id N/A 0 action N/A N/A scheduler state N/A None N/A N/A N/A switched N/A 0 N/A N/A _id N/A 0 my_id N/A timer_wins N/A switched N/A 0 N/A timer_wins N/A N/A N/A subscription disposable N/A N/A other subscribe observer N/A N/A N/A timer disposable N/A scheduler_method duetime action N/A N/A N/A create_timer on_next N/A N/A x N/A N/A N/A on_next_wins N/A N/A switched N/A 0 N/A on_next_wins N/A N/A N/A _id N/A 0 1 N/A N/A N/A observer on_next x N/A N/A create_timer N/A on_error N/A N/A e N/A N/A N/A on_error_wins N/A N/A switched N/A 0 N/A on_error_wins N/A N/A N/A _id N/A 0 1 N/A N/A N/A observer on_error e N/A on_completed N/A N/A N/A N/A N/A on_completed_wins N/A N/A switched N/A 0 N/A on_completed_wins N/A N/A N/A _id N/A 0 1 N/A N/A N/A observer on_completed N/A N/A N/A original disposable N/A N/A source subscribe on_next on_error on_completed N/A N/A CompositeDisposable subscription timer N/A N/A N/A AnonymousObservable subscribe N/A N/A extensionmethod Observable