Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dgraph-io/badger
/ runCallback
Function
runCallback
iterator.go:214–218 ·
view source on GitHub ↗
(cb func())
Source
from the content-addressed store, hash-verified
212
}
213
214
func
runCallback(cb
func
()) {
215
if
cb != nil {
216
cb()
217
}
218
}
219
220
func
(item *Item) prefetchValue() {
221
val, cb, err := item.yieldItemValue()
Callers
9
Read
Method · 0.85
doRunGC
Method · 0.85
populateDiscardStats
Method · 0.85
Value
Method · 0.85
ValueCopy
Method · 0.85
yieldItemValue
Method · 0.85
prefetchValue
Method · 0.85
TestValueBasic
Function · 0.85
BenchmarkReadWrite
Function · 0.85
Calls
no outgoing calls
Tested by
2
TestValueBasic
Function · 0.68
BenchmarkReadWrite
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…