travel/admin/node_modules/rxjs/internal/testing/HotObservable.d.ts

24 lines
920 B
TypeScript
Raw Normal View History

2024-06-24 11:28:18 +08:00
import { Subject } from '../Subject';
import { Subscriber } from '../Subscriber';
import { Subscription } from '../Subscription';
import { Scheduler } from '../Scheduler';
import { TestMessage } from './TestMessage';
import { SubscriptionLog } from './SubscriptionLog';
import { SubscriptionLoggable } from './SubscriptionLoggable';
/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export declare class HotObservable<T> extends Subject<T> implements SubscriptionLoggable {
messages: TestMessage[];
subscriptions: SubscriptionLog[];
scheduler: Scheduler;
logSubscribedFrame: () => number;
logUnsubscribedFrame: (index: number) => void;
constructor(messages: TestMessage[], scheduler: Scheduler);
/** @deprecated This is an internal implementation detail, do not use. */
_subscribe(subscriber: Subscriber<any>): Subscription;
setup(): void;
}