package lwt-canceler
Cancellation synchronization object
Install
Dune Dependency
Authors
Maintainers
Sources
lwt-canceler-v0.1.tar.gz
md5=eeaed28564b7dcca0c20bb972f82cce0
sha512=0a62da8adef99016b3ddddde0d4ee9075753c909c46c7540d981cc170f929c8088bfb87d8ecbd8c297bf848d0fe3f635a6f79767deacfee1eef71f74da045b55
README.md.html
Lwt-canceler
Primitives for synchronization of cancellations.
A Canceler.t
is a three-states synchronization object with transitions waiting → canceling → canceled, starting in waiting state. Hooks can be attached to the canceler. Hooks are triggered when switching to the canceling state. The canceler switches to canceled state when the hooks have completed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>