package aio

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Buffer : sig ... end
type result =
  1. | Result of Buffer.t
  2. | Errno of int
  3. | Partial of Buffer.t * int
exception Error of int
exception Incomplete of Buffer.t * int
val result : result -> Buffer.t
type context
val context : int -> context
val read : context -> Unix.file_descr -> int64 -> Buffer.t -> (result -> unit) -> unit
val write : context -> Unix.file_descr -> int64 -> Buffer.t -> (result -> unit) -> unit
val poll : context -> Unix.file_descr -> int -> (Unix.file_descr -> unit) -> unit
val run : context -> unit
val process : context -> unit
val sync_read : Unix.file_descr -> int64 -> Buffer.t -> unit
val sync_write : Unix.file_descr -> int64 -> Buffer.t -> unit