Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Eio backend using libuv.
You will normally not use this module directly. Instead, use Eio_main.run
to start an event loop and then use the API in the Eio
module.
However, it is possible to use this module directly if you only want to support libuv.
module Low_level : sig ... end
type has_fd = < fd : Low_level.File.t >
type source = < Eio.Flow.source ; Eio.Flow.close ; has_fd >
type sink = < Eio.Flow.sink ; Eio.Flow.close ; has_fd >
type stdenv =
< stdin : source
; stdout : sink
; stderr : sink
; net : Eio.Net.t
; domain_mgr : Eio.Domain_manager.t
; clock : Eio.Time.clock
; fs : Eio.Fs.dir Eio.Path.t
; cwd : Eio.Fs.dir Eio.Path.t
; secure_random : Eio.Flow.source
; debug : Eio.Debug.t >
val get_fd : < has_fd.. > -> Low_level.File.t
val get_fd_opt : Eio.Generic.t -> Low_level.File.t option
val run : (stdenv -> 'a) -> 'a