package lwt-canceler

  1. Overview
  2. Docs
Cancellation synchronization object

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lwt-canceler-v0.1.tar.gz
md5=eeaed28564b7dcca0c20bb972f82cce0
sha512=0a62da8adef99016b3ddddde0d4ee9075753c909c46c7540d981cc170f929c8088bfb87d8ecbd8c297bf848d0fe3f635a6f79767deacfee1eef71f74da045b55

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.