Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

feat(visitor): support early termination #89

Open
yxliang01 opened this issue Sep 27, 2019 · 0 comments
Open

feat(visitor): support early termination #89

yxliang01 opened this issue Sep 27, 2019 · 0 comments

Comments

@yxliang01
Copy link
Contributor

It's often that when we have visited interested nodes, the exploration doesn't need to continue. So, it would be great if early termination is supported. I'm thinking to define a class that users can throw inside the visitor. Then, the visitor function catches it and terminate normally. If this sounds good, I can contribute. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant