-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
A-clientArea: client.Area: client.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.K-hyper-utilCrate: hyper-utilCrate: hyper-util
Description
In hyper-util, create a 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
.
See more in the proposal at #3948.
Metadata
Metadata
Assignees
Labels
A-clientArea: client.Area: client.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.K-hyper-utilCrate: hyper-utilCrate: hyper-util