MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / on

Method on

src/lib/DesktopBridge.ts:3–3  ·  view source on GitHub ↗
(channel: string, callback: (args: unknown) => void)

Source from the content-addressed store, hash-verified

1export interface DesktopBridge {
2 send(channel: string, data?: unknown): void;
3 on(channel: string, callback: (args: unknown) => void): void;
4}
5
6export function getDesktopBridge(): DesktopBridge | null {

Callers 15

setupMethod · 0.65
onMethod · 0.65
applyMethod · 0.65
bindMethod · 0.65
applyMethod · 0.65
bindMethod · 0.65
applyMethod · 0.65
bindMethod · 0.65
applyMethod · 0.65
applyMethod · 0.65
applyMethod · 0.65
applyMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected