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
MaintainersRaphaël Proust <code@bnwr.net> and Anton Bachin <antonbachin@yahoo.com>
Dependencies
Optional dependencies
Conflicts
Source [http] https://github.com/ocsigen/lwt/archive/refs/tags/5.4.2.tar.gz
md5=ba3659a8918d8e7cb0f4ef9a83945f90
sha512=9f46fb2e56dc7bd57a12d5ab4dc68719947a1462f336087a95e991d087bb9b5b8dee2592d0f7d35abc507d9a641dd221c44c949c81d00e26c673a067d94ba3f4
StatisticsInstalled 11113 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/lwt/lwt.5.4.2/opam
Required by
Optionally used by