src/vs/workbench/services/remote/common/abstractRemoteAgentService.ts/AbstractRemoteAgentService/_withTelemetryChannel
class AbstractRemoteAgentService:	private _withTelemetryChannel<R>(callback: (channel: IChannel, connection: IRemoteAgentConnection) => Promise<R>, fallback: R): Promise<R> {
		const connection = this.getConnection();
		if (!connection) {
			return Promise.resolve(fallback);
		}
		return connection.withChannel('telemetry', (channel) => callback(channel, connection));
	}