lwtversion Documentation on ocaml.org

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
Documentationhttps://ocsigen.org/lwt
MaintainersRaphaël Proust <code@bnwr.net> and Anton Bachin <antonbachin@yahoo.com>
Dependencies
Optional dependencies
Source [http] https://github.com/ocsigen/lwt/archive/refs/tags/5.10.2.tar.gz
md5=78dfa17346cfc0a418fdc534c9cbc59b
sha512=011fc5c3e3f94442b6b34f0386a42005e3ebb25a79de0212aa771b097032d91a19b25b8a2df54635edb48e3a4a82f620760495a1dd27b9153a12df6130e58e6f
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/lwt/lwt.5.10.2/opam
Required by