package devkit

  1. Overview
  2. Docs
type 'a t = 'a Lwt.t
val return : 'a -> 'a Lwt.t
val (>>=) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val bracket : 'a Lwt.t -> ('a -> unit Lwt.t) -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val fail : ?exn:exn -> ('a, unit, string, 'b Lwt.t) Stdlib.format4 -> 'a
val raise : exn -> 'a Lwt.t
val sleep : float -> unit Lwt.t
val map_s : ('a -> 'b Lwt.t) -> 'a list -> 'b list Lwt.t
val catch : (unit -> 'a Lwt.t) -> (exn -> 'a Lwt.t) -> 'a Lwt.t
OCaml

Innovation. Community. Security.