2022-01-21 08:28:41 +00:00
|
|
|
import { Observable } from '../Observable';
|
|
|
|
import { Scheduler } from '../Scheduler';
|
|
|
|
import { TestMessage } from './TestMessage';
|
|
|
|
import { SubscriptionLog } from './SubscriptionLog';
|
|
|
|
import { SubscriptionLoggable } from './SubscriptionLoggable';
|
|
|
|
import { Subscriber } from '../Subscriber';
|
2022-05-29 09:24:36 +00:00
|
|
|
/**
|
|
|
|
* We need this JSDoc comment for affecting ESDoc.
|
|
|
|
* @ignore
|
|
|
|
* @extends {Ignored}
|
|
|
|
*/
|
2022-01-21 08:28:41 +00:00
|
|
|
export declare class ColdObservable<T> extends Observable<T> implements SubscriptionLoggable {
|
|
|
|
messages: TestMessage[];
|
|
|
|
subscriptions: SubscriptionLog[];
|
|
|
|
scheduler: Scheduler;
|
|
|
|
logSubscribedFrame: () => number;
|
|
|
|
logUnsubscribedFrame: (index: number) => void;
|
|
|
|
constructor(messages: TestMessage[], scheduler: Scheduler);
|
|
|
|
scheduleMessages(subscriber: Subscriber<any>): void;
|
|
|
|
}
|