Module Async_smtp__.Cache

Cache.Make creates a cache module that exposes a simple with_ interface over its resources. The cache has the following properties:

Resource reuse: When a resource r is opened, it will remain open until one of the following:

When a resource is closed, either because of one of the above conditions, or because it was closed by other means, it no longer counts towards the limits.

Limits: The cache respects the following limits:

module type Resource_intf : sig ... end
module Config : sig ... end
module type Status_intf : sig ... end
module Make : functor (R : Resource_intf) -> sig ... end