MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / startService

Method startService

src/liveShare/index.ts:258–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 }

Callers

nothing calls this directly

Calls 2

requestAttachMethod · 0.95
liveShareOnRequestFunction · 0.90

Tested by

no test coverage detected