multi: pass reset to GraphSession
This commit is contained in:
9 files changed
+23
-14
No files matched your search
+2
-1
@@ -29,7 +29,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) error
|
||||
GraphSession(cb func(graph graphdb.NodeTraverser) error,
|
||||
reset func()) error
|
||||
}
|
||||
|
||||
// FetchAmountPairCapacity determines the maximal public capacity between two
|
||||
|
||||
Reference in new issue
Block a user