Weak_hashtbl_asyncSourceLike 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.tval create :
?growth_allowed:bool ->
?size:int ->
(module Weak_hashtbl__.Import.Hashtbl.Key_plain with type t = 'a) ->
('a, 'b) tgrowth_allowed and size are both optionally passed on to the underlying call to Hashtbl.create.