package apero-core

  1. Overview
  2. Docs
OCaml Utility Library

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.7.tar.gz
sha256=f4ec7ce1174f0401955cb551548fcdc0efeecaf701de38573a94092b54e69648
sha512=6673419024e5f36a0ff08f38234b8af214b713e5d702c04dd860026b76f3d29babe83dc8a49d371eb088231d2864ed01ef1166706c5df5332e0717eb71b29e44

doc/apero-core/Mvar/MVar_lwt/index.html

Module Mvar.MVar_lwt

include MVar
type 'a t
val create : 'a -> 'a t
val create_empty : unit -> 'a t
val put : 'a t -> 'a -> unit Lwt.t
val take : 'a t -> 'a Lwt.t
val take_available : 'a t -> 'a option
val is_empty : 'a t -> bool
val read : 'a t -> 'a Lwt.t
val guarded : 'a t -> ('a -> ('b Lwt.t * 'a) Lwt.t) -> 'b Lwt.t
val guarded_and_then : 'a t -> ('a -> ('b Lwt.t * 'a) Lwt.t) -> ('a -> 'b Lwt.t -> 'c Lwt.t) -> 'c Lwt.t
val return : 'b -> 'a -> ('b Lwt.t * 'a) Lwt.t
val return_lwt : 'b Lwt.t -> 'a -> ('b Lwt.t * 'a) Lwt.t
OCaml

Innovation. Community. Security.