Weak_hashtbl_asyncLike Weak_hashtbl, but automatically collects keys with unused data, rather than requiring user code to call remove_keys_with_unused_data.
include module type of Weak_hashtblval sexp_of_t :
('a -> Sexplib0.Sexp.t) ->
('b -> Sexplib0.Sexp.t) ->
('a, 'b) t ->
Sexplib0.Sexp.tmodule Using_hashable : sig ... endval find : ('a, 'b) t -> 'a -> 'b Heap_block.t Base.option @@ portableval find_or_add :
('a, 'b) t ->
'a ->
default:(Base.unit -> 'b Heap_block.t) @ local ->
'b Heap_block.tval add_exn : ('a, 'b) t -> key:'a -> data:'b Heap_block.t -> Base.unitval replace : ('a, 'b) t -> key:'a -> data:'b Heap_block.t -> Base.unitval create :
?growth_allowed:Base.bool ->
?size:Base.int ->
(module Base.Hashtbl.Key.S with type t = 'a) ->
('a, 'b) tval reclaim_space_for_keys_with_unused_data : [ `Do_not_use ] -> Base.unitval set_run_when_unused_data : [ `Do_not_use ] -> Base.unit