package octez-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Requester_impl.Memory_tableSource

A simple memory table backed by Hashtbl

Parameters

module P : PARAMETERS

Signature

Sourcetype 'a t
Sourcetype key = P.key
Sourceval create : entry_type:string -> ?random:bool -> int -> 'a t
Sourceval find : 'a t -> key -> 'a option
Sourceval add : 'a t -> key -> 'a -> unit
Sourceval replace : 'a t -> key -> 'a -> unit
Sourceval remove : 'a t -> key -> unit
Sourceval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
Sourceval length : 'a t -> int
OCaml

Innovation. Community. Security.