UNPKG

824 BTypeScriptView Raw
1import { ObservableInput, OperatorFunction, SchedulerLike } from '../types';
2/** @deprecated Replaced with {@link timeout}. Instead of `timeoutWith(someDate, a$, scheduler)`, use the configuration object
3 * `timeout({ first: someDate, with: () => a$, scheduler })`. Will be removed in v8. */
4export declare function timeoutWith<T, R>(dueBy: Date, switchTo: ObservableInput<R>, scheduler?: SchedulerLike): OperatorFunction<T, T | R>;
5/** @deprecated Replaced with {@link timeout}. Instead of `timeoutWith(100, a$, scheduler)`, use the configuration object
6 * `timeout({ each: 100, with: () => a$, scheduler })`. Will be removed in v8. */
7export declare function timeoutWith<T, R>(waitFor: number, switchTo: ObservableInput<R>, scheduler?: SchedulerLike): OperatorFunction<T, T | R>;
8//# sourceMappingURL=timeoutWith.d.ts.map
\No newline at end of file