package ocsipersist-dbm

  1. Overview
  2. Docs
type store = string
type 'a t = store * string

Type of persistent data

val open_store : 'a -> 'b Lwt.t
val make_persistent_lazy_lwt : store:string -> name:string -> default:(unit -> 'a Lwt.t) -> (string * string) Lwt.t
val make_persistent_lazy : store:string -> name:string -> default:(unit -> 'a) -> (string * string) Lwt.t
val make_persistent : store:string -> name:string -> default:'a -> (string * string) Lwt.t
val get : 'a Lwt.t t -> 'a Lwt.t
val set : (string * string) -> 'a -> unit Lwt.t
OCaml

Innovation. Community. Security.