package fuseau

  1. Overview
  2. Docs
A simple IO and concurrency library for OCaml 5

Install

Dune Dependency

Authors

Maintainers

Sources

fuseau-0.1.tbz
sha256=8a9339d239aa371d0c4aceb23d7601a1b7da8f42d84542cee30669cc95addb6a
sha512=fa656c7311371344f0c6ebf08c666afc33296558ccc678ed87baf2f9ba54035cd4c5caca4257212416296fcdbdfc1687c46cc2ebea3548c792ea72602b85b832

doc/src/fuseau.unix/fuseau_unix.ml.html

Source file fuseau_unix.ml

1
2
3
4
5
6
7
8
9
10
open Common_
include Fuseau
module IO_unix = IO_unix
module Timer = Timer
module Net = Net

let main f =
  let loop = new U_loop.unix_ev_loop in
  let@ () = U_loop.with_cur loop in
  Fuseau.main ~loop:(loop :> Event_loop.t) f
OCaml

Innovation. Community. Security.