package moonpool-io

  1. Overview
  2. Docs
On This Page
  1. Async read/write
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Fd = Picos_io_fd
module Unix = Picos_io.Unix
module Select = Picos_io_select
val fd_of_unix_fd : Unix.file_descr -> Fd.t
val main : (Moonpool.Runner.t -> 'a) -> 'a

main f runs f() inside a scheduler.

Async read/write

val read : Unix.file_descr -> bytes -> int -> int -> int
val write : Unix.file_descr -> bytes -> int -> int -> int
OCaml

Innovation. Community. Security.