package ocsipersist-lib

  1. Overview
  2. Docs

Parameters

module T : sig ... end

Signature

type t = {
  1. name : T.k;
  2. default : unit -> T.v Lwt.t;
}
val make_lazy_lwt : name:T.k -> default:(unit -> T.v Lwt.t) -> t
val make_lazy : name:T.k -> default:(unit -> T.v) -> t
val make : name:T.k -> default:T.v -> t
val get : t -> T.v Lwt.t
val set : t -> T.v -> unit Lwt.t
OCaml

Innovation. Community. Security.