MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getExecutor

Function getExecutor

src/cm/lsp/installRuntime.ts:1–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function getExecutor(): Executor {
2 const executor = (globalThis as unknown as { Executor?: Executor }).Executor;
3 if (!executor) {
4 throw new Error("Executor plugin is not available");
5 }
6 return executor;
7}
8
9function getBackgroundExecutor(): Executor {
10 const executor = getExecutor();

Callers 2

getBackgroundExecutorFunction · 0.70
runForegroundCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected