Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/livekit/livekit
/ AddObserver
Method
AddObserver
pkg/rtc/types/interfaces.go:902–902 ·
view source on GitHub ↗
(key string, onChanged func())
Source
from the content-addressed store, hash-verified
900
901
type
ChangeNotifier
interface
{
902
AddObserver(key string, onChanged
func
())
903
RemoveObserver(key string)
904
HasObservers() bool
905
NotifyChanged()
Callers
3
subscribe
Method · 0.65
subscribeDataTrack
Method · 0.65
TestUnsubscribe
Function · 0.65
Implementers
1
ChangeNotifier
pkg/utils/changenotifier.go
Calls
no outgoing calls
Tested by
1
TestUnsubscribe
Function · 0.52