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

Function attachActiveGuest

src/liveShare/shareSession.ts:72–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72export function attachActiveGuest(): void {
73 if (config().get<boolean>('sessionWatcher', true)) {
74 console.info('[attachActiveGuest]');
75 void rGuestService?.requestAttach();
76 } else {
77 void vscode.window.showInformationMessage('This command requires that r.sessionWatcher be enabled.');
78 }
79}
80
81// Guest version of session.ts updateRequest(), no need to check for changes in files
82// as this is handled by the session.ts variant

Callers 1

initLiveShareFunction · 0.90

Calls 3

configFunction · 0.90
requestAttachMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected