MCPcopy Create free account
hub / github.com/alex8088/electron-vite / request

Method request

src/bytecodeCompiler.ts:114–117  ·  view source on GitHub ↗
(cmd: string, ...args: unknown[])

Source from the content-addressed store, hash-verified

112 }
113
114 async request<T = unknown>(cmd: string, ...args: unknown[]): Promise<T> {
115 if (!this.ready || this.stopping) throw new Error('BytecodeCompiler is not ready; await start() first')
116 return this.sendRequest(cmd, args) as Promise<T>
117 }
118
119 private sendRequest(cmd: string, args: unknown[]): Promise<unknown> {
120 const ps = this.ps

Callers 1

compileMethod · 0.95

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected