cherry-pick(#15588): chore: remove joining emitter

This commit is contained in:
Pavel Feldman 2022-07-12 12:04:20 -08:00
parent 56e04df8aa
commit 0dade6ef0e

View file

@ -26,9 +26,8 @@ import { zones } from '../utils/zones';
import type { ClientInstrumentation } from './clientInstrumentation'; import type { ClientInstrumentation } from './clientInstrumentation';
import type { Connection } from './connection'; import type { Connection } from './connection';
import type { Logger } from './types'; import type { Logger } from './types';
import { JoiningEventEmitter } from './joiningEventEmitter';
export abstract class ChannelOwner<T extends channels.Channel = channels.Channel> extends JoiningEventEmitter { export abstract class ChannelOwner<T extends channels.Channel = channels.Channel> extends EventEmitter {
readonly _connection: Connection; readonly _connection: Connection;
private _parent: ChannelOwner | undefined; private _parent: ChannelOwner | undefined;
private _objects = new Map<string, ChannelOwner>(); private _objects = new Map<string, ChannelOwner>();