package lwt-canceler

  1. Overview
  2. Docs
Cancellation synchronization object

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lwt-canceler-v0.2.tar.gz
md5=c0e1d94b178e8c2bb38bc1086c11a029
sha512=b3c23f82ee293cc4299be1cf41b94ac6592ce8d3124cb8ef1380ac258bd3c8ca5635387943b6ce03048c163d76d0157097c26a7c6dd2139c78dde27d1c622296

doc/index.html

lwt-canceler

API

Library lwt-canceler

  • Lwt_canceler A Canceler.t is a three-states synchronization object with transitions "waiting -> canceling -> canceled", starting in waiting state. A chain of 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.