package resource_cache

  1. Overview
  2. Docs
General resource cache

Install

Dune Dependency

Authors

Maintainers

Sources

resource_cache-v0.16.0.tar.gz
sha256=716f58355b7e1af5dc0ec7172ea8a612538dab968c9fb49daaad34826b6f5bbf

doc/resource_cache/Resource_cache/index.html

Module Resource_cacheSource

Sourcemodule Address_config : sig ... end
Sourcemodule Config : sig ... end
Sourcemodule Resource : sig ... end
Sourcemodule Rpc_connection_resource : sig ... end
Sourcemodule Status : sig ... end
Sourcemodule type S = sig ... end
Sourcemodule 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:

Sourcemodule 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.

Sourcemodule 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.