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

@seanmonstar seanmonstar force-pushed the pool-cache branch 4 times, most recently from 8452691 to 7fafc66 Compare September 15, 2025 19:40
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.

1 participant