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

Install

Authors

Maintainers

Sources

5.6.1.tar.gz
md5=279024789a0ec84a9d97d98bad847f97
sha512=698875bd3bfcd5baa47eb48e412f442d289f9972421321541860ebe110b9af1949c3fbc253768495726ec547fe4ba25483cd97ff39bc668496fba95b2ed9edd8

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: 29 Jun 2022

Dependencies (5)

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

Dev Dependencies (1)

  1. ocamlfind dev & >= "1.7.3-1"

  1. 0install >= "2.15.1"
  2. aches-lwt
  3. albatross
  4. alcotest-lwt
  5. alcotest-mirage
  6. amqp-client >= "0.9.0" & < "1.0.2" | >= "1.1.0"
  7. amqp-client-lwt >= "2.0.1"
  8. angstrom-lwt-unix >= "0.11.0"
  9. anthill
  10. anycache-lwt
  11. arakoon < "1.8.6" | >= "1.8.8"
  12. archi-lwt
  13. arp >= "2.3.1"
  14. arp-mirage >= "2.2.1"
  15. awa-lwt
  16. awa-mirage
  17. aws-lwt
  18. aws-s3-lwt
  19. azure-cosmos-db
  20. baardskeerder
  21. balancer
  22. bap < "1.0.0"
  23. bap-server < "0.2.0"
  24. bastet_lwt
  25. bimage-lwt
  26. biocaml = "0.4.0"
  27. bistro >= "0.4.0"
  28. brozip
  29. builder
  30. builder-web
  31. bun >= "0.3.3"
  32. c3
  33. calculon
  34. caldav
  35. camltc = "0.9.5" | >= "0.9.7.0"
  36. canary
  37. capnp-rpc-lwt
  38. capnp-rpc-unix >= "0.9.0"
  39. caqti-lwt >= "0.11.0"
  40. carton
  41. carton-git
  42. carton-lwt
  43. cf-lwt
  44. chamelon
  45. chamelon-unix
  46. chamo >= "3.0"
  47. channel
  48. charrua-client >= "1.3.0"
  49. charrua-client-lwt
  50. charrua-client-mirage
  51. charrua-core < "0.3"
  52. charrua-unix >= "0.3" & != "0.10"
  53. clz
  54. cmdtui-lambda-term
  55. coclobas
  56. cohttp-curl-lwt
  57. cohttp-lwt
  58. cohttp-lwt-jsoo
  59. cohttp-lwt-unix >= "1.1.1"
  60. cohttp-lwt-unix-nossl
  61. cohttp-lwt-unix-ssl
  62. cohttp-mirage
  63. cohttp-server-lwt-unix
  64. comby
  65. comby-semantic
  66. conan-lwt
  67. conduit-lwt
  68. conduit-lwt-unix
  69. cowabloga >= "0.2.2"
  70. crunch >= "2.0.0"
  71. cstruct-lwt
  72. csv-lwt
  73. csvprovider
  74. ctypes >= "0.15.0"
  75. current
  76. current-albatross-deployer
  77. current_docker
  78. current_examples
  79. current_git
  80. current_github
  81. current_gitlab
  82. current_ocluster
  83. current_rpc >= "0.4"
  84. current_slack
  85. current_web
  86. dap
  87. data-encoding < "0.1.1"
  88. datakit
  89. datakit-bridge-github
  90. datakit-bridge-local-git
  91. datakit-ci
  92. datakit-client = "0.11.0"
  93. datakit-github
  94. devkit >= "1.2"
  95. dht < "0.2.0"
  96. distributed-lwt
  97. dkim-mirage
  98. dlm
  99. dns >= "0.19.1" & < "0.20.1"
  100. dns-certify
  101. dns-cli >= "4.6.3"
  102. dns-client < "7.0.0"
  103. dns-client-lwt
  104. dns-client-mirage
  105. dns-forward >= "0.9.0"
  106. dns-forward-lwt-unix
  107. dns-lwt
  108. dns-mirage
  109. dns-resolver
  110. dns-server
  111. dns-stub
  112. dnssd
  113. docker_hub
  114. docteur >= "0.0.2"
  115. docteur-solo5
  116. docteur-unix >= "0.0.5"
  117. doi2bib
  118. dream
  119. dream-httpaf
  120. dream-pure
  121. dream-serve
  122. dropbox
  123. dune-rpc-lwt
  124. dune_watch
  125. earlybird
  126. elasticsearch-cli >= "0.4"
  127. equinoxe
  128. eris-lwt
  129. ethernet
  130. ez_api >= "1.2.0"
  131. ezcurl-lwt
  132. ezirmin
  133. ezjs_min < "0.2"
  134. ezjsonm >= "0.4.2" & < "0.5.0"
  135. ezjsonm-lwt
  136. ezresto
  137. ezresto-directory >= "0.5"
  138. faraday-lwt
  139. faraday-lwt-unix >= "0.6.0"
  140. fat-filesystem >= "0.12.0"
  141. flowtype >= "0.72.0"
  142. frenetic < "2.0.0"
  143. fsevents-lwt
  144. fswatch_lwt
  145. gamepad
  146. gdb
  147. gdbprofiler >= "0.3"
  148. git != "1.4.3" & != "1.7.2"
  149. git-cohttp
  150. git-cohttp-mirage
  151. git-cohttp-unix
  152. git-mirage >= "3.0.0"
  153. git-paf
  154. git-unix = "1.11.1" | >= "3.0.0"
  155. github
  156. github-hooks < "0.2.0" | >= "0.4.0"
  157. github-unix >= "4.4.0"
  158. gitlab-unix
  159. gitlab_pipeline_notifier
  160. gluten-lwt
  161. gluten-lwt-unix < "0.4.0"
  162. gluten-mirage < "0.4.0"
  163. graphql-lwt
  164. gremlin
  165. grpc-lwt
  166. guardian
  167. gufo
  168. h2-lwt
  169. h2-lwt-unix < "0.10.0"
  170. h2-mirage
  171. happy-eyeballs-lwt
  172. happy-eyeballs-mirage
  173. hardcaml < "1.1.0"
  174. hardcaml-examples >= "0.3.0"
  175. hardcaml-framework
  176. hiredis != "0.4"
  177. hockmd
  178. horned_worm < "0.3.1"
  179. http-lwt-client
  180. http-mirage-client
  181. http-multipart-formdata >= "2.0.0" & < "3.0.0"
  182. http2https
  183. httpaf-lwt-unix
  184. hvsock >= "1.0.2"
  185. i3ipc >= "0.1.4"
  186. imaplet-lwt
  187. influxdb-lwt
  188. inotify >= "2.4"
  189. inquire < "0.3.0"
  190. interface-prime-lwt
  191. iocaml < "0.4.6"
  192. iocaml-kernel >= "0.4.3" & < "0.4.6"
  193. iocamljs-kernel
  194. ip2location
  195. ipv6-multicast-lwt
  196. irc-client-lwt
  197. irc-client-lwt-ssl
  198. irc-client-tls
  199. irmin < "0.9.6" | = "0.9.10" | >= "0.11.0"
  200. irmin-bench
  201. irmin-chunk
  202. irmin-cli
  203. irmin-containers
  204. irmin-fs >= "2.3.0"
  205. irmin-git >= "2.3.0"
  206. irmin-graphql >= "2.3.0"
  207. irmin-http >= "2.3.0"
  208. irmin-indexeddb
  209. irmin-layers
  210. irmin-mem >= "2.3.0"
  211. irmin-mirage-git >= "2.3.0"
  212. irmin-mirage-graphql >= "2.3.0"
  213. irmin-pack
  214. irmin-test >= "2.3.0"
  215. irmin-unix >= "2.3.0"
  216. irmin-watcher >= "0.3.0"
  217. jerboa
  218. jitsu
  219. joolog
  220. jose < "0.9.0"
  221. js_of_ocaml < "2.5"
  222. js_of_ocaml-lwt >= "3.5.0"
  223. jsoo_broadcastchannel
  224. jsoo_router
  225. jsoo_storage
  226. jupyter >= "2.3.0"
  227. jupyter-kernel >= "0.4"
  228. kafka >= "0.3" & < "0.5"
  229. kafka_lwt
  230. kappa-library
  231. ke >= "0.5"
  232. ketrew >= "3.2.0"
  233. kinetic-client < "0.0.3" | >= "0.0.9"
  234. kubecaml
  235. lablqml < "0.6"
  236. lambda-runtime
  237. lambda-term >= "1.13"
  238. lambda_streams_lwt
  239. launchd
  240. ldp
  241. learn-ocaml >= "0.13.0"
  242. learn-ocaml-client >= "0.13.0"
  243. letsencrypt
  244. letsencrypt-app
  245. letsencrypt-dns
  246. letters
  247. libres3
  248. links != "0.9"
  249. linol-lwt
  250. lwt-binio < "0.2.0"
  251. lwt-canceler
  252. lwt-dllist
  253. lwt-exit
  254. lwt-parallel >= "1.0.0"
  255. lwt-pipe
  256. lwt-pipeline
  257. lwt-watcher
  258. lwt-zmq < "1.0.0"
  259. lwt_camlp4
  260. lwt_domain
  261. lwt_eio
  262. lwt_glib >= "1.0.1"
  263. lwt_log >= "1.1.0"
  264. lwt_ppx
  265. lwt_ppx_let
  266. lwt_react >= "1.0.1"
  267. lwt_ssl >= "1.0.1"
  268. mariadb < "0.5.1"
  269. markup = "0.7.6"
  270. markup-lwt
  271. mbr-format >= "1.0.0"
  272. mdx
  273. mechaml
  274. mehari-lwt-unix
  275. mehari-mirage
  276. memtrace-mirage
  277. metrics-influx
  278. metrics-lwt
  279. metrics-mirage
  280. metrics-unix
  281. mimic
  282. mindstorm-lwt
  283. mirage >= "0.4.1" & != "0.6.1" & < "0.8.0" | >= "0.10.0" & < "2.7.0"
  284. mirage-block < "1.0.0" | >= "2.0.0"
  285. mirage-block-ccm
  286. mirage-block-combinators
  287. mirage-block-lwt
  288. mirage-block-partition
  289. mirage-block-ramdisk
  290. mirage-block-solo5
  291. mirage-block-unix < "2.3.0" | = "2.8.2" | >= "2.13.0"
  292. mirage-block-xen
  293. mirage-bootvar-solo5 >= "0.2.0"
  294. mirage-bootvar-unix
  295. mirage-bootvar-xen >= "0.4.0"
  296. mirage-channel >= "4.0.0"
  297. mirage-channel-lwt
  298. mirage-clock-freestanding < "3.0.0"
  299. mirage-clock-lwt
  300. mirage-clock-unix >= "1.3.0" & < "3.0.0"
  301. mirage-console >= "3.0.0"
  302. mirage-console-lwt
  303. mirage-console-solo5 >= "0.2.0"
  304. mirage-console-unix >= "2.2.1"
  305. mirage-console-xen >= "5.0.0"
  306. mirage-console-xen-backend
  307. mirage-console-xen-cli
  308. mirage-crypto-entropy
  309. mirage-crypto-rng >= "0.7.0" & < "0.11.0"
  310. mirage-crypto-rng-lwt
  311. mirage-crypto-rng-mirage >= "0.8.8"
  312. mirage-device >= "2.0.0"
  313. mirage-dns < "3.0.0"
  314. mirage-entropy
  315. mirage-flow >= "1.0.3" & < "1.2.0" | >= "2.0.0"
  316. mirage-flow-combinators
  317. mirage-flow-lwt < "1.3.0" | >= "1.5.0"
  318. mirage-flow-rawlink
  319. mirage-flow-unix >= "1.3.0"
  320. mirage-fs >= "3.0.0"
  321. mirage-fs-lwt
  322. mirage-fs-unix < "1.1.1" | >= "1.3.0"
  323. mirage-http
  324. mirage-http-unix
  325. mirage-http-xen
  326. mirage-kv >= "3.0.0"
  327. mirage-kv-lwt
  328. mirage-kv-unix
  329. mirage-logs != "0.3.0"
  330. mirage-nat < "3.0.0"
  331. mirage-net >= "3.0.1"
  332. mirage-net-fd
  333. mirage-net-lwt
  334. mirage-net-macosx
  335. mirage-net-solo5
  336. mirage-net-unix >= "2.2.0"
  337. mirage-net-xen
  338. mirage-os-shim >= "3.0.0"
  339. mirage-profile
  340. mirage-protocols >= "4.0.0" & < "8.0.0"
  341. mirage-protocols-lwt
  342. mirage-qubes < "0.2" | >= "0.4"
  343. mirage-qubes-ipv4
  344. mirage-random-stdlib >= "0.1.0"
  345. mirage-runtime >= "3.7.0"
  346. mirage-solo5
  347. mirage-stack >= "2.0.0" & < "4.0.0"
  348. mirage-stack-lwt
  349. mirage-time >= "2.0.0"
  350. mirage-time-lwt
  351. mirage-time-unix
  352. mirage-types-lwt < "3.7.1"
  353. mirage-unix >= "3.0.0"
  354. mirage-vnetif
  355. mirage-vnetif-stack
  356. mirage-www >= "1.1.0"
  357. mirage-xen
  358. mirror
  359. monorobot
  360. mqtt >= "0.0.2"
  361. mrmime >= "0.5.0"
  362. multipart-form-data >= "0.2.0"
  363. multipart_form >= "0.2.0" & < "0.4.0"
  364. multipart_form-cohttp-lwt
  365. multipart_form-lwt
  366. mwt
  367. naboris
  368. nanomsg
  369. nbd = "2.1.1" | >= "4.0.3"
  370. nbd-tool
  371. nbd-unix
  372. netchannel
  373. nocrypto >= "0.5.4"
  374. nottui-lwt
  375. nproc
  376. nsq >= "0.4.0"
  377. obrowser
  378. obuilder
  379. obus >= "1.2.1"
  380. ocaml-variants >= "4.00.1+mirage-unix" & < "4.00.1+open-types"
  381. ocluster
  382. ocluster-api
  383. ocluster-worker
  384. ocplib-concur
  385. ocplib-resto
  386. ocsigenserver >= "2.10"
  387. ocsipersist
  388. ocsipersist-dbm
  389. ocsipersist-lib
  390. ocsipersist-pgsql
  391. ocsipersist-sqlite
  392. octez-protocol-compiler
  393. octez-proxy-server
  394. odoc >= "2.0.0" & < "2.1.0"
  395. ojquery
  396. ojs-base
  397. ojs_base
  398. omigrate
  399. oneffs
  400. opam-sync-github-prs
  401. openflow < "0.2.0"
  402. opentelemetry-client-cohttp-lwt
  403. opentelemetry-cohttp-lwt >= "0.4"
  404. opentelemetry-lwt
  405. opium >= "0.11.0" & != "0.16.0"
  406. opium-graphql
  407. opium_kernel
  408. opomodoro
  409. order-i3-xfce
  410. ordma >= "0.0.3"
  411. oskel >= "0.3.0"
  412. ounit-lwt < "2.2.0"
  413. ounit2-lwt
  414. owork
  415. ox < "1.1.0"
  416. paf
  417. paf-cohttp
  418. pcap-format >= "0.3.3" & < "0.5.0"
  419. petrol
  420. pgx_lwt
  421. pgx_lwt_mirage
  422. pgx_lwt_unix < "2.0"
  423. piaf
  424. plebeia >= "2.0.0"
  425. plist-xml-lwt
  426. plotkicadsch >= "0.4.0"
  427. ppx_defer >= "0.4.0"
  428. ppx_deriving_rpc
  429. ppx_json_types
  430. ppx_netblob
  431. ppx_rapper_lwt
  432. ppx_sqlexpr
  433. proc-smaps
  434. prof_spacetime
  435. prometheus
  436. prometheus-app
  437. protocol-9p >= "0.10.0"
  438. protocol-9p-unix
  439. qcow >= "0.8.1"
  440. qcow-format < "0.3"
  441. qcow-tool
  442. qfs = "0.5" | >= "0.7"
  443. quests
  444. rawlink >= "1.0" & < "2.1"
  445. rawlink-lwt
  446. rdf_lwt
  447. redis-lwt
  448. reparse-lwt
  449. reparse-lwt-unix
  450. resource-pooling >= "0.3.2"
  451. resp
  452. resp-mirage >= "0.10.0"
  453. resp-unix >= "0.10.0"
  454. resto
  455. resto-cohttp-client >= "0.4"
  456. resto-cohttp-self-serving-client
  457. resto-cohttp-server >= "0.4" & < "0.6" | >= "0.9"
  458. resto-directory >= "0.4"
  459. riak
  460. ringo-lwt
  461. river
  462. rock
  463. rpc >= "1.5.1" & < "7.1.0"
  464. rpclib-js
  465. rpclib-lwt
  466. SZXX
  467. sanddb
  468. scgi
  469. sendmail-lwt
  470. serial
  471. session-cohttp-lwt
  472. session-cookie-lwt
  473. session-postgresql-lwt >= "0.4.1"
  474. sessions
  475. shared-block-ring < "2.3.0" | >= "3.0.0"
  476. shared-memory-ring >= "1.2.0" & < "2.0.0"
  477. shared-memory-ring-lwt
  478. sihl < "0.2.0"
  479. slacko
  480. socket-daemon < "0.3.0"
  481. spin < "0.8.0"
  482. spoke
  483. spotify-web-api < "0.2.1"
  484. sqlexpr = "0.7.1" | >= "0.9.0"
  485. statsd-client
  486. stk
  487. stog >= "0.16.0"
  488. syguslib-utils
  489. syndic >= "1.4" & < "1.6.0"
  490. tar-format >= "0.4.1"
  491. tar-mirage
  492. tar-unix
  493. tcpip >= "3.1.1" & < "3.4.1" | >= "4.1.0"
  494. teash
  495. telegraml
  496. terminus
  497. tezos-base >= "13.0"
  498. tezos-clic >= "13.0"
  499. tezos-crypto >= "13.0"
  500. tezos-crypto-dal
  501. tezos-error-monad >= "8.0" & < "9.0" | >= "13.0"
  502. tezos-lwt-result-stdlib >= "9.0"
  503. tezos-p2p >= "11.0" & < "13.0"
  504. tezos-protocol-compiler >= "13.0"
  505. tezos-protocol-environment >= "13.0"
  506. tezos-proxy-server
  507. tezos-stdlib
  508. tezos-stdlib-unix >= "8.0" & < "9.0" | >= "13.0"
  509. tezos-test-helpers >= "12.0"
  510. tezos-wasmer
  511. tezos-webassembly-interpreter-extra
  512. tezt
  513. tftp
  514. themoviedb
  515. tidy_email
  516. tls = "0.10.1" | >= "0.10.6" & < "0.16.0"
  517. tls-lwt
  518. tls-mirage
  519. transmission-rpc
  520. tube >= "4.3.0"
  521. tuntap >= "1.0.0" & < "1.7.0" | >= "2.0.0"
  522. typerex-lldb
  523. u2f
  524. uring
  525. uspf
  526. uspf-lwt
  527. utop >= "1.4.0"
  528. uwt >= "0.3.0"
  529. vchan >= "0.9.7" & < "2.0.0" | >= "2.0.3"
  530. vchan-unix
  531. vchan-xen
  532. vercel
  533. vhd-format >= "0.7.0" & < "0.8.0"
  534. vhd-format-lwt >= "0.12.0"
  535. vhd-tool < "0.12.0"
  536. vmnet >= "1.3.2"
  537. vpnkit >= "0.2.0"
  538. vue-jsoo < "0.3"
  539. wayland
  540. webauthn
  541. websocket < "2.3"
  542. xe-unikernel-upload
  543. xen-api-client < "0.9.14"
  544. xen-block-driver
  545. xen-evtchn < "1.0.6" | >= "2.0.0"
  546. xen-evtchn-unix
  547. xen-gnt >= "2.2.3"
  548. xenctrl < "0.9.29" | >= "0.9.32"
  549. xenstore >= "1.3.0"
  550. xenstore_transport >= "1.0.0"
  551. xentropyd
  552. yurt < "0.3"
  553. zmq-lwt

Conflicts

None