Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jamiebuilds/unstated
/ subscribe
Method
subscribe
src/unstated.js:47–49 ·
view source on GitHub ↗
(fn: Listener)
Source
from the content-addressed store, hash-verified
45
}
46
47
subscribe(fn: Listener) {
48
this._listeners.push(fn);
49
}
50
51
unsubscribe(fn: Listener) {
52
this._listeners = this._listeners.filter(f => f !== fn);
Callers
1
_createInstances
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected