package eio
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.6.tbz
sha256=c1f04986b401094176494863dde1ca9b292b59fdc679a9d7023e558d80fb5b15
sha512=92ed8cf20300b8a4e0141bdbc373c0803c5a24530cb65852637d905fff4a5b956a8859a00a424034ff78c1112da9b0391194bcd558326168bdebd1ce683a8890
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