package testo

  1. Overview
  2. Docs

Module Testo.PromiseSource

Wrapper allowing for asynchronous test functions (Lwt and such).

Sourcetype 'a t = 'a
Sourceval return : 'a -> 'a t
Sourceval bind : 'a t -> ('a -> 'b t) -> 'b t
Sourceval catch : (unit -> 'a t) -> (exn -> Printexc.raw_backtrace -> 'a t) -> 'a t
Sourcemodule Operators : sig ... end
Sourceval protect : (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
OCaml

Innovation. Community. Security.