package ringo-lwt
-
ringo-lwt
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This is similar to CACHE_MAP
except that it handles result
. Specifically, you can insert ('a, 'b) result Lwt.t
and the map will clean itself automatically if the promise resolves to Error _
.
val create : int -> ('a, 'err) t
val length : ('a, 'err) t -> int
val capacity : ('a, 'err) t -> int
val clear : ('a, 'err) t -> unit