graph/db: thread context through ForEachNodeDirectedChannel
This commit is contained in:
10 files changed
+36
-31
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ import (
|
||||
type Graph interface {
|
||||
// ForEachNodeDirectedChannel calls the callback for every channel of
|
||||
// the given node.
|
||||
ForEachNodeDirectedChannel(nodePub route.Vertex,
|
||||
ForEachNodeDirectedChannel(ctx context.Context, nodePub route.Vertex,
|
||||
cb func(channel *graphdb.DirectedChannel) error,
|
||||
reset func()) error
|
||||
|
||||
|
||||
Reference in new issue
Block a user