package eio

  1. Overview
  2. Docs

API for Eio backends only.

type Eio.Generic.ty +=
  1. | Unix_file_descr : [ `Peek | `Take ] -> Unix.file_descr Eio.Generic.ty
    (*

    See FD.

    *)
type Effect.t +=
  1. | Await_readable : Unix.file_descr -> unit Effect.t
  2. | Await_writable : Unix.file_descr -> unit Effect.t
  3. | Get_system_clock : Eio.Time.clock Effect.t
    (*

    See sleep

    *)
  4. | Socket_of_fd : Eio.Std.Switch.t * bool * Unix.file_descr -> socket Effect.t
    (*

    See FD.as_socket

    *)
  5. | Socketpair : Eio.Switch.t * Unix.socket_domain * Unix.socket_type * int -> (socket * socket) Effect.t
    (*

    See socketpair

    *)
OCaml

Innovation. Community. Security.