Skip to content

Conversation

@seanmonstar
Copy link
Member

This creates a new Cache type that acts as a pool over an inner make-service. Asking the Cache to produce a service will either return a cached one, or create a new one with the inner maker. The returned service is Cached<S>, which knows to return the service to the cache upon Drop.

Closes hyperium/hyper#3954

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.

2 participants