package eio

  1. Overview
  2. Docs
Effect-based direct-style IO API for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

eio-1.4.tbz
sha256=ba11ad486f492130dbb486f2b3bdc4905643f10016806ddf86e9a34e4346aaa5
sha512=57ef2c137ccdc26d8029e636b6a4ee92da7c6b2f35954946bd56ca595d6947a8ec42f6f83f8552f73d6719e6ce2314cae2e2fad1686a387522935e6f90e9a8d9

doc/eio.unix/Eio_unix/Pi/index.html

Module Eio_unix.PiSource

Sourcemodule type STREAM_SOCKET = sig ... end
Sourcetype Eio.Resource.pi +=
  1. | Stream_socket : ('t, (module STREAM_SOCKET with type t = 't), [> `Platform of [> `Unix ] | `Socket | `Stream ]) Eio.Resource.pi
Sourcemodule type FLOW = sig ... end
Sourceval flow_handler : (module FLOW with type t = 't and type tag = 'tag) -> ('t, [ `Unix_fd | 'tag Eio.Net.stream_socket_ty | Eio.File.rw_ty ]) Eio.Resource.handler
Sourcemodule type DATAGRAM_SOCKET = sig ... end
Sourceval datagram_handler : (module DATAGRAM_SOCKET with type t = 't and type tag = 'tag) -> ('t, [ `Unix_fd | 'tag Eio.Net.datagram_socket_ty ]) Eio.Resource.handler
Sourcemodule type LISTENING_SOCKET = sig ... end
Sourceval listening_socket_handler : (module LISTENING_SOCKET with type t = 't and type tag = 'tag) -> ('t, [ `Unix_fd | 'tag Eio.Net.listening_socket_ty ]) Eio.Resource.handler