MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / subscribe

Function subscribe

apps/webuiapps/src/lib/windowManager.ts:39–42  ·  view source on GitHub ↗
(fn: Listener)

Source from the content-addressed store, hash-verified

37}
38
39export function subscribe(fn: Listener): () => void {
40 listeners.add(fn);
41 return () => listeners.delete(fn);
42}
43
44export function getWindows(): WindowState[] {
45 return windows;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected