package lwt
Promises and event-driven I/O
Install
dune-project
Dependency
Authors
Maintainers
Sources
5.6.0.tar.gz
md5=e63979ee40a80d5b9e9e5545f33323b4
sha512=d616389bc9e0da11f25843ab7541ac2d40c9543700a89455f14115b339bbe58cef2b8acf0ae97fd54e15a4cb93149cfe1ebfda301aa93933045f76b7d9344160
doc/lwt.unix/Lwt_main/Enter_iter_hooks/index.html
Module Lwt_main.Enter_iter_hooks
Source
Hooks, of type unit -> unit
, that are called before each iteration of the Lwt main loop.
Hooks are functions of either type unit -> unit
or unit -> unit Lwt.t
; this type constructor is used only to express both possibilities in one signature.
Values of type hook
represent hooks that have been added, so that they can be removed later (if needed).
Adds a hook to the hook sequence underlying this module, to be run first, before any other hooks already added.
Adds a hook to the hook sequence underlying this module, to be run last, after any other hooks already added.
Removes all hooks from the hook sequence underlying this module.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>