multi: add reset to ForEachNode
This commit is contained in:
9 files changed
+17
-13
No files matched your search
@@ -102,7 +102,8 @@ type V1Store interface { //nolint:interfacebloat
|
||||
// passed to the call-back are executed under the same read transaction
|
||||
// and so, methods on the NodeTx object _MUST_ only be called from
|
||||
// within the call-back.
|
||||
ForEachNode(ctx context.Context, cb func(tx NodeRTx) error) error
|
||||
ForEachNode(ctx context.Context, cb func(tx NodeRTx) error,
|
||||
reset func()) error
|
||||
|
||||
// ForEachNodeCacheable iterates through all the stored vertices/nodes
|
||||
// in the graph, executing the passed callback with each node
|
||||
|
||||
Reference in new issue
Block a user