MCPcopy Create free account
hub / github.com/53AI/53AIHub / Do

Method Do

api/service/rag/query_embedding_cache.go:23–23  ·  view source on GitHub ↗
(key string, fn func() (interface{}, error))

Source from the content-addressed store, hash-verified

21
22type singleflightGroup interface {
23 Do(key string, fn func() (interface{}, error)) (interface{}, error)
24}
25
26type syncSingleflight struct {

Callers 15

makeMaxKBRequestFunction · 0.65
GetMCPServerFunction · 0.65
commonAPICallFunction · 0.65
SearchMethod · 0.65
startMethod · 0.65
InitRAGJobEngineFunction · 0.65

Implementers 1

syncSingleflightapi/service/rag/query_embedding_cache.

Calls

no outgoing calls

Tested by

no test coverage detected