wishthis/node_modules/rxjs/internal/testing/HotObservable.d.ts
2022-05-29 11:24:36 +02:00

23 lines
920 B
TypeScript

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;
}