package pgx

  1. Overview
  2. Docs
type 'a t = 'a Thread.t
val return : 'a -> 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val catch : (unit -> 'a t) -> (exn -> 'a t) -> 'a t
val protect : (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
OCaml

Innovation. Community. Security.