Module Storage.Delegates

Set of all registered delegates.

type context = Raw_context.t

The type of elements.

Tells if a elt is a member of the set

Adds a elt is a member of the set

Removes a elt of the set ; does nothing if not a member

Returns the elements of the set, deserialized in a list in no particular order.

val fold : context -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(elt -> 'a -> 'a Mavryk_protocol_environment_001_PtAtLas.Lwt.t) -> 'a Mavryk_protocol_environment_001_PtAtLas.Lwt.t

Iterates over the elements of the set.

Removes all elements in the set