MCPcopy Create free account
hub / github.com/coderoad/coderoad-vscode / send

Function send

src/commands.ts:29–33  ·  view source on GitHub ↗
(action: T.Action)

Source from the content-addressed store, hash-verified

27// This makes it easier to pass the send
28// function throughout the codebase
29export const send = (action: T.Action): void => {
30 // log send of event to client
31 logger(`${typeof action === 'string' ? action : action.type}`)
32 sendToClient(action)
33}
34
35export const createCommands = (commandProps: CreateCommandProps): { [key: string]: any } => {
36 const { extensionPath, workspaceState } = commandProps

Callers 10

onTutorialConfigContinueFunction · 0.90
onTutorialConfigNewFunction · 0.90
onValidateSetupFunction · 0.90
onStartupFunction · 0.90
runCommandsFunction · 0.90
createCommandsFunction · 0.70
ErrorMarkdownFunction · 0.50
StartPageContainerFunction · 0.50
handlerFunction · 0.50
context.tsFile · 0.50

Calls 2

sendToClientFunction · 0.85
loggerFunction · 0.50

Tested by

no test coverage detected