graphdb: pass context to GraphSession
This commit is contained in:
9 files changed
+19
-16
No files matched your search
+2
-1
@@ -32,7 +32,8 @@ type GraphSessionFactory interface {
|
||||
// GraphSession will provide the call-back with access to a
|
||||
// graphdb.NodeTraverser instance which can be used to perform queries
|
||||
// against the channel graph.
|
||||
GraphSession(cb func(graph graphdb.NodeTraverser) error,
|
||||
GraphSession(ctx context.Context,
|
||||
cb func(graph graphdb.NodeTraverser) error,
|
||||
reset func()) error
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user