MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / QueryForEvent

Function QueryForEvent

types/events.go:168–170  ·  view source on GitHub ↗
(eventType string)

Source from the content-addressed store, hash-verified

166}
167
168func QueryForEvent(eventType string) tmpubsub.Query {
169 return tmquery.MustParse(fmt.Sprintf("%s='%s'", EventTypeKey, eventType))
170}
171
172// BlockEventPublisher publishes all block related events
173type BlockEventPublisher interface {

Callers 5

WaitForOneEventFunction · 0.92
TestBlockEventsFunction · 0.92
TestQueryForEventFunction · 0.85
events.goFile · 0.85

Calls

no outgoing calls

Tested by 3

TestBlockEventsFunction · 0.74
TestQueryForEventFunction · 0.68