package lwt

  1. Overview
  2. No Docs
Promises and event-driven I/O

Install

dune-project
 Dependency

Authors

Maintainers

Sources

6.0.0-alpha00.tar.gz
md5=8a88c5d5fcb01d179bbb12e6b6888dca
sha512=bfecd3fa0a3461a3368bd7724e2fce7a751ba3899d590d5b08bc4257b058ca34ec25de1a3ead6585528afe77c6ca6db1c3e2d2421d6a773c845ef091472d2ed9

Description

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.

Published: 24 Jul 2025

Dependencies (5)

  1. ocplib-endian
  2. dune-configurator
  3. cppo build & >= "1.1.0"
  4. ocaml >= "4.08" & < "5.5"
  5. dune >= "2.7"

Dev Dependencies (3)

  1. bisect_ppx with-test
  2. odoc with-doc & >= "2.3.0"
  3. ocamlfind with-dev-setup & >= "1.7.3-1"

  1. 0install >= "2.15.1"
  2. aches-lwt
  3. activitypub
  4. albatross
  5. alcotest-lwt
  6. alcotest-mirage
  7. ambient-context-lwt
  8. amqp-client >= "1.1.0"
  9. amqp-client-lwt
  10. angstrom-lwt-unix >= "0.11.0"
  11. anthill
  12. anycache-lwt
  13. archi-lwt
  14. arp
  15. awa-mirage
  16. aws-lwt
  17. aws-s3-lwt < "4.4.0" | >= "4.8.1"
  18. awsm-lwt
  19. azure-cosmos-db
  20. balancer
  21. bastet_lwt
  22. bistro
  23. brisk-reconciler
  24. brozip
  25. builder
  26. builder-web
  27. bun >= "0.3.3"
  28. cachet-lwt
  29. calculon
  30. caldav
  31. camltc
  32. canary
  33. capnp-rpc-lwt < "2.0"
  34. capnp-rpc-unix < "2.1"
  35. caqti-mirage
  36. carton < "1.0.0"
  37. carton-git
  38. carton-lwt
  39. catala-format >= "0.2.0"
  40. cf-lwt
  41. chamelon
  42. chamelon-unix
  43. chamo
  44. charrua-client
  45. charrua-unix
  46. chess_com_api
  47. ciao_lwt
  48. clz
  49. cmdtui-lambda-term
  50. coap
  51. coap-server-lwt
  52. cohttp-curl-lwt
  53. cohttp-lwt
  54. cohttp-lwt-jsoo
  55. cohttp-lwt-unix
  56. cohttp-mirage
  57. cohttp-server-lwt-unix
  58. comby
  59. comby-semantic
  60. conan-lwt
  61. conduit-lwt
  62. conduit-lwt-unix
  63. cowabloga
  64. crunch
  65. cstruct-lwt
  66. csv-lwt
  67. ctypes >= "0.15.0" & < "0.21.1"
  68. ctypes-foreign >= "0.21.1"
  69. curl_lwt
  70. current
  71. current-albatross-deployer
  72. current_docker
  73. current_examples
  74. current_git
  75. current_github
  76. current_gitlab
  77. current_ocluster
  78. current_rpc
  79. current_slack
  80. current_web
  81. dap
  82. data-encoding < "0.1.1"
  83. devkit >= "1.2"
  84. distributed-lwt
  85. dkim-bin < "0.8.0"
  86. dkim-lwt-unix
  87. dkim-mirage
  88. dlm
  89. dmarc
  90. dns-certify
  91. dns-cli
  92. dns-client < "7.0.3"
  93. dns-client-lwt
  94. dns-client-mirage
  95. dns-forward
  96. dns-forward-lwt-unix
  97. dns-lwt
  98. dns-mirage
  99. dns-resolver
  100. dns-server
  101. dns-stub
  102. dnsrobot
  103. dnssd
  104. docker_hub
  105. docteur >= "0.0.2"
  106. docteur-solo5
  107. docteur-unix >= "0.0.5"
  108. doi2bib
  109. dream
  110. dream-httpaf
  111. dream-pure
  112. dream-serve
  113. dropbox
  114. dune >= "3.17.2"
  115. dune-rpc-lwt
  116. earlybird
  117. elasticsearch-cli
  118. emoji = "2.0.0"
  119. equinoxe
  120. ethernet
  121. ez_api >= "1.2.0"
  122. ezcurl-lwt
  123. ezjs_min < "0.2"
  124. ezjsonm-lwt
  125. ezresto
  126. ezresto-directory >= "0.5"
  127. faraday-lwt
  128. faraday-lwt-unix
  129. fat-filesystem
  130. fiber-lwt
  131. fsevents-lwt
  132. fswatch_lwt
  133. gdbprofiler
  134. git
  135. git-cohttp
  136. git-cohttp-unix
  137. git-kv >= "0.2.0"
  138. git-mirage
  139. git-paf
  140. git-unix >= "3.2.0"
  141. github
  142. github-hooks
  143. github-unix >= "4.4.0"
  144. gitlab-unix
  145. gitlab_pipeline_notifier
  146. gluten-lwt
  147. gluten-lwt-unix < "0.4.0"
  148. gluten-mirage < "0.4.0"
  149. graphql-lwt
  150. gremlin
  151. grpc-lwt
  152. guardian
  153. gufo
  154. h1
  155. h1-lwt-unix
  156. h2-lwt
  157. h2-lwt-unix < "0.10.0"
  158. h2-mirage
  159. happy-eyeballs-lwt
  160. happy-eyeballs-mirage
  161. hidapi-lwt
  162. hiredis >= "0.6"
  163. hl_yaml
  164. hockmd
  165. http-lwt-client
  166. http-mirage-client
  167. http-multipart-formdata >= "2.0.0" & < "3.0.0"
  168. httpaf-lwt-unix
  169. httpun-lwt
  170. httpun-mirage
  171. httpun-ws-lwt
  172. hvsock
  173. i3ipc
  174. influxdb-lwt
  175. inotify >= "2.4"
  176. inquire < "0.3.0"
  177. interface-prime-lwt
  178. ip2location
  179. ip2locationio
  180. ip2whois
  181. ipv6-multicast-lwt
  182. irc-client-lwt
  183. irc-client-lwt-ssl
  184. irc-client-tls
  185. irmin
  186. irmin-bench
  187. irmin-chunk
  188. irmin-cli
  189. irmin-client
  190. irmin-containers
  191. irmin-fs
  192. irmin-git
  193. irmin-graphql
  194. irmin-http
  195. irmin-indexeddb
  196. irmin-layers
  197. irmin-mirage-git
  198. irmin-mirage-graphql
  199. irmin-pack
  200. irmin-server
  201. irmin-test
  202. irmin-unix
  203. irmin-watcher
  204. joolog
  205. jose < "0.9.0"
  206. js_of_ocaml-lwt >= "3.5.0"
  207. jsoo_broadcastchannel
  208. jsoo_storage
  209. jupyter
  210. jupyter-kernel
  211. kafka < "0.5"
  212. kafka_lwt
  213. kappa-library
  214. ke >= "0.5"
  215. kinetic-client
  216. kubecaml
  217. lambda-runtime
  218. lambda-term >= "3.3.3"
  219. lambda_streams_lwt
  220. launchd
  221. ldp
  222. learn-ocaml
  223. learn-ocaml-client
  224. ledgerwallet >= "0.4.0"
  225. letsencrypt < "2.0.0"
  226. letsencrypt-app
  227. letsencrypt-dns < "2.0.0"
  228. letters
  229. lichess_api
  230. links >= "0.9.1"
  231. llama
  232. lru_cache
  233. lwt-canceler
  234. lwt-dllist
  235. lwt-exit
  236. lwt-parallel
  237. lwt-pipe
  238. lwt-pipeline
  239. lwt-watcher
  240. lwt_camlp4
  241. lwt_direct != "6.0.0~beta01"
  242. lwt_ppx >= "6.0.0"
  243. lwt_react
  244. lwt_retry
  245. lwt_ssl
  246. mariadb >= "1.2.0"
  247. markdown_monolith
  248. markup = "0.7.6"
  249. markup-lwt
  250. mdx
  251. mechaml
  252. mehari-lwt-unix
  253. mehari-mirage
  254. memtrace-mirage
  255. metrics-influx
  256. metrics-lwt
  257. metrics-unix
  258. mimic
  259. mindstorm-lwt
  260. mirage < "4.0.0"
  261. mirage-block >= "2.0.1"
  262. mirage-block-ccm
  263. mirage-block-combinators
  264. mirage-block-lwt
  265. mirage-block-partition
  266. mirage-block-ramdisk
  267. mirage-block-solo5
  268. mirage-block-unikraft
  269. mirage-block-unix >= "2.14.2"
  270. mirage-block-xen
  271. mirage-channel >= "4.0.1"
  272. mirage-channel-lwt
  273. mirage-clock-lwt
  274. mirage-clock-unix < "4.2.0"
  275. mirage-console-lwt
  276. mirage-crypto-rng < "0.11.3"
  277. mirage-crypto-rng-lwt
  278. mirage-crypto-rng-mirage
  279. mirage-device >= "2.0.0"
  280. mirage-flow >= "3.0.0"
  281. mirage-flow-combinators
  282. mirage-flow-lwt
  283. mirage-flow-unix
  284. mirage-fs >= "4.0.0"
  285. mirage-fs-lwt
  286. mirage-kv >= "3.0.1"
  287. mirage-kv-lwt
  288. mirage-kv-unix
  289. mirage-net >= "4.0.0"
  290. mirage-net-lwt
  291. mirage-net-macosx
  292. mirage-net-solo5
  293. mirage-net-unikraft
  294. mirage-net-unix
  295. mirage-net-xen
  296. mirage-profile
  297. mirage-protocols >= "7.0.0"
  298. mirage-protocols-lwt
  299. mirage-qubes
  300. mirage-qubes-ipv4
  301. mirage-runtime
  302. mirage-sleep
  303. mirage-solo5
  304. mirage-stack = "3.0.0"
  305. mirage-stack-lwt
  306. mirage-time >= "3.0.0"
  307. mirage-time-lwt
  308. mirage-time-unix
  309. mirage-types-lwt
  310. mirage-unikraft
  311. mirage-unix
  312. mirage-vnetif
  313. mirage-xen
  314. monorobot
  315. mqtt
  316. mrmime >= "0.5.0"
  317. multipart-form-data
  318. multipart_form >= "0.2.0" & < "0.4.0"
  319. multipart_form-cohttp-lwt < "0.6.0"
  320. multipart_form-lwt
  321. naboris
  322. nbd >= "4.0.3"
  323. nbd-tool
  324. nbd-unix
  325. neo4j_bolt
  326. nottui-lwt
  327. notty-community
  328. nproc
  329. nsq
  330. obuilder
  331. obus >= "1.2.1"
  332. ocluster-api
  333. ocluster-worker
  334. ocplib-resto
  335. ocsigenserver
  336. ocsipersist
  337. ocsipersist-dbm
  338. ocsipersist-lib
  339. ocsipersist-pgsql
  340. ocsipersist-sqlite
  341. oframl
  342. ojs_base
  343. omigrate
  344. oneffs
  345. opam-check-npm-deps >= "4.1.0"
  346. opam-publish >= "3.0.0"
  347. opencage
  348. opentelemetry-client-cohttp-lwt
  349. opentelemetry-client-ocurl-lwt
  350. opentelemetry-cohttp-lwt >= "0.4"
  351. opentelemetry-lwt
  352. opium
  353. opium-graphql
  354. opium_kernel
  355. opomodoro
  356. order-i3-xfce
  357. ordma
  358. oskel >= "0.3.0"
  359. ounit-lwt < "2.2.0"
  360. ounit2-lwt
  361. owork
  362. ozulip
  363. paf
  364. paf-cohttp
  365. passage < "0.1.8"
  366. pcap-format < "0.5.2"
  367. petrol
  368. pgn_parser
  369. pgx_lwt
  370. pgx_lwt_mirage
  371. pgx_lwt_unix < "2.0"
  372. piaf < "0.2.0"
  373. picos_meta
  374. plebeia >= "2.0.0"
  375. plotkicadsch
  376. posix-getopt >= "4.0.2"
  377. ppx_defer >= "0.4.0"
  378. ppx_deriving_rpc
  379. ppx_rapper_lwt
  380. proc-smaps
  381. prof_spacetime
  382. prometheus
  383. prometheus-app
  384. promise_jsoo_lwt
  385. protocol-9p
  386. protocol-9p-unix
  387. proton
  388. pxshot
  389. qcow
  390. qcow-stream
  391. qcow-tool
  392. qcow-types
  393. qdrant < "0.2.0"
  394. qfs >= "0.5"
  395. quests
  396. quickterface
  397. rawlink < "2.1"
  398. rawlink-lwt
  399. rdf_json_ld
  400. rdf_lwt
  401. redis-lwt
  402. reparse-lwt
  403. reparse-lwt-unix
  404. resource-pooling
  405. resp
  406. resp-mirage >= "0.10.0"
  407. resp-unix >= "0.10.0"
  408. resto
  409. resto-cohttp-client >= "0.4"
  410. resto-cohttp-self-serving-client
  411. resto-cohttp-server >= "0.4" & < "0.6" | >= "0.9"
  412. resto-directory >= "0.4"
  413. riak
  414. ringo-lwt
  415. river
  416. rock
  417. rpclib-js
  418. rpclib-lwt
  419. SZXX < "4.0.0"
  420. sanddb
  421. scgi
  422. sendmail-lwt
  423. sendmail-mirage
  424. serial
  425. server-reason-react
  426. session-cohttp-lwt
  427. session-cookie-lwt
  428. session-postgresql-lwt
  429. sessions
  430. shared-block-ring
  431. shared-memory-ring-lwt
  432. sherlodoc
  433. sihl < "0.2.0"
  434. slack
  435. slacko
  436. slipshow
  437. smtml >= "0.7.0"
  438. speed
  439. spin < "0.8.0"
  440. spoke
  441. statocaml
  442. stk
  443. stog
  444. swapfs
  445. syguslib-utils
  446. syndic >= "1.4" & < "1.6.0"
  447. tar-mirage
  448. tar-unix
  449. tcpip
  450. telegraml
  451. terminus
  452. testcontainers
  453. testo-lwt
  454. tidy_email
  455. timmy-lwt
  456. tls >= "0.10.6" & < "0.16.0"
  457. tls-lwt
  458. tls-mirage
  459. tube
  460. tuntap
  461. twirp_cohttp_lwt_unix
  462. uring
  463. uspf
  464. uspf-lwt
  465. uspf-mirage
  466. utcp
  467. utop
  468. uwt
  469. vchan
  470. vchan-unix
  471. vchan-xen
  472. vercel
  473. vhd-format-lwt
  474. vmnet
  475. vue-jsoo < "0.3"
  476. wayland < "2.0"
  477. webauthn
  478. xen-evtchn
  479. xen-evtchn-unix
  480. xen-gnt
  481. xen-gnt-unix
  482. xenstore
  483. xenstore-tool
  484. xenstore_transport
  485. xlsx2csv
  486. yocaml_git
  487. yocaml_unix < "2.0.0"
  488. zarr-lwt
  489. zmq-lwt >= "5.2.1"

Conflicts

None