package async_kernel
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Monadic concurrency library
Install
dune-project
Dependency
Authors
Maintainers
Sources
async_kernel-v0.15.0.tar.gz
sha256=30753e014bb0b127ee59f10b1073b8ae476468fb2f07dc8c99dbe2ef312fc696
doc/async_kernel.weak_hashtbl_async/Weak_hashtbl_async/index.html
Module Weak_hashtbl_async
Like 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_hashtbl
val 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.
module Using_hashable : sig ... endval mem : ('a, _) t -> 'a -> boolval find : ('a, 'b) t -> 'a -> 'b Core.Heap_block.t optionval find_or_add :
('a, 'b) t ->
'a ->
default:(unit -> 'b Core.Heap_block.t) ->
'b Core.Heap_block.tval remove : ('a, 'b) t -> 'a -> unitval add_exn : ('a, 'b) t -> key:'a -> data:'b Core.Heap_block.t -> unitval replace : ('a, 'b) t -> key:'a -> data:'b Core.Heap_block.t -> unitval key_is_using_space : ('a, _) t -> 'a -> boolkey_is_using_space t key returns true if key is using some space in t. mem t key implies key_is_using_space t key, but it is also possible that that key_is_using_space t key && not (mem t key).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>