package lwt-canceler

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.

OCaml

Innovation. Community. Security.