Module Moonpool_ioSource

module Fd = Picos_io_fd
module Unix = Picos_io.Unix
module Select = Picos_io_select
Sourceval fd_of_unix_fd : Unix.file_descr -> Fd.t
Sourceval main : (Moonpool.Runner.t -> 'a) -> 'a

main f runs f() inside a scheduler.

Async read/write

Sourceval read : Unix.file_descr -> bytes -> int -> int -> int
Sourceval write : Unix.file_descr -> bytes -> int -> int -> int