MCPcopy Index your code
hub / github.com/coderoad/coderoad-vscode / editorSend

Function editorSend

web-app/src/services/state/useStateMachine.tsx:18–22  ·  view source on GitHub ↗
(action: T.Action)

Source from the content-addressed store, hash-verified

16export const editor = acquireVsCodeApi()
17
18const editorSend = (action: T.Action) =>
19 editor.postMessage({
20 ...action,
21 source: 'coderoad', // filter events by source on editor side
22 })
23
24// router finds first state match of <Route path='' />
25const useStateMachine = (): Output => {

Callers 15

startupFunction · 0.85
configureNewTutorialFunction · 0.85
continueConfigFunction · 0.85
loadLevelFunction · 0.85
loadStepFunction · 0.85
editorLoadSolutionFunction · 0.85
validateSetupFunction · 0.85
requestWorkspaceSelectFunction · 0.85
editorOpenLogsFunction · 0.85
runTestFunction · 0.85
runResetFunction · 0.85
editor.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected