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
MaintainerAnton Bachin <antonbachin@yahoo.com>
Dependencies
Optional dependencies
Conflicts
Source [http] https://github.com/ocsigen/lwt/archive/5.1.2.tar.gz
md5=dc4005582a6ab32227f5ff90cb480dbe
StatisticsInstalled 2216 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/lwt/lwt.5.1.2/opam
Required by
Optionally used by