package eio

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

Install

Dune Dependency

Authors

Maintainers

Sources

eio-1.2.tbz
sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40
sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4

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
OCaml

Innovation. Community. Security.