package eio
Build not yet checked sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Effect-based direct-style IO API for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
eio-1.7.tbz
sha256=a9771c0d7f4d9d9fe17badd3d147c96e85f34410ab252119ade2a407ab41ccb5
sha512=a6e0bfdc7d48886b613ba70004a46309e4162f6109d9603fbe9d70dafcc4fad3cd2382998685b1db4bb8e5bf0bbc89371b9023644d3bfaa80757e5e6939c6d8e
doc/index.html
Eio
Eio provides support for concurrency (juggling many tasks) and parallelism (using multiple CPU cores for performance).
See the Tutorial for an introduction.
The main Eio module provides:
- Fiber, Switch, Cancel (managing fibers)
- Stdenv (getting access to host resources)
- Path, File (managing files and directories)
- Flow, Buf_read, Buf_write (text streams)
- Net (networking)
- Process (running other programs)
- Time (clocks and timeouts)
- Promise, Semaphore, Mutex, Condition, Lazy (concurrency primitives)
- Stream, Pool (collections)
- Domain_manager, Executor_pool (using multiple domains)
- Exn (exceptions with context)
- Std (
open Eio.Stdto get access to some common modules) - Less commonly-used: Fs, Debug, Resource
Extended Unix APIs
Eio_unix provides low-level but portable access to file-descriptors, threads and other system resources.
Mocks
Eio_mock is a dummy backend for testing.
Tracing
Eio_runtime_events read and write event traces.
Private
These are for backend implementors only:
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page