package tezos-legacy-store

  1. Overview
  2. Docs

Parameters

module N : NAME
module Set : sig ... end

Signature

include SET_STORE with type t = t with type elt = key
type t = t
type elt = key
val known : t -> elt -> bool Lwt.t
val store : t -> elt -> unit Lwt.t
val remove : t -> elt -> unit Lwt.t
val elements : t -> elt list Lwt.t
val remove_all : t -> unit Lwt.t
val iter : t -> f:(elt -> unit Lwt.t) -> unit Lwt.t
val fold : t -> init:'a -> f:(elt -> 'a -> 'a Lwt.t) -> 'a Lwt.t
module Set = Set
val read_all : t -> Set.t Lwt.t
val store_all : t -> Set.t -> unit Lwt.t