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_monotonic_clock : Eio.Time.Mono.t Effect.t
  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

    *)
  6. | Pipe : Eio.Switch.t -> (< Eio.Flow.source ; Eio.Flow.close ; unix_fd > * < Eio.Flow.sink ; Eio.Flow.close ; unix_fd >) Effect.t
    (*

    See pipe

    *)
OCaml

Innovation. Community. Security.