package lwt-canceler

  1. Overview
  2. Docs
Cancellation synchronization object

Install

Dune Dependency

Authors

Maintainers

Sources

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

Description

Published: 18 Oct 2019

README

Lwt-canceler

Primitives for synchronization of cancellations.

A Canceler.t is a three-states synchronization object with transitions waitingcancelingcanceled, 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.

Dependencies (3)

  1. lwt >= "3.0.0"
  2. dune >= "1.11"
  3. ocaml

Dev Dependencies

None

Used by (2)

  1. tezos-error-monad < "9.0"
  2. tezos-p2p < "8.0"

Conflicts

None

OCaml

Innovation. Community. Security.