Module type Os_request_cache.Cache_sig

type key

The type of the key

type value

The type of the value

val has : key -> bool

Returns true if the key has been stored into the cache.

val set : key -> value -> unit

Set the corresponding value for a key.

val reset : key -> unit

Remove a value for the given key.

val get : key -> value Lwt.t

Get the value corresponding to the given key.