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.
| Authors | Jérôme Vouillon and Jérémie Dimino | 
|---|---|
| License | MIT | 
| Published | |
| Homepage | https://github.com/ocsigen/lwt | 
| Issue Tracker | https://github.com/ocsigen/lwt/issues | 
| Maintainer | Anton Bachin <antonbachin@yahoo.com> | 
| Dependencies | 
  | 
| Optional dependencies | |
| Conflicts | 
  | 
| Source [http] | https://github.com/ocsigen/lwt/archive/5.1.2.tar.gz sha256=b9fcd49ef391c9848c15818a50488652bd07da2b28a401d7a96558d6db13e3f8 md5=dc4005582a6ab32227f5ff90cb480dbe  | 
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/lwt/lwt.5.1.2/opam | 
Required by
- 0install>=2.15.1
 - albatross
 - alcotest-lwt
 - alcotest-mirage
 - ambient-context-lwt
 - amqp-clientwith-test & >=1.1.0
 - amqp-client-lwt
 - angstrom-lwt-unix
 - anthill
 - anycache-lwt
 - archi-lwt
 - arp
 - awa-mirage<0.2.0
 - aws-lwt
 - aws-s3-lwt
 - awsm-lwt
 - azure-cosmos-db
 - balancer
 - bimage-lwt
 - bistro
 - brisk-reconcilerwith-dev-setup
 - brozipbuild
 - builder
 - bun>=0.3.3
 - cachet-lwt
 - calculon
 - caldav
 - camltc
 - canary
 - capnp-rpc-lwt<1.2.3
 - capnp-rpc-unix<1.2.3
 - caqti-lwt<2.0.1
 - carton-git<0.7.2
 - carton-lwt<1.0.0
 - catala-formatwith-test & >=0.2.0
 - cf-lwt
 - charrua-client
 - charrua-unix
 - cmdtui-lambda-term
 - cohttp-lwt<6.0.0~beta2
 - cohttp-lwt-jsoo!=6.1.0
 - cohttp-lwt-unix
 - cohttp-mirage
 - comby
 - comby-semantic
 - conan-lwt
 - conduit-lwt<7.0.0
 - conduit-lwt-unix<7.0.0
 - cowabloga
 - crunchwith-test
 - cstruct-lwt
 - csv-lwt
 - ctypeswith-test & >=0.15.0 & <0.21.1
 - ctypes-foreignwith-test & >=0.21.1
 - curl_lwt
 - current<0.7.1
 - current_docker<0.7.1
 - current_examples<0.7.1
 - current_git<0.7.1
 - current_github<0.7.1
 - current_gitlab<0.7.1
 - current_ocluster<0.2
 - current_slack<0.7.1
 - current_web<0.7.1
 - DkSDKFFIOCaml_Std
 - dap
 - data-encoding<0.1.1
 - datakit-server
 - devkit>=1.2
 - distributed-lwt
 - dkim-lwt-unix
 - dkim-mirage
 - dlm
 - dns-certify
 - dns-cli
 - dns-client<7.0.3
 - dns-client-lwt
 - dns-client-mirage
 - dns-forward
 - dns-forward-lwt-unix
 - dns-lwt
 - dns-mirage
 - dns-resolver
 - dns-server
 - dns-stub
 - dnssd
 - docker_hub
 - dream
 - dream-httpaf
 - dream-pure
 - dropbox
 - dunewith-dev-setup & >=3.17.2
 - elasticsearch-cli
 - emojiwith-test & =2.0.0
 - ethernet
 - ez_api
 - ezcurl-lwt
 - ezjsonm-lwt
 - ezrestowith-test
 - ezresto-directory>=0.5
 - faraday-lwt
 - faraday-lwt-unix
 - fat-filesystem
 - fiber-lwt
 - fsevents-lwt
 - fswatch_lwt
 - fuseau-lwt
 - gdbprofiler
 - git
 - git-paf
 - git-unix>=3.2.0 & <3.15.0
 - github
 - github-hooks
 - github-unix>=4.4.0
 - gitlab-unix
 - gluten-lwt
 - gluten-lwt-unix<0.4.0
 - gluten-mirage<0.4.0
 - graphql-lwt
 - gremlin
 - gufo
 - h1with-test
 - h1-lwt-unix
 - h2-lwt
 - h2-lwt-unix<0.10.0
 - h2-mirage
 - happy-eyeballs-lwt
 - happy-eyeballs-mirage
 - hiredis>=0.6
 - hl_yamlwith-test
 - http-lwt-client
 - http-multipart-formdata>=2.0.0 & <3.0.0
 - httpaf-lwt-unix
 - httpun-lwt
 - httpun-mirage
 - httpun-ws-lwt
 - hvsock
 - i3ipc
 - influxdb-lwt
 - inotifywith-test & >=2.4
 - inquire<0.3.0
 - interface-prime-lwt
 - ip2location
 - ip2locationio
 - ip2whois
 - ipv6-multicast-lwt
 - irc-client-lwt
 - irc-client-lwt-ssl
 - irc-client-tls
 - irmin<2.7.1
 - irmin-indexeddb
 - irmin-watcher
 - joolog
 - josewith-test & <0.9.0
 - js_of_ocaml-lwt>=3.5.0
 - jsoo_broadcastchannel
 - jsoo_storage
 - jupyter
 - jupyter-kernel
 - kafka<0.5
 - kafka_lwt
 - kappa-library
 - kewith-test & >=0.5
 - kinetic-client
 - kubecaml
 - lambda-runtime
 - lambda-term
 - launchd
 - learn-ocaml
 - learn-ocaml-client
 - letsencrypt
 - letsencrypt-app
 - letsencrypt-dns
 - links>=0.9.1
 - linol-lwt
 - lru_cachewith-test
 - lwt-canceler
 - lwt-dllistwith-test
 - lwt-exit
 - lwt-parallel
 - lwt-pipe
 - lwt-pipeline
 - lwt-watcher
 - lwt_camlp4
 - lwt_domain<0.3.0
 - lwt_eio<0.4
 - lwt_glib
 - lwt_log
 - lwt_ppx<5.8.0
 - lwt_react
 - lwt_ssl
 - mariadbwith-test & >=1.2.0
 - markupwith-test & =0.7.6
 - markup-lwt
 - mdxwith-test
 - mechaml
 - metrics-influx
 - metrics-lwt
 - metrics-unix
 - mindstorm-lwt
 - mirage<4.0.0
 - mirage-block>=2.0.1
 - mirage-block-ccm
 - mirage-block-combinators
 - mirage-block-lwt
 - mirage-block-ramdisk
 - mirage-block-solo5
 - mirage-block-unikraft
 - mirage-block-xen
 - mirage-channel>=4.0.1
 - mirage-channel-lwt
 - mirage-clock-lwt
 - mirage-clock-unix<4.2.0
 - mirage-console-lwt
 - mirage-crypto-rng<0.11.3
 - mirage-crypto-rng-lwt
 - mirage-crypto-rng-mirage
 - mirage-device>=2.0.0
 - mirage-flow>=3.0.0
 - mirage-flow-combinators
 - mirage-flow-lwt
 - mirage-flow-unix
 - mirage-fs>=4.0.0
 - mirage-fs-lwt
 - mirage-kv>=3.0.1
 - mirage-kv-lwt
 - mirage-kv-unix<3.0.0
 - mirage-net>=4.0.0
 - mirage-net-lwt
 - mirage-net-macosx
 - mirage-net-solo5
 - mirage-net-unikraft
 - mirage-net-unix
 - mirage-net-xen
 - mirage-profile
 - mirage-protocols>=7.0.0
 - mirage-protocols-lwt
 - mirage-runtime
 - mirage-sleep
 - mirage-solo5
 - mirage-stack=3.0.0
 - mirage-stack-lwt
 - mirage-time>=3.0.0
 - mirage-time-lwt
 - mirage-time-unix
 - mirage-types-lwt
 - mirage-unikraft
 - mirage-unix
 - mirage-vnetif
 - mirage-xen
 - monorobot
 - moonpool-lwt
 - mrmimewith-test & >=0.5.0
 - multipart-form-data
 - multipart_form>=0.2.0 & <0.4.0
 - multipart_form-lwt<0.6.0
 - mwt
 - naboris
 - nbd>=4.0.3
 - nbd-tool
 - nbd-unix
 - nocrypto
 - nottui-lwt
 - notty-communitywith-test
 - nproc
 - nsq
 - obuilder<0.4
 - obus>=1.2.1
 - ocluster<0.2
 - ocluster-api<0.2
 - ocplib-resto
 - ocsigen-start>=4.1.0 & <4.7.0
 - ocsigenserver
 - ocsipersist
 - ocsipersist-dbm
 - ocsipersist-lib
 - ocsipersist-pgsql
 - ocsipersist-sqlite
 - opam-compiler<0.2.0
 - opencage
 - opium<0.19.0
 - opium_kernel
 - opomodoro
 - order-i3-xfce
 - ordma
 - osc-lwt
 - oskel>=0.3.0
 - ounit-lwt<2.2.0
 - ounit2-lwt
 - owork
 - pafwith-test
 - paf-cohttpwith-test
 - passage<0.1.8
 - pcap-formatwith-test & <0.5.2
 - pgx_lwt
 - pgx_lwt_mirage
 - pgx_lwt_unix<2.0
 - plist-xml-lwt
 - plotkicadsch
 - ppx_deferwith-test & >=0.4.0
 - ppx_deriving_rpcwith-test
 - ppx_rapper_lwt
 - prof_spacetime
 - prometheus
 - prometheus-app
 - promise_jsoo_lwt
 - protocol-9p
 - protocol-9p-unix
 - proton
 - qcow<0.12.1
 - qcow-tool
 - qcow-types
 - qfs>=0.5
 - quests
 - rawlink<2.1
 - rawlink-lwt
 - redis-lwt
 - resource-pooling
 - resp
 - resp-mirage>=0.10.0
 - resp-unix>=0.10.0
 - restowith-test
 - resto-cohttp-client>=0.4
 - resto-cohttp-self-serving-client
 - resto-cohttp-server>=0.4
 - resto-directory>=0.4
 - riak
 - ringo-lwt
 - river
 - rpclib-js
 - rpclib-lwt
 - SZXX<2.0.0
 - sanddb
 - scgi
 - sendmail-lwt
 - sendmail-mirage
 - serial
 - session-cohttp-lwt
 - session-cookie-lwt
 - session-postgresql-lwt
 - sessions
 - shared-block-ring
 - shared-memory-ring-lwt
 - slack
 - slacko
 - slipshow
 - smtmlwith-dev-setup & >=0.7.0
 - speed
 - spin<0.6.0
 - stog<0.19.0
 - syndicwith-test & >=1.4 & <1.6.0
 - tar-unix<3.3.0
 - tcpip
 - telegraml
 - tezos-lwt-result-stdlib<12.3
 - tezos-p2p=12.3
 - timmy-lwt
 - tls>=0.10.6 & <0.16.0
 - tls-lwt<0.17.5
 - tls-mirage
 - tube
 - tuntapwith-test
 - twirp_cohttp_lwt_unix
 - uringwith-test
 - uspf
 - uspf-lwt
 - uspf-mirage
 - utop
 - uwt
 - vchan
 - vchan-unix
 - vchan-xen
 - vercel
 - vhd-format-lwt
 - vmnet
 - vpnkit
 - vue-jsoo<0.3
 - webauthndev
 - xen-evtchn
 - xen-evtchn-unix
 - xen-gnt
 - xen-gnt-unix
 - xenstore
 - xenstore-tool
 - xenstore_transport
 - xlsx2csv
 - zarr-lwt
 - zmq-lwt
 
Optionally used by
- amqp-client<2.0.0
 - anycache<0.7.4
 - aws<1.2
 - biocaml
 - bookaml
 - coq-lsp>=0.1.9+8.17
 - csv=1.6
 - debian-formats<0.1.2
 - exenum
 - ezjs_extension
 - ezjs_fetch>=0.2
 - ezjs_min>=0.2
 - faraday<0.3.0
 - hxd>=0.3.0
 - inotify
 - irc-client<0.6.0
 - logs
 - logs-syslog
 - markup<0.8.0
 - mirage-types<3.6.0
 - notty
 - notty-community
 - ocurl<transition
 - opentelemetry>=0.11
 - osc<0.2.0
 - osx-acl
 - osx-attr
 - osx-cf
 - osx-fsevents
 - osx-membership
 - osx-mount
 - osx-xattr
 - raygun4ocaml
 - rdf<0.13.0
 - sendmsg
 - session<0.4.0
 - shcaml
 - smtp
 - unix-dirent
 - unix-sys-stat>=0.4.0
 - unix-unistd
 
          

