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

Method subscribe

apps/webuiapps/src/lib/FileSystemStore.ts:94–99  ·  view source on GitHub ↗

* Subscribe to change events * @returns Unsubscribe function

(listener: FileSystemListener)

Source from the content-addressed store, hash-verified

92 * @returns Unsubscribe function
93 */
94 subscribe(listener: FileSystemListener): () => void {
95 this.listeners.add(listener);
96 return () => {
97 this.listeners.delete(listener);
98 };
99 }
100
101 // ============ Query Operations ============
102

Callers 3

useFileSystemFunction · 0.80
useFilePathFunction · 0.80
useFolderChildrenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected