Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc/grpc-go
/ NewEvent
Function
NewEvent
internal/xds/clients/internal/syncutil/event.go:59–61 ·
view source on GitHub ↗
NewEvent returns a new, ready-to-use Event.
()
Source
from the content-addressed store, hash-verified
57
58
// NewEvent returns a new, ready-to-use Event.
59
func
NewEvent() *Event {
60
return
&Event{c: make(
chan
struct
{})}
61
}
Callers
6
newClient
Function · 0.92
newXDSChannel
Function · 0.92
TestLDSWatch_ResourceCaching
Method · 0.92
TestEventHasFired
Method · 0.70
TestEventDoneChannel
Method · 0.70
TestEventMultipleFires
Method · 0.70
Calls
no outgoing calls
Tested by
4
TestLDSWatch_ResourceCaching
Method · 0.74
TestEventHasFired
Method · 0.56
TestEventDoneChannel
Method · 0.56
TestEventMultipleFires
Method · 0.56