package async_kernel
Monadic concurrency library
Install
Dune Dependency
Authors
Maintainers
Sources
async_kernel-v0.16.0.tar.gz
sha256=0eda59386235e967698834d71cb8924d7b466bc4fcbf26ae72797ad05ca6f8a9
doc/index.html
async_kernel
API
Library async_kernel
Async_kernel
Contains Async's core data structures, likeDeferred
,Ivar
, andClock
.
Library async_kernel.config
Async_kernel_config
Settings that globally affect the behavior of Async.
Library async_kernel.eager_deferred
Library async_kernel.laziness_preserving_deferred
Laziness_preserving_deferred
Laziness_preserving_deferred
offers a monad for working with lazy deferreds that has similar semantics to theDeferred
monad. In the regularLazy_deferred
monad, eachmap/bind
introduces a new lazy computation, and nothing runs unless explicitly forced. By contrast, this monad lets you build up a tree of computations that can be "weakly run," meaning that it will run until it encounters an unforced lazy deferred, at which point it will wait for that lazy deferred to be forced before continuing.
Library async_kernel.limiter_async
Limiter_async
Implements an async aware throttling rate limiter on top ofLimiter
.
Library async_kernel.persistent_connection_kernel
Library async_kernel.read_write_pair
Read_write_pair
Read_write
is likeDirpair
, except "buy/sell" has been changed to "read/write".
Library async_kernel.weak_hashtbl_async
Weak_hashtbl_async
LikeWeak_hashtbl
, but automatically collects keys with unused data, rather than requiring user code to callremove_keys_with_unused_data
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page