|Authors||Jérôme Vouillon and Jérémie Dimino|
|License||LGPL with OpenSSL linking exception|
|Maintainers||Anton Bachin <email@example.com>, Mauricio Fernandez <firstname.lastname@example.org> and Simon Cruanes <email@example.com>|
|Available||ocaml-version >= "4.02.0" & compiler != "4.02.1+BER"|
|Published||Apr 12, 2017|
|Statistics||Installed 611times in last month.|
Monadic promises and concurrent 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.