|Authors||Jérôme Vouillon and Jérémie Dimino|
|License||LGPL with OpenSSL linking exception|
|Maintainer||Anton Bachin <email@example.com>|
|Available||ocaml-version >= "4.02.0" & ocaml-version < "4.05.0" & compiler != "4.02.1+BER"|
|Published||Jan 3, 2017|
|Statistics||Installed 2140times 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.