MCPcopy
hub / github.com/SteamDeckHomebrew/decky-loader / callable

Method callable

frontend/src/wsrouter.ts:193–195  ·  view source on GitHub ↗
(route: string)

Source from the content-addressed store, hash-verified

191 }
192
193 callable<Args extends any[] = [], Return = void>(route: string): (...args: Args) => Promise<Return> {
194 return (...args) => this.call<Args, Return>(route, ...args);
195 }
196
197 async onError(error: any) {
198 this.error('WS DISCONNECTED', error);

Callers 13

plugin-loader.tsxFile · 0.80
PluginLoaderClass · 0.80
initPluginBackendAPIMethod · 0.80
createLegacyPluginAPIMethod · 0.80
plugin.tsFile · 0.80
updater.tsFile · 0.80
DeckyErrorBoundaryFunction · 0.80
index.tsxFile · 0.80
index.tsxFile · 0.80
index.tsxFile · 0.80
index.tsxFile · 0.80

Calls 1

callMethod · 0.95

Tested by

no test coverage detected