Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the stub resolver shareable. #175

Open
partim opened this issue Feb 15, 2023 · 0 comments
Open

Make the stub resolver shareable. #175

partim opened this issue Feb 15, 2023 · 0 comments

Comments

@partim
Copy link
Member

partim commented Feb 15, 2023

Currently, the Resolver trait is only implemented on &StubResolver to bind the future to the information in the resolver. This should be changed and this information be stored behind an arc so you can share the stub resolver for multiple calls. Maybe this should be made explicit by impl Resolver for Arc<StubResolver>.

@partim partim added this to the 0.8.0 milestone Feb 15, 2023
@partim partim modified the milestones: 0.8.0, 0.9.0 Apr 20, 2023
@partim partim removed this from the 0.10.0 milestone Mar 21, 2024
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

No branches or pull requests

1 participant