package lwt-canceler

  1. Overview
  2. Docs
Cancellation synchronization object

Install

Dune Dependency

Authors

Maintainers

Sources

lwt-canceler-v0.3.tar.gz
md5=1181b7e47df101ea51008d1d1bb32148
sha512=fc82d131f6b32396da906d88ea5ac21f432e7859577cc078eb48bdb619eceea0f899fb4e6aaf601e428667ab3cd4235ccd8afb4f75b03b3f2fe8c6017aa8a779

Description

Published: 13 Jan 2021

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.