package octez-l2-libs

  1. Overview
  2. Docs
type key = string
module Map : sig ... end
type 'a t
val of_immutable : 'a Map.t -> 'a t
val create : ?values:'a Map.Map.t -> ?produce_value:'a Map.producer -> ?origin:Tezos_tree_encoding.wrapped_tree -> unit -> 'a t
val get : key -> 'a t -> 'a Lwt.t
val set : key -> 'a -> 'a t -> unit
val remove : key -> 'a t -> unit
val snapshot : 'a t -> 'a Map.t
OCaml

Innovation. Community. Security.