MCPcopy
hub / github.com/ValueCell-ai/ClawX / IpcRenderer

Interface IpcRenderer

src/types/electron.d.ts:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import type { HostResponse, HostRequest } from '../lib/host-api-types';
7
8export interface IpcRenderer {
9 invoke(channel: string, ...args: unknown[]): Promise<unknown>;
10 on(channel: string, callback: (...args: unknown[]) => void): (() => void) | void;
11 once(channel: string, callback: (...args: unknown[]) => void): void;
12 off(channel: string, callback?: (...args: unknown[]) => void): void;
13}
14
15export interface ElectronAPI {
16 ipcRenderer: IpcRenderer;

Callers 22

index.tsFile · 0.80
readProxyEnabledFunction · 0.80
seedTestProviderFunction · 0.80
validateUsageHistoryFunction · 0.80
approveViaOpenClawCliFunction · 0.65
isPythonReadyFunction · 0.65
runPythonInstallFunction · 0.65
setupManagedPythonFunction · 0.65
startLocalOAuthServerFunction · 0.65
ensureWindowsCliOnPathFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected