More Close() docs
This commit is contained in:
parent
1b6395ed0a
commit
0148f6ef12
2 changed files with 6 additions and 0 deletions
|
|
@ -247,6 +247,9 @@ func (it *HasA) Stats() graph.IteratorStats {
|
|||
}
|
||||
|
||||
// Close the subiterator, the result iterator (if any) and the HasA.
|
||||
//
|
||||
// Note: as this involves closing multiple iterators, only the first error
|
||||
// encountered while closing will be reported (if any).
|
||||
func (it *HasA) Close() error {
|
||||
var ret error
|
||||
|
||||
|
|
|
|||
|
|
@ -181,6 +181,9 @@ func (it *LinksTo) Result() graph.Value {
|
|||
}
|
||||
|
||||
// Close our subiterators.
|
||||
//
|
||||
// Note: as this involves closing multiple subiterators, only the first error
|
||||
// encountered while closing will be reported (if any).
|
||||
func (it *LinksTo) Close() error {
|
||||
var ret error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue