MCPcopy
hub / github.com/wavetermdev/waveterm / wpsSubscribeToObject

Function wpsSubscribeToObject

frontend/app/store/wos.ts:91–99  ·  view source on GitHub ↗
(oref: string)

Source from the content-addressed store, hash-verified

89}
90
91function wpsSubscribeToObject(oref: string): () => void {
92 return waveEventSubscribeSingle({
93 eventType: "waveobj:update",
94 scope: oref,
95 handler: (event) => {
96 updateWaveObject(event.data);
97 },
98 });
99}
100
101function callBackendService(service: string, method: string, args: any[], noUIContext?: boolean): Promise<any> {
102 const startTs = Date.now();

Callers

nothing calls this directly

Calls 2

waveEventSubscribeSingleFunction · 0.90
updateWaveObjectFunction · 0.85

Tested by

no test coverage detected