package resource_cache

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Address_config : sig ... end
module Config : sig ... end
module Resource : sig ... end
module Rpc_connection_resource : sig ... end
module Status : sig ... end
module type S = sig ... end
module Make (R : Resource.S) () : sig ... end

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

module Make_simple (R : Resource.Simple) () : sig ... end

Wrap a resource that does not natively support a has_close_started operation in a simple record to add such tracking.

module Make_wrapped (R : Resource.S_wrapped) () : sig ... end

Make a cache from a resource where the type clients wish to operate on is derived from, but not necessarily equal to, the type held by the cache.

OCaml

Innovation. Community. Security.