Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/virattt/dexter
/ subscribe
Method
subscribe
src/utils/logger.ts:53–57 ·
view source on GitHub ↗
(fn: LogSubscriber)
Source
from the content-addressed store, hash-verified
51
}
52
53
subscribe(fn: LogSubscriber): () => void {
54
this.subscribers.add(fn);
55
fn([...this.logs]);
// Send current logs immediately
56
return
() => this.subscribers.delete(fn);
57
}
58
59
clear() {
60
this.logs = [];
Callers
nothing calls this directly
Calls
1
add
Method · 0.45
Tested by
no test coverage detected