Page
Library
Module
Module type
Parameter
Class
Class type
Source
LacheSourceLache is a library for Lwt-promise caches.
More specifically, Lache provides modules implementing caches for Lwt promises. These caches are based on Aches.Rache's Transfer-cache but store promises.
Note that Lache should not be used to cache resources which may need any form of clean-up (e.g., file-descriptors or network connections). Lache should only be used for promises. These promises are canceled when they are purged from the cache.
MAP_OPTION are caches for option promises (_ option Lwt.t).
MAP_RESULT are caches for result promises (_ result Lwt.t).
Make(C) is a MAP. The cache policies are that of C.
Make_option(C) is a MAP_OPTION. The cache policies are that of C.
Make_result(C) is a MAP_RESULT. The cache policies are that of C.