UNPKG

228 BTypeScriptView Raw
1import { ReplaySubject, Subject } from 'rxjs';
2/**
3 * @publicApi
4 */
5export interface ServerAndEventStreamsHost<T = any> {
6 server: T;
7 init: ReplaySubject<T>;
8 connection: Subject<any>;
9 disconnect: Subject<any>;
10}