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.
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 |
Maintainers | Anton Bachin <antonbachin@yahoo.com>, Mauricio Fernandez <mfp@acm.org> and Simon Cruanes <simon.cruanes.2007@m4x.org> |
Dependencies | |
Optional dependencies | |
Conflicts |
|
Source [http] | https://github.com/ocsigen/lwt/archive/4.2.1.tar.gz sha256=6663be42156c7224c4d2c57842e669d99895dbeb87ebeb46deb90c5a0f0830c1 md5=9d648386ca0a9978eb9487de36b781cc |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/lwt/lwt.4.2.1-1/opam |
Required by
- 0install>=2.14
- albatross
- alcotest-lwt
- alcotest-mirage
- ambient-context-lwt
- amqp-clientwith-test & (>=0.9.0 & <1.0.2 | >=1.1.0)
- amqp-client-lwt>=2.0.1
- angstrom-lwt-unix
- anthill
- anycache-lwt
- arakoon<1.8.6 | >=1.8.8
- archi-lwt
- arp>=2.3.1
- arp-mirage
- awa-lwt
- awa-mirage<0.2.0
- aws-lwt
- aws-s3-lwt
- awsm-lwt
- azure-cosmos-db
- baardskeerder
- balancer
- bap<1.0.0
- bap-server!=0.2.0
- bimage-lwt
- biocaml=0.4.0
- bistro>=0.4.0
- brozipbuild
- builder
- bun>=0.3.3
- c3
- calculon
- caldav
- camltc=0.9.5 | >=0.9.7.0
- canary
- capnp-rpc-lwt<1.2.3
- capnp-rpc-unix>=0.9.0 & <1.2.3
- caqti-lwt>=0.11.0 & <2.0.1
- carton-git<0.7.2
- carton-lwt
- cf-lwt
- channel
- charrua-client>=1.3.0
- charrua-client-lwt
- charrua-client-mirage
- charrua-core<0.3
- charrua-unix>=0.3 & !=0.10
- cmdtui-lambda-term
- coclobas
- cohttp-lwt<6.0.0~alpha2
- cohttp-lwt-jsoo
- cohttp-lwt-unix>=1.1.1
- cohttp-lwt-unix-nossl
- cohttp-lwt-unix-ssl
- cohttp-mirage
- comby
- comby-semantic
- conan-lwt
- conduit-lwt<7.0.0
- conduit-lwt-unix<7.0.0
- core-lwt>=0.3.0
- cowabloga>=0.2.2
- crunchwith-test & >=2.0.0
- cstruct-lwt
- csv-lwt
- csvprovider
- ctypeswith-test & >=0.15.0 & <0.21.1
- ctypes-foreignwith-test & >=0.21.1
- current_docker<0.6.4
- current_examples<0.6.4
- current_git<0.6.4
- current_github<0.6.4
- current_gitlab<0.6.4
- current_ocluster<0.2
- current_slack<0.6.4
- current_web<0.6.4
- dap
- data-encoding<0.1.1
- datakit
- datakit-bridge-github
- datakit-bridge-local-git
- datakit-ci
- datakit-client>=0.11.0
- datakit-github
- datakit-server
- devkit>=0.6
- dht<0.2.0
- distributed-lwt
- dkim-mirage
- DkSDKFFIOCaml_Std
- dlm
- dnswith-test & >=0.19.1 & <0.20.1
- dns-certify
- dns-cli>=4.6.3
- dns-client<7.0.0
- dns-client-lwt
- dns-client-mirage
- dns-forward>=0.9.0
- dns-forward-lwt-unix
- dns-lwt
- dns-mirage
- dns-resolver
- dns-server
- dns-stub
- dnssd
- docker_hub
- dream
- dream-httpaf
- dream-pure
- dropbox
- dune_watch
- earlybird<1.0.0
- elasticsearch-cli>=0.4
- eris-lwt
- ethernet
- ez_api
- ezcurl-lwt
- ezirmin
- ezjsonmwith-test & >=0.4.2 & <0.5.0
- ezjsonm-lwt
- ezrestowith-test
- ezresto-directory
- faraday-lwt
- faraday-lwt-unix>=0.6.0
- fat-filesystem>=0.12.0
- fiber-lwt
- flowtype>=0.72.0
- frenetic<2.0.0
- fswatch_lwt
- fuseau-lwt
- gamepad
- gdb
- gdbprofiler>=0.3
- git!=1.4.3 & !=1.7.2
- git-paf
- git-unix=1.11.1 | >=3.0.0 & <3.10.0
- github
- github-hooks<0.2.0 | >=0.4.0
- github-unix>=4.4.0
- gitlab-unix
- gluten-lwt<0.4.0
- gluten-lwt-unix<0.4.0
- gluten-mirage<0.4.0
- graphql-lwt
- gremlin
- gufo
- h1with-test
- h1-lwt-unix
- h2-lwt<0.10.0
- h2-lwt-unix<0.10.0
- h2-mirage
- happy-eyeballs-lwt
- happy-eyeballs-mirage
- hardcaml<1.1.0
- hardcaml-examples>=0.3.0
- hardcaml-framework
- hiredis
- hl_yamlwith-test
- horned_worm<0.3.1
- http-lwt-client
- http-multipart-formdata>=2.0.0 & <3.0.0
- http2https
- httpaf-lwt-unix
- httpun-lwt
- httpun-mirage
- httpun-ws-lwt
- hvsock>=1.0.2
- i3ipc>=0.1.4
- imaplet-lwt
- influxdb-lwt
- inotifywith-test & >=2.4
- inquire<0.3.0
- interface-prime-lwt
- iocaml<0.4.6
- iocaml-kernel>=0.4.3 & <0.4.6
- iocamljs-kernel
- ip2location
- ip2locationio
- ip2whois
- ipv6-multicast-lwt
- irc-client-lwt
- irc-client-lwt-ssl
- irc-client-tls
- irmin<0.9.6 | =0.9.10 | >=0.11.0 & <2.7.0
- irmin-bench<2.7.0
- irmin-chunk<2.7.0
- irmin-containers<2.7.0
- irmin-fs>=2.3.0 & <2.7.0
- irmin-git>=2.3.0 & <2.7.0
- irmin-graphql>=2.3.0 & <2.7.0
- irmin-http>=2.3.0 & <2.7.0
- irmin-indexeddb
- irmin-layers<2.7.0
- irmin-mem>=2.3.0
- irmin-mirage-git>=2.3.0 & <2.7.0
- irmin-mirage-graphql>=2.3.0 & <2.7.0
- irmin-pack<2.7.0
- irmin-test>=2.3.0 & <2.7.0
- irmin-unix>=2.3.0 & <2.7.0
- irmin-watcher>=0.3.0
- jerboa
- jitsu
- joolog
- josewith-test & <0.9.0
- js_of_ocaml<2.5
- js_of_ocaml-lwt>=3.2.0
- jsoo_broadcastchannel
- jsoo_router
- jsoo_storage
- jupyter>=2.3.0
- jupyter-kernel>=0.4
- kafka>=0.3 & <0.5
- kafka_lwt
- kappa-library
- kewith-test & >=0.5
- ketrew>=3.2.0
- kinetic-client<0.0.3 | >=0.0.9
- kubecaml
- lablqmlwith-test & <0.6
- lambda-runtime
- lambda-term>=1.13
- launchd
- learn-ocaml>=0.13.0
- learn-ocaml-client>=0.13.0
- letsencrypt
- letsencrypt-app
- letsencrypt-dns
- libres3
- links<0.9.5
- lru_cachewith-test & <v0.16.0
- lwt-binio
- lwt-canceler
- lwt-dllistwith-test
- lwt-exit
- lwt-parallel>=1.0.0
- lwt-pipe
- lwt-pipeline
- lwt-watcher
- lwt-zmq<1.0.0 | >=2.0.1
- lwt_camlp4
- lwt_domain<0.3.0
- lwt_eio<0.4
- lwt_glib>=1.0.1
- lwt_log>=1.1.0
- lwt_named_threads
- lwt_ppx
- lwt_ppx_let
- lwt_react>=1.0.1
- lwt_ssl>=1.0.1
- mariadb<0.5.1
- markupwith-test & =0.7.6
- markup-lwt
- mdxwith-test
- mechaml
- metrics-influx
- metrics-lwt
- metrics-mirage
- metrics-unix
- mindstorm-lwt
- mirage>=0.4.1 & !=0.6.1 & <0.8.0 | >=0.10.0 & <2.7.0
- mirage-block<1.0.0 | >=2.0.0
- mirage-block-ccm
- mirage-block-combinators
- mirage-block-lwt
- mirage-block-ramdisk
- mirage-block-solo5
- mirage-block-unix<2.3.0 | =2.8.2
- mirage-block-xen
- mirage-bootvar-solo5>=0.2.0
- mirage-bootvar-unix
- mirage-bootvar-xen>=0.4.0
- mirage-channel>=4.0.0
- mirage-channel-lwt
- mirage-clock-freestanding<3.0.0
- mirage-clock-lwt
- mirage-clock-unix>=1.2.0 & <3.0.0
- mirage-console>=2.1.1 & <2.2.0 | >=3.0.0
- mirage-console-lwt
- mirage-console-solo5>=0.2.0
- mirage-console-unix>=2.2.1
- mirage-console-xen>=5.0.0
- mirage-console-xen-backend
- mirage-console-xen-cli
- mirage-crypto-entropy
- mirage-crypto-rng>=0.7.0 & <0.11.0
- mirage-crypto-rng-lwt
- mirage-crypto-rng-mirage>=0.8.8
- mirage-device>=2.0.0
- mirage-dns<3.0.0
- mirage-entropy
- mirage-flow>=1.0.3 & <1.2.0 | >=2.0.0
- mirage-flow-combinators
- mirage-flow-lwt
- mirage-flow-rawlink
- mirage-flow-unix
- mirage-fs>=3.0.0
- mirage-fs-lwt
- mirage-fs-unix<1.1.1 | >=1.3.0
- mirage-http
- mirage-http-unix
- mirage-http-xen
- mirage-kv>=3.0.0
- mirage-kv-lwt
- mirage-kv-unix<3.0.0
- mirage-logswith-test
- mirage-natwith-test & <3.0.0
- mirage-net>=3.0.1
- mirage-net-fd
- mirage-net-lwt
- mirage-net-macosx
- mirage-net-solo5
- mirage-net-unix>=2.2.0
- mirage-net-xen
- mirage-os-shim>=3.0.0
- mirage-profile
- mirage-protocols>=4.0.0 & <8.0.0
- mirage-protocols-lwt
- mirage-qubes<0.2 | >=0.4 & <0.9.4
- mirage-qubes-ipv4<0.9.4
- mirage-random-stdlib>=0.1.0
- mirage-runtime>=3.7.0
- mirage-solo5
- mirage-stack>=2.0.0 & <4.0.0
- mirage-stack-lwt
- mirage-time>=2.0.0
- mirage-time-lwt
- mirage-time-unix
- mirage-types-lwt<3.7.1
- mirage-unix>=3.0.0
- mirage-vnetif
- mirage-vnetif-stack
- mirage-www>=1.1.0
- mirage-xen
- mirror
- moonpool-lwt
- mqtt=0.0.2
- mrmimewith-test & >=0.5.0
- multipart-form-data>=0.2.0
- multipart_form>=0.2.0 & <0.4.0
- multipart_form-lwt<0.6.0
- mwt
- naboris<0.1.1
- named-pipe>=0.3
- nanomsgwith-test
- nbd=2.1.1 | >=3.0.0
- nbd-tool
- nbd-unix
- netchannel
- nocrypto>=0.5.4
- noisewith-test
- nottui-lwt
- nproc
- nsq>=0.4.0
- obrowser
- obuilder<0.4
- obus>=1.1.8 & <1.2.1
- ocaml-variantspost & >=4.00.1+mirage-unix & <4.00.1+open-types
- ocluster<0.2
- ocluster-api<0.2
- ocplib-concur
- ocplib-resto
- ocsigen-start>=4.1.0 & <4.7.0
- ocsigenserver>=2.10
- ocsipersist
- ocsipersist-dbm
- ocsipersist-lib
- ocsipersist-pgsql
- ocsipersist-sqlite
- odocwith-test & >=2.0.0 & <2.1.0
- ojquery
- ojs-base<0.6.0
- opam-compiler<0.2.0
- opam-publish=0.3.5
- opam-sync-github-prsbuild
- openflow<0.2.0
- opium>=0.11.0 & !=0.16.0 & <0.19.0
- opium_kernel
- opomodoro
- order-i3-xfce
- ordma>=0.0.3
- osc-lwt
- oskel>=0.3.0
- ounit-lwt<2.2.0
- ounit2-lwt
- owork
- ox<1.1.0
- pafwith-test
- paf-cohttpwith-test
- passage
- pcap-formatwith-test & >=0.3.3 & <0.5.0
- pgx_lwt
- pgx_lwt_mirage
- pgx_lwt_unix<2.0
- plotkicadsch>=0.4.0
- ppx_deferwith-test & >=0.4.0
- ppx_deriving_rpcwith-test
- ppx_json_types
- ppx_netblobbuild
- ppx_rapper_lwt
- ppx_sqlexprwith-test
- prof_spacetime
- prometheus
- prometheus-app
- promise_jsoo_lwt
- protocol-9p>=0.10.0
- protocol-9p-unix
- qcow>=0.8.1
- qcow-format<0.3
- qcow-tool
- qfs=0.5 | >=0.7
- quests
- rawlink>=1.0 & <2.1
- rawlink-lwt
- redis-lwt
- resource-pooling>=0.3.2
- resp
- resp-mirage>=0.10.0
- resp-unix>=0.10.0
- restowith-test
- resto-cohttp-client
- resto-cohttp-self-serving-client
- resto-cohttp-server
- resto-directory
- riak
- ringo-lwt
- river
- rpc>=1.5.1 & <7.1.0
- rpclib-js
- rpclib-lwt
- sanddb
- scgi
- sendmail-lwt
- sendmail-mirage
- serial
- session-cohttp-lwt
- session-cookie-lwt
- session-postgresql-lwt>=0.4.1
- sessions
- shared-block-ring<2.3.0 | >=3.0.0
- shared-memory-ring>=1.2.0 & <2.0.0
- shared-memory-ring-lwt
- slacko
- slipshow
- socket-daemon<0.3.0
- speed
- spin<0.6.0
- spotify-web-api<0.2.1
- sqlexpr=0.7.1 | >=0.9.0
- statsd-client
- stog>=0.16.0 & <0.19.0
- syndicwith-test & >=1.4 & <1.6.0
- tar-formatwith-test & >=0.4.1
- tar-mirage<2.2.0
- tar-unix<3.0.0
- tcpip>=3.1.1
- teash
- telegraml
- tezos-p2p<8.0 | >=11.0 & <13.0
- tezos-stdlib<9.3
- tezos-stdlib-unix<9.0
- tftp
- themoviedb
- timmy-lwt
- tls>=0.10.1 & <0.16.0
- tls-lwt<0.17.4
- tls-mirage
- tlstunnel>=0.2.0
- transmission-rpc
- tube>=4.3.0
- tuntapwith-test & >=1.0.0 & <2.0.0
- twirp_cohttp_lwt_unix
- typerex-lldb
- u2fdev
- uspf
- uspf-lwt
- uspf-mirage
- utop>=1.4.0
- uwt>=0.3.0
- vchan>=0.9.7 & <2.0.0 | >=2.0.3
- vchan-unix
- vchan-xen
- vercel
- vhd-format>=0.7.0 & <0.8.0
- vhd-format-lwt>=0.12.0
- vhd-tool<0.12.0
- vmnet>=1.3.2
- vpnkit>=0.2.0
- vue-jsoo<0.3
- webauthndev
- websocket<2.3
- xe-unikernel-upload
- xen-api-client<0.9.14
- xen-block-driver
- xen-evtchn!=1.0.6
- xen-evtchn-unix
- xen-gnt>=2.2.3
- xen-gnt-unix>=4.0.2
- xenctrl<0.9.29 | >=0.9.32
- xenstore>=1.3.0
- xenstore_transport>=1.0.0
- xentropyd
- xlsx2csv
- yurt<0.3
- zarr-lwt
- zbar
- zmq-lwt
Optionally used by
- amqp-client>=1.0.2 & <2.0.0
- angstrom<0.6.0
- anycache<0.7.4
- arp<1.0.0
- aws>=1.0.0 & <1.2
- biocaml>=0.5.0
- bitcoin>=1.1 & <2.0
- bookaml
- cohttp!=0.11.1 & <0.99.0
- conduit<1.0.0
- containers>=0.6 & <0.13
- coq-lsp>=0.1.9+8.17
- cstruct>=0.7.0 & <3.0.0
- csv=1.6
- d3build & <0.2.0
- debian-formats<0.1.2
- dns>=0.5.0 & <0.6.1 | >=0.19.1 & <1.0.0
- dnscurve
- exenum>=0.7
- ezjs_extension
- ezjs_fetch>=0.2
- ezjs_min>=0.2
- ezjsonm>=0.2.0 & <0.5.0
- faraday<0.3.0
- future
- hardcaml=1.2.0
- hxd>=0.3.0
- imap<1.0
- inotify>=2.0
- irc-client<0.6.0
- kafka<0.3
- logs>=0.5.0
- logs-syslog
- markup<0.8.0
- mirage-types>=1.1.0 & <3.0.0
- mongo
- nanomsg
- nocrypto>=0.4.0 & <0.5.4
- notty
- ocurl>=0.7.0
- openflow=0.2.0
- osc<0.2.0
- osx-acl
- osx-attr
- osx-cf
- osx-fsevents
- osx-membership
- osx-mount
- osx-xattr
- raygun4ocaml
- rdf>=0.9.0 & <0.13.0
- redis<0.3.4
- sendmsg
- session<0.4.0
- shcaml>=0.2.0
- smtp
- stog>=0.13.0 & <0.16.0
- tar-format>=0.2.0
- tls<0.10.1
- unix-dirent
- unix-fcntl>=0.3.0
- unix-sys-stat>=0.4.0
- unix-unistd
- websocket>=2.3 & <2.10