()
| 256 | return this._isStarted; |
| 257 | } |
| 258 | public async startService(): Promise<void> { |
| 259 | service = await liveSession.getSharedService(ShareProviderName); |
| 260 | if (service) { |
| 261 | this._isStarted = true; |
| 262 | this.requestAttach(); |
| 263 | for (const command in Commands.guest) { |
| 264 | void liveShareOnRequest(command, Commands.guest[command], service); |
| 265 | console.log(`[GuestService] added ${command} callback`); |
| 266 | } |
| 267 | } else { |
| 268 | console.error('[GuestService] service request failed'); |
| 269 | } |
| 270 | } |
| 271 | public setStatusBarItem(sessionStatusBarItem: vscode.StatusBarItem): void { |
| 272 | _sessionStatusBarItem = sessionStatusBarItem; |
| 273 | } |
nothing calls this directly
no test coverage detected