package async_kernel
Monadic concurrency library
Install
Dune Dependency
Authors
Maintainers
Sources
async_kernel-v0.16.0.tar.gz
sha256=0eda59386235e967698834d71cb8924d7b466bc4fcbf26ae72797ad05ca6f8a9
doc/async_kernel.persistent_connection_kernel/Persistent_connection_kernel/Make/argument-1-Conn/index.html
Parameter Make.Conn
val close : t -> unit Async_kernel.Deferred.t
close t
closes the connection. The returned deferred becomes determined once any resources needed to maintain the connection have been released.
val is_closed : t -> bool
is_closed t
returns true if close
has ever been called (even if the returned deferred has not yet been fulfilled).
Note that some modules implementing Closable
may call close internally upon noticing that the connection was closed by the other side. The interface of such a module ought to say that this is the case.
val close_finished : t -> unit Async_kernel.Deferred.t
close_finished t
becomes determined at the same time as the result of the first call to close
. close_finished
differs from close
in that it does not have the side effect of initiating a close.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>