package hvsock

  1. Overview
  2. Docs
module type FN = sig ... end

Call a blocking ('a -> 'b) function in a ('a -> 'b Lwt.t) context

module type HVSOCK = sig ... end
module Make (Time : Mirage_time_lwt.S) (Fn : FN) : HVSOCK

Create an HVSOCK implementation given the ability to run blocking functions outside of Lwt.

OCaml

Innovation. Community. Security.