Rx.Observable.prototype.timeoutwithselector([firstTimeout], timeoutDurationSelector, [other])Returns the source observable sequence, switching to the other observable sequence if a timeout is signaled.
[firstTimeout=Rx.Observable.never()] (Observable): Observable sequence that represents the timeout for the first element. If not provided, this defaults to Rx.Observable.never().timeoutDurationSelector (Function): Selector to retrieve an observable sequence that represents the timeout between the current element and the next element.[other=Rx.Observable.throw] (Scheduler):Sequence to return in case of a timeout. If not provided, this is set to Observable.throw(Observable): The source sequence switching to the other sequence in case of a timeout.