package devkit
Development kit - general purpose library
Install
Dune Dependency
Authors
Maintainers
Sources
devkit-1.3.tbz
sha256=dae965685dceed47ad8e9844f12fe707dafdf2c3bdd46d0431d5b4d1e7754b23
sha512=b94ade804d751db87434042bbaa821fa8e82e233820a76806f910e2da040094b137e88a3579911a1626930912622b064c776ddbcb6991fb7111021ebf6553fdc
doc/src/devkit.core/lwt_flag.ml.html
Source file lwt_flag.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
module C = Lwt_condition type 'a t = { cond : 'a C.t; mutable waiter : 'a Lwt.t } let create () = let cond = C.create () in { cond; waiter = C.wait cond } let signal { cond; _ } x = C.signal cond x let wait fl = let%lwt r = fl.waiter in fl.waiter <- C.wait fl.cond; Lwt.return r
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>