lwtversion

Promises and event-driven I/O

A promise is a value that may become determined in the future.

Lwt provides typed, composable promises. Promises that are resolved by I/O are resolved by Lwt in parallel.

Meanwhile, OCaml code, including code creating and waiting on promises, runs in a single thread by default. This reduces the need for locks or other synchronization primitives. Code can be run in parallel on an opt-in basis.

AuthorsJérôme Vouillon and Jérémie Dimino
LicenseMIT
Published
Homepagehttps://github.com/ocsigen/lwt
Issue Trackerhttps://github.com/ocsigen/lwt/issues
MaintainersAnton Bachin <antonbachin@yahoo.com>, Mauricio Fernandez <mfp@acm.org> and Simon Cruanes <simon.cruanes.2007@m4x.org>
Dependencies
Optional dependencies
Conflicts
Source [http] https://github.com/ocsigen/lwt/archive/4.2.0.tar.gz
sha256=6d679ec2f33897675066d4c58c1d57d84045727263c16279b23c3a9ce13fb3f0
md5=2ce7827948adc611319f9449e4519070
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/lwt/lwt.4.2.0/opam
Required by
Optionally used by