src/vs/workbench/api/browser/mainThreadTerminalService.ts/MainThreadTerminalService/_getTerminalInstance
class MainThreadTerminalService:	private async _getTerminalInstance(id: ExtHostTerminalIdentifier): Promise<ITerminalInstance | undefined> {
		if (typeof id === 'string') {
			return this._extHostTerminals.get(id);
		}
		return this._terminalService.getInstanceFromId(id);
	}