src/vs/workbench/services/remote/common/abstractRemoteAgentService.ts/RemoteAgentConnection/registerChannel
class RemoteAgentConnection:	registerChannel<T extends IServerChannel<RemoteAgentConnectionContext>>(channelName: string, channel: T): void {
		this._getOrCreateConnection().then(client => client.registerChannel(channelName, channel));
	}