package lwt

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

5.9.1.tar.gz
md5=18742da8b8fe3618e3fa700b7a884fe7
sha512=1c51fdb4d0856c89e2df08a1c0095ef28ebd0f613b07b03d0f66501ca5486515562071291e6d0932e57587ed0c9362c8b92c5c9eddb4d2bb2f5e129986b484a7

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: 15 Mar 2025

Dependencies (5)

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

Dev Dependencies (2)

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

Conflicts

None