Skip to content

Comments

rework the client-side API, remove the Resolver, make Browse and Lookup package-level functions#100

Open
marten-seemann wants to merge 3 commits intograndcat:masterfrom
marten-seemann:remove-resolver2
Open

rework the client-side API, remove the Resolver, make Browse and Lookup package-level functions#100
marten-seemann wants to merge 3 commits intograndcat:masterfrom
marten-seemann:remove-resolver2

Conversation

@marten-seemann
Copy link
Contributor

@marten-seemann marten-seemann commented Jul 5, 2021

This implements suggestion 1 in #98. Fixes #98.

I'm not entirely sure if this is the right way to go, but at least it seems to make the API a lot more intuitive. Also, it allows for a clean shutdown of all Go routines: As soon as Lookup / Browse return, you can now be certain that no more Go routines are running in the background.

@marten-seemann
Copy link
Contributor Author

@grandcat Any thoughts on this PR? Anything I can do to move this forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolver API design

1 participant