package lwt-canceler
Cancellation synchronization object
Install
Dune Dependency
Authors
Maintainers
Sources
lwt-canceler-v0.2.tar.gz
md5=c0e1d94b178e8c2bb38bc1086c11a029
sha512=b3c23f82ee293cc4299be1cf41b94ac6592ce8d3124cb8ef1380ac258bd3c8ca5635387943b6ce03048c163d76d0157097c26a7c6dd2139c78dde27d1c622296
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)"
>