Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/livekit/livekit
/ Done
Method
Done
pkg/utils/incrementaldispatcher.go:50–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
func
(d *IncrementalDispatcher[T]) Done() {
51
d.lock.Lock()
52
d.done.Break()
53
d.cond.Broadcast()
54
d.lock.Unlock()
55
}
56
57
func
(d *IncrementalDispatcher[T]) ForEach(fn
func
(T)) {
58
idx := 0
Callers
15
TestForEach
Function · 0.80
TestConcurrentConsumption
Function · 0.80
WithTimeout
Function · 0.80
deleteRoom
Method · 0.80
TestRoomLock
Function · 0.80
notifySession
Method · 0.80
untilTransportsConnected
Function · 0.80
TestParticipantDataBlob_ConcurrentAccess
Function · 0.80
benchmarkPool
Function · 0.80
benchmarkGoroutine
Function · 0.80
benchmarkLoadBalanced
Function · 0.80
benchmarkLoadBalancedPool
Function · 0.80
Calls
1
Broadcast
Method · 0.80
Tested by
15
TestForEach
Function · 0.64
TestConcurrentConsumption
Function · 0.64
TestRoomLock
Function · 0.64
untilTransportsConnected
Function · 0.64
TestParticipantDataBlob_ConcurrentAccess
Function · 0.64
benchmarkPool
Function · 0.64
benchmarkGoroutine
Function · 0.64
benchmarkLoadBalanced
Function · 0.64
benchmarkLoadBalancedPool
Function · 0.64
Write
Method · 0.64
TestNack
Function · 0.64
TestFractionLostReport
Function · 0.64